-
Notifications
You must be signed in to change notification settings - Fork 0
/
samstyle.css
334 lines (324 loc) · 5.67 KB
/
samstyle.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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
list-style-type: none;
text-decoration: none;
}
nav{
display: flex;
height: 80px;
width: 100%;
background: #1b1b1b;
align-items: center;
justify-content: space-between;
padding: 0 50px 0 100px;
flex-wrap: wrap;
}
nav .logo{
color: #fff;
font-size: 35px;
font-weight: 600;
}
nav ul{
display: flex;
flex-wrap: wrap;
list-style: none;
}
nav ul li{
margin: 0 5px;
}
nav ul li a{
color: #f2f2f2;
text-decoration: none;
font-size: 18px;
font-weight: 500;
padding: 8px 15px;
border-radius: 5px;
letter-spacing: 1px;
transition: all 0.3s ease;
}
nav ul li a.active,
nav ul li a:hover{
color: #111;
background: #fff;
}
nav .menu-btn i{
color: #fff;
font-size: 22px;
cursor: pointer;
display: none;
}
input[type="checkbox"]{
display: none;
}
@media (max-width: 1000px){
nav{
padding: 0 40px 0 50px;
}
}
@media (max-width: 920px) {
nav .menu-btn i{
display: block;
}
#click:checked ~ .menu-btn i:before{
content: "\f00d";
}
nav ul{
position: fixed;
top: 80px;
left: -100%;
background: #111;
height: 100vh;
width: 100%;
text-align: center;
display: block;
transition: all 0.3s ease;
}
#click:checked ~ ul{
left: 0;
}
nav ul li{
width: 100%;
margin: 40px 0;
}
nav ul li a{
width: 100%;
margin-left: -100%;
display: block;
font-size: 20px;
transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#click:checked ~ ul li a{
margin-left: 0px;
}
nav ul li a.active,
nav ul li a:hover{
background: none;
color: red;
}
}
hr{
height: 1px;
background-color: #ccc;
border: none;
width: 100%;
}
.heading h1{
text-align: center;
align-items: center;
color: white;
background-color: black;
font-weight: bold;
padding: 20px;
font-size: 100px;
font-family: 'Fjalla One', sans-serif;
}
.grid{
display:grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows:1fr 1fr ;
background-color: black;
}
.news{
border: 3px solid grey;
padding:30px;
}
.news img{
width:100%;
}
.news h2,h4{
color:white;
font-weight: bold;
}
.news p{
color:grey;
}
.more{margin:0;
padding:0;
height:100vh;
width:100%;
background-image: url(more.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
display:flex;
flex-direction: column;
}
.data{
width:80%;
padding:100px;
color:gray;
}
.data h1{
font-size: 57px;
margin:60px;
color:black;
text-align: center;
}
.data p{
color:blue;
font-size: 28px;
margin-left: 66px;
}
.data a:hover{
color:white;
background: black;
}
.data .ctn{
color:aquamarine;
border: 2px solid white;
border-radius: 30px;
margin-left:66px;
padding: 20px;
background-color: purple;
}
footer{
background-color:black;
color:red;
}
footer p{
color:gray;
}
footer .container{
width:90%;
margin:0 auto;
display:flex;
padding:50px 0;
}
.about{
padding:0 15px;
}
.about, .contact{
width:40%;
}
.links{
width:20%;
}
.container h2{
margin-bottom: 20px;
}
.social{
margin-top: 30px;
}
.social ul{
display:flex;
}
.social ul li a{
display: inline-block;
margin-right: 50px;
width: 50px;
height: 50px;
padding-top: 15px;
background-color: transparent;
border: 1px solid gray;
text-align: center;
border-radius: 50%;
}
.social ul li a:hover{
color:black;
background-color: red;
}
.links ul li a{
color:gray;
}
.links ul li{
margin-bottom: 15px;
font-size: 20px;
}
.links ul li a:hover{
color:white;
}
.contact ul li{
display: flex;
align-items: center;
margin-bottom: 15px;
}
.contact ul li span{
margin-right:15px;
}
.contact ul li a{
color:gray;
}
@media screen and(max-width:992px) {
.about,.contact{
width:35%;
}
.links{
width:30%;
}
}
@media screen and (max-width:767px) {
.about,.contact,.links{
width:100%;
margin-bottom:30px;
}
.container{
flex-direction: column;
}
}
@media screen and (max-width:1080px){
.social ul li a{
margin-right: 10px;
}
}
@media only screen and (min-width: 350px) and (max-width: 614px){
.navbar ul li{
margin:10px;
padding: 5px;
}
}
@media only screen and (max-width: 350px){
.navbar ul li{
margin:5px;
padding: 4px;
}
}
@media only screen and (max-width: 300px){
.navbar ul li{
margin:5px;
padding: 4px;
font-size:15px ;
}
}
@media only screen and (max-width: 379px){
.heading h1{
font-size: 70px;
}
}
@media screen and (max-width:860px){
.content .item1{
width:100%;
}
.content .item{
width:100%;
}
}
@media only screen and (max-width: 950px){
.data p{
font-size: 20px;
width:60%;
}
.data h1{
font-size: 40px;
}
}
@media only screen and (max-width: 970px){
.data{
width:100%;
padding: 20px;
}
}
@media only screen and (max-width: 760px){
.data{
width:100%;
padding: 20px;
}
}
@media only screen and (max-width: 690px){
.grid{
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
}
}