-
Notifications
You must be signed in to change notification settings - Fork 3
/
mobile.css
101 lines (99 loc) · 1.95 KB
/
mobile.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
@media (min-width: 993px) {
.header {
padding: 0 50px;
}
.navigation-menu > ul > li > ul {
position: absolute;
top: 100%;
display: flex;
flex-direction: column;
opacity: 0;
visibility: hidden;
min-width: 100%;
background: #eee;
box-shadow: 0px 1px 4px rgb(0 0 0 / 25%);
transition: 0.3s all ease;
}
.navigation-menu > ul > li > ul > li {
padding: 8px;
}
.navigation-menu > ul > li > ul > li > a {
font-size: 0.8rem;
color: #1f2e35;
}
.navigation-menu > ul > li:hover ul {
opacity: 100%;
visibility: visible;
}
.hamburger {
display: none;
}
}
@media (max-width: 992px) {
.social-links {
display: none;
}
.navigation-menu {
position: absolute;
right: -300px;
top: 100%;
height: 100vh;
width: 300px;
padding: 10px;
background: var(--mobile-nav-menu-bg-color);
transition: 0.3s all ease;
}
.navigation-menu ul {
flex-direction: column;
width: 100%;
}
.navigation-menu ul li {
flex-wrap: wrap;
padding: 8px 16px;
}
.navigation-menu ul li a {
width: 100%;
color: #fafafa;
}
.navigation-menu > ul > li.has-submenu > a:after {
filter: brightness(0) invert(1);
}
.navigation-menu.show {
right: 0;
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
}
.navigation-menu > ul > li > ul {
display: none;
margin: 8px 0 16px;
}
.navigation-menu > ul > li.has-submenu.show > ul {
display: flex;
}
}
@media (max-width: 992px) {
.main-content {
flex-direction: column-reverse;
align-items: center;
padding: 100px 20px 20px;
}
.main-content-info h1 {
font-size: 34px;
text-align: center;
padding-top: 30px;
}
.main-content-info p {
text-align: center;
padding-top: 16px;
}
.main-content-info-btn {
padding-top: 16px;
text-align: center;
}
.section {
flex-direction: column;
padding: 55px 25px 50px;
}
img {
max-width: 100%;
}
}