|
1 | 1 | .header {
|
2 |
| - background-color: var(--background-color); |
3 |
| - padding: 8px 20px; |
4 |
| - font-size: 1.2rem; |
| 2 | + background-color: var(--background-color); |
| 3 | + padding: 8px 20px; |
| 4 | + font-size: 1.2rem; |
5 | 5 | }
|
6 | 6 |
|
7 | 7 | .headerContainer {
|
8 |
| - display: flex; |
9 |
| - margin: auto; |
10 |
| - max-width: 1200px; |
11 |
| - width: 100%; |
12 |
| - padding-bottom: 20px; |
13 |
| - border-bottom: solid 1px var(--border-color); |
| 8 | + display: flex; |
| 9 | + margin: auto; |
| 10 | + max-width: 1200px; |
| 11 | + width: 100%; |
| 12 | + padding-bottom: 20px; |
| 13 | + border-bottom: solid 1px var(--border-color); |
14 | 14 | }
|
15 | 15 |
|
16 | 16 | .leftNav {
|
17 |
| - flex: 1 0 auto; |
| 17 | + flex: 1 0 auto; |
18 | 18 | }
|
19 | 19 |
|
20 | 20 | .rightNav {
|
21 |
| - position: fixed; |
22 |
| - top: 0; |
23 |
| - left: 0; |
24 |
| - right: 0; |
25 |
| - bottom: 0; |
26 |
| - background-color: var(--background-color); |
27 |
| - overflow: hidden; |
28 |
| - transform: translateX(-100%); |
29 |
| - transition: transform 0.3s; |
| 21 | + position: fixed; |
| 22 | + top: 0; |
| 23 | + left: 0; |
| 24 | + right: 0; |
| 25 | + bottom: 0; |
| 26 | + background-color: var(--background-color); |
| 27 | + overflow: hidden; |
| 28 | + transform: translateX(-100%); |
| 29 | + transition: transform 0.3s; |
30 | 30 | }
|
31 | 31 |
|
32 | 32 | .rightNav.open {
|
33 |
| - transform: translate(0); |
| 33 | + transform: translate(0); |
34 | 34 | }
|
35 | 35 |
|
36 | 36 | .socialsLinks {
|
37 |
| - justify-content: space-between; |
38 |
| - margin: 32px auto; |
39 |
| - list-style: none; |
40 |
| - padding: 0 24px; |
41 |
| - display: flex; |
42 |
| - gap: 20px; |
43 |
| - max-width: 500px; |
| 37 | + justify-content: space-between; |
| 38 | + margin: 32px auto; |
| 39 | + list-style: none; |
| 40 | + padding: 0 24px; |
| 41 | + display: flex; |
| 42 | + gap: 20px; |
| 43 | + max-width: 500px; |
44 | 44 | }
|
45 | 45 |
|
46 | 46 | .socialsLinks a {
|
47 |
| - color: var(--main-color); |
48 |
| - text-decoration: none; |
49 |
| - display: flex; |
50 |
| - align-items: center; |
51 |
| - transition: transform 100ms, color 100ms; |
| 47 | + color: var(--main-color); |
| 48 | + text-decoration: none; |
| 49 | + display: flex; |
| 50 | + align-items: center; |
| 51 | + transition: transform 100ms, color 100ms; |
52 | 52 | }
|
53 | 53 | .socialsLinks a:hover {
|
54 |
| - transform: translateY(-4px); |
55 |
| - color: var(--secondary-color); |
| 54 | + transform: translateY(-4px); |
| 55 | + color: var(--secondary-color); |
56 | 56 | }
|
57 | 57 |
|
58 | 58 | .links {
|
59 |
| - padding: 0; |
60 |
| - list-style: none; |
61 |
| - display: flex; |
62 |
| - flex-direction: column; |
63 |
| - margin: 15px 0 0 0; |
64 |
| - align-items: center; |
65 |
| - gap: 20px; |
| 59 | + padding: 0; |
| 60 | + list-style: none; |
| 61 | + display: flex; |
| 62 | + flex-direction: column; |
| 63 | + margin: 15px 0 0 0; |
| 64 | + align-items: center; |
| 65 | + gap: 20px; |
66 | 66 | }
|
67 | 67 |
|
68 | 68 | .links li {
|
69 |
| - width: 100%; |
70 |
| - display: flex; |
71 |
| - justify-content: center; |
| 69 | + width: 100%; |
| 70 | + display: flex; |
| 71 | + justify-content: center; |
72 | 72 | }
|
73 | 73 |
|
74 | 74 | .links .link {
|
75 |
| - color: var(--main-color); |
76 |
| - text-decoration: none; |
77 |
| - height: 100%; |
78 |
| - display: flex; |
79 |
| - align-items: center; |
80 |
| - justify-content: center; |
81 |
| - padding: 24px 0; |
82 |
| - width: 100%; |
83 |
| - transition: transform 100ms, color 100ms; |
| 75 | + color: var(--main-color); |
| 76 | + text-decoration: none; |
| 77 | + height: 100%; |
| 78 | + display: flex; |
| 79 | + align-items: center; |
| 80 | + justify-content: center; |
| 81 | + padding: 24px 0; |
| 82 | + width: 100%; |
| 83 | + transition: transform 100ms, color 100ms; |
84 | 84 | }
|
85 | 85 |
|
86 | 86 | .links .link:hover {
|
87 |
| - transform: translateY(-4px); |
88 |
| - color: var(--secondary-color); |
| 87 | + transform: translateY(-4px); |
| 88 | + color: var(--secondary-color); |
89 | 89 | }
|
90 | 90 |
|
91 | 91 | .buttonPrimary {
|
92 |
| - display: flex; |
93 |
| - text-decoration: none; |
94 |
| - padding: 10px 20px; |
95 |
| - margin-top: 12px; |
96 |
| - color: var(--background-color); |
97 |
| - background-color: var(--main-color); |
| 92 | + display: flex; |
| 93 | + text-decoration: none; |
| 94 | + padding: 10px 20px; |
| 95 | + margin-top: 12px; |
| 96 | + color: var(--background-color); |
| 97 | + background-color: var(--main-color); |
98 | 98 | }
|
99 | 99 | .buttonPrimary:hover {
|
100 |
| - background-color: var(--secondary-color); |
| 100 | + background-color: var(--secondary-color); |
101 | 101 | }
|
102 | 102 |
|
103 |
| -.burgerMenuContainer, .closeMenuContainer { |
104 |
| - display: flex; |
105 |
| - flex: 1 0 auto; |
| 103 | +.burgerMenuContainer, |
| 104 | +.closeMenuContainer { |
| 105 | + display: flex; |
| 106 | + flex: 1 0 auto; |
106 | 107 | }
|
107 | 108 |
|
108 | 109 | .closeMenuContainer {
|
109 |
| - transform: translate(12px, 12px); |
| 110 | + transform: translate(12px, 12px); |
110 | 111 | }
|
111 | 112 |
|
112 |
| -.burgerMenu, .closeMenu { |
113 |
| - color: var(--main-color); |
114 |
| - background-color: transparent; |
115 |
| - cursor: pointer; |
116 |
| - border: none; |
117 |
| - padding: 0; |
| 113 | +.burgerMenu, |
| 114 | +.closeMenu { |
| 115 | + color: var(--main-color); |
| 116 | + background-color: transparent; |
| 117 | + cursor: pointer; |
| 118 | + border: none; |
| 119 | + padding: 0; |
118 | 120 | }
|
119 | 121 |
|
120 | 122 | @media (min-width: 1024px) {
|
121 |
| - .burgerMenuContainer { |
122 |
| - display: none; |
123 |
| - } |
124 |
| - |
125 |
| - .closeMenuContainer { |
126 |
| - display: none; |
127 |
| - } |
128 |
| - |
129 |
| - .rightNav { |
130 |
| - position: inherit; |
131 |
| - flex: 1 0 50%; |
132 |
| - display: flex; |
133 |
| - flex-direction: column; |
134 |
| - align-items: flex-end; |
135 |
| - justify-content: center; |
136 |
| - overflow: visible; |
137 |
| - transform: none; |
138 |
| - transition: none; |
139 |
| - } |
140 |
| - |
141 |
| - .socialsLinks { |
142 |
| - margin: 0; |
143 |
| - gap: 20px; |
144 |
| - justify-content: flex-start; |
145 |
| - } |
146 |
| - |
147 |
| - .links { |
148 |
| - flex-direction: row; |
149 |
| - } |
150 |
| - |
151 |
| - .links .link { |
152 |
| - padding: 0 10px; |
153 |
| - } |
154 |
| - |
155 |
| - .buttonPrimary { |
156 |
| - margin-top: 0; |
157 |
| - } |
| 123 | + .burgerMenuContainer { |
| 124 | + display: none; |
| 125 | + } |
| 126 | + |
| 127 | + .closeMenuContainer { |
| 128 | + display: none; |
| 129 | + } |
| 130 | + |
| 131 | + .rightNav { |
| 132 | + position: inherit; |
| 133 | + flex: 1 0 50%; |
| 134 | + display: flex; |
| 135 | + flex-direction: column; |
| 136 | + align-items: flex-end; |
| 137 | + justify-content: center; |
| 138 | + overflow: visible; |
| 139 | + transform: none; |
| 140 | + transition: none; |
| 141 | + } |
| 142 | + |
| 143 | + .socialsLinks { |
| 144 | + margin: 0; |
| 145 | + gap: 20px; |
| 146 | + justify-content: flex-start; |
| 147 | + } |
| 148 | + |
| 149 | + .links { |
| 150 | + flex-direction: row; |
| 151 | + } |
| 152 | + |
| 153 | + .links .link { |
| 154 | + padding: 0 10px; |
| 155 | + } |
| 156 | + |
| 157 | + .buttonPrimary { |
| 158 | + margin-top: 0; |
| 159 | + } |
158 | 160 | }
|
0 commit comments