-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponsiveStyle.css
81 lines (65 loc) · 1.23 KB
/
responsiveStyle.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
@media screen and (max-width: 667px) { /*Mobile*/
.big-news {
display: block;
}
.bigNewsImg {
width: 100%;
height: 100%;
}
.bigNewsText {
width: 100%;
padding: 0px;
}
.other-news{
display: block;
}
.tnLogo {
height: 2.5em;
}
.burger {
display: block;
width: 40px;
margin-right: 50px;
}
.mainNavbar {
display: none;
margin-right: 12px;
position: absolute;
right: 0;
top: 86px;
background: #f1f1f1;
}
.mainNavbar li {
padding-top: 8px;
}
.mainNavbar li a {
color:black;
}
}
@media screen and (min-width: 668px) and (max-width: 1023px) { /*Tablet*/
.big-news {
width: 100%;
}
.other-news{
grid-template-columns: 1fr 1fr;
}
.burger {
display: block;
width: 40px;
margin-right: 86px;
}
.mainNavbar {
display: none;
margin-right: 30px;
position: absolute;
right: 0;
top: 86px;
background: #f1f1f1;
}
.mainNavbar li {
padding-top: 8px;
}
.mainNavbar li a {
color:black;
}
}