-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmedia-queries.css
executable file
·60 lines (48 loc) · 2.12 KB
/
media-queries.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
@media screen and (max-width: 1440px) {
.display-xl { font-size: 70px; }
}
@media screen and (max-width: 1220px) {
header .logo { max-width: 130px; }
.main-menu ul li { padding: 7px 10px; }
.main-menu ul li a { font-size: 14px; }
.sub-menu-title { font-size: 14px; }
.sub-menu-text { margin-top: 4px; font-size: 12px; }
.main-menu .sub-menu-right { gap: 20px; }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
.display-xl { font-size: 54px; }
}
@media screen and (max-width: 991px) {
.p-60 { padding: 45px; }
header .container, .nav .container { padding-left: 15px; padding-right: 15px; }
.nav-row { grid-template-columns: 1fr 1fr 1fr; gap: 26px; }
.nav-box { height: 340px; width: calc(300% + 26px + 26px); }
}
@media (max-width: 767px) {
.display-xl { font-size: 48px; }
.display-xxl { font-size: 54px; }
.dropdown:hover>.dropdown-menu {display: block; }
.dropdown-menu {background: rgba(0,0,0,0.5); visibility: visible; top: 95%; padding: 0; margin: 0;}
.dropdown-menu li {padding: 0 !important; margin: 0 !important;}
.dropdown-menu li:hover a {background: transparent;}
.dropdown-menu li:hover a span {opacity: 1;}
.dropdown-menu li a {padding: 5px 15px; display: block; margin: 0;}
.dropdown-menu li a span {color: #FFF !important; opacity: 0.8; font-size: 12px;}
header .logo, header .logo-container { max-width: 65px; }
.nav-row { grid-template-columns: 1fr 1fr; gap: 26px; }
.nav-box { height: 340px; width: calc(200% + 26px); }
.footer-bottom .copy { max-width: 100%; }
.footer-bottom .grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.footer-bottom .grid ul { gap: 10px 0; }
.newsletter { margin: 0 -45px; padding: 40px 45px 36px; }
.newsletter .gform_fields { row-gap: 10px !important; flex-direction: column; }
.newsletter .gfield input { width: 100% !important; }
.newsletter .gform_wrapper { width: 100%; }
}
@media (max-width: 575px) {
.display-xl { font-size: 36px; }
.display-xxl { font-size: 48px; }
.nav-row { display: flex; flex-wrap: wrap; }
.nav-row > ul { min-height: 1px; width: 100%; padding: 14px 20px; }
.nav-box { height: 340px; width: 100%; }
}