-
Notifications
You must be signed in to change notification settings - Fork 0
/
story.css
93 lines (93 loc) · 1.65 KB
/
story.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
body{
margin: 0;
padding: 0;
}
header{
position: relative;
background-color: black;
}
header > img{
width: 100%;
opacity: 0.5;
}
nav{
position: absolute;
top: 10px;
color: white;
/* padding-left: 20px;
padding-right: 20px; */
}
nav > ul{
display: flex;
margin-left:150px ;
}
.logo{
position: absolute;
margin-left: 80px;
top: 8px;
width: 10%;
}
.srch{
position: absolute;
margin-left:770px;
top: 20px;
width: 30%;
}
nav > ul > li{
text-decoration: none;
list-style: none;
padding: 5px 20px;
}
ul > li > a{
text-decoration: none;
color:white;
padding:5px 10px ;
font-family: 'Dancing Script', cursive;
font-size: 25px;
font-weight: bold;
border-radius: 25px;
}
li>a:hover{
background-color: white;
color: black;
}
header > h1{
position: absolute;
font-family: 'Satisfy', cursive;
font-size: 90px;
margin-left: 90px;
top: 40px;
color: white;
}
header > p{
position: absolute;
font-family: 'Dancing Script', cursive;;
font-size: 30px;
margin-left: 60px;
top: 220px;
color: white;
font-weight: bold;
text-align: center;
margin-right: 50px;
}
header > a{
position: absolute;
top: 490px;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
background-color: white;
color: black;
font-family: 'Dancing Script', cursive;
font-size: 20px;
font-weight: bold;
padding: 12px 24px;
border: none;
cursor: pointer;
border-radius: 25px;
text-decoration: none;
}
header > a:hover{
color: white;
background-color: black;
}