-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
197 lines (187 loc) · 3.74 KB
/
style.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
*{
margin:0;
padding:0;
font-family:sans-serif;
}
.hero{
height:100vh;
background-image:linear-gradient(rgb(0,0,0,0.8),rgb(0,0,0,0.8)),
url("bg1.jpg");
background-position:center;
background-size:cover;
overflow-x:hidden;
position:relative;
}
.nav-bar{
display:flex;
padding:40px 120px;
justify-content:center;
align-items:center;
}
.nav-logo img{
border-radius:30px;
}
.nav-links{
flex:1;
}
.nav-links ul{
margin-left:50px;
display:inline;
}
.nav-links ul li{
list-style:none;
display:inline-block;
padding:8px 25px;
}
.nav-links ul a{
color:white;
text-decoration:none;
font-size:13px;
}
.nav-links ul li::after{
content:"";
width:0;
height:2px;
background:yellow;
display:block;
margin:auto;
transition:.5s;
}
.nav-links ul li:hover::after{
width:100%
}
.btn{
padding: 10px 20px;
border:0;
background:yellow;
font-weight:bold;
cursor:pointer;
}
.nav-links .btn{
float:right;
}
.banner-title{
margin:120px;
color:#fff;
}
.banner-title h1{
font-size:64px;
margin-bottom:30px;
}
.banner-title h1 span{
color:yellow;
}
.vertical-bar{
height:100%;
background:#000;
top:0;
left:0;
position:absolute;
}
.search-icon{
height:60%;
width:70px;
}
.search-icon .fa{
font-size:25px;
color:white;
display:block;
cursor:pointer;
margin:45px 23px;
}
.social-icon {
height:35%;
width:70px;
background:yellow;
text-align:center;
padding-top:27%;
bottom:0;
position:absolute;
}
.social-icon .fa{
margin:15px 23px;
display:block;
padding:8px;
}
.notifications{
display:flex;
width:400px;
right:0;
bottom:0;
position:absolute;
background:yellow;
align-items:center;
}
.contents{
flex-basis:50%;
padding:10px;
}
.notifications-img{
flex-basis:50%;
}
.notifications-img img{
width:100%;
}
.contents a{
text-decoration:none;
color:#000;
font-size:13px;
margin:0 10px;
}
.contents p{
text-align:right;
margin-top:10px;
}
.nav-bar .fa{
display:none;
}
@media (max-width:700px){
.vertical-bar{
display:none;
}
.banner-title{
font-size:50px;
}
.notifications{
width:100%;
}
.nav-bar{
padding:10px 30px;
}
.fa-bars{
position:absolute;
right:20px;
top:10px;
}
.nav-bar .fa{
display:block;
color:white;
margin:10px 25px;
font-size:22px;
cursor:pointer;
}
.nav-links{
height:100vh;
width:200px;
background:#000;
top:0;
right:-200px;
position:absolute;
text-align:left;
z-index:2;
transition:0.5s;
}
.nav-links ul a{
display:block;
}
.nav-links .btn{
float:none;
margin-left:25px;
margin-left:10px;
}
.banner-title h1{
font-size:30px;
margin:0;
padding:0;
}
}