|
7 | 7 | justify-content: center; |
8 | 8 | background-color: #F5F5F5; |
9 | 9 |
|
10 | | - .article { |
11 | | - padding-top: 64px; |
12 | | - width: 100%; |
13 | | - max-width: 1200px; |
14 | | - } |
15 | | - |
16 | 10 | .side { |
17 | 11 | padding-top: 200px; |
18 | 12 | width: 20%; |
| 13 | + |
| 14 | + &.mobile { |
| 15 | + border-radius: 4px; |
| 16 | + margin-top: 64px; |
| 17 | + padding-top: 20px; |
| 18 | + width: 100%; |
| 19 | + |
| 20 | + .h1-table { |
| 21 | + color: #616161; |
| 22 | + } |
| 23 | + .h2-table { |
| 24 | + color: #8a8a8a; |
| 25 | + |
| 26 | + & > li { |
| 27 | + padding-left: 24px; |
| 28 | + border-left: solid 1px #8a8a8a; |
| 29 | + } |
| 30 | + |
| 31 | + &::before { |
| 32 | + content: ""; |
| 33 | + display: block; |
| 34 | + position: absolute; |
| 35 | + height: 50%; |
| 36 | + width: 12px; |
| 37 | + border-bottom: solid 1px #8a8a8a; |
| 38 | + } |
| 39 | + |
| 40 | + &:not(:has(+ .h2-table)) { |
| 41 | + |
| 42 | + &::before { |
| 43 | + border-left: solid 1px #8a8a8a; |
| 44 | + } |
| 45 | + |
| 46 | + & li { |
| 47 | + border-left: none; |
| 48 | + } |
| 49 | + } |
| 50 | + } |
| 51 | + } |
| 52 | + |
| 53 | + ul { |
| 54 | + top: 200px; |
| 55 | + list-style: none; |
| 56 | + position: sticky; |
| 57 | + |
| 58 | + a { |
| 59 | + position: relative; |
| 60 | + |
| 61 | + li { |
| 62 | + margin: 0; |
| 63 | + padding-top: 4px; |
| 64 | + padding-bottom: 4px; |
| 65 | + font-size: 16px; |
| 66 | + } |
| 67 | + } |
| 68 | + } |
19 | 69 | } |
20 | | - |
21 | | - ul { |
22 | | - top: 200px; |
23 | | - list-style: none; |
24 | | - position: sticky; |
25 | | - } |
26 | | - |
27 | | - li { |
28 | | - font-size: 16px; |
29 | | - } |
30 | | - |
| 70 | + |
31 | 71 | .h1-table { |
32 | 72 | color: #616161; |
33 | 73 | } |
34 | 74 | .h2-table { |
35 | 75 | color: #8a8a8a; |
36 | | - li { |
| 76 | + |
| 77 | + & > li { |
37 | 78 | padding-left: 24px; |
| 79 | + border-left: solid 1px #8a8a8a; |
| 80 | + } |
| 81 | + |
| 82 | + &::before { |
| 83 | + content: ""; |
| 84 | + display: block; |
| 85 | + position: absolute; |
| 86 | + height: 50%; |
| 87 | + width: 12px; |
| 88 | + border-bottom: solid 1px #8a8a8a; |
| 89 | + } |
| 90 | + |
| 91 | + &:not(:has(+ .h2-table)) { |
| 92 | + |
| 93 | + &::before { |
| 94 | + border-left: solid 1px #8a8a8a; |
| 95 | + } |
| 96 | + |
| 97 | + & li { |
| 98 | + border-left: none; |
| 99 | + } |
| 100 | + } |
| 101 | + } |
| 102 | + |
| 103 | + .article { |
| 104 | + padding-top: 64px; |
| 105 | + width: 100%; |
| 106 | + max-width: 1200px; |
| 107 | + |
| 108 | + h1 { |
| 109 | + color: var(--main-text-color); |
| 110 | + font-weight: 900; |
| 111 | + font-size: 52px; |
| 112 | + } |
| 113 | + |
| 114 | + h2 { |
| 115 | + color: var(--main-text-color); |
| 116 | + font-weight: 700; |
| 117 | + font-size: 32px; |
| 118 | + } |
| 119 | + |
| 120 | + h3 { |
| 121 | + color: var(--main-text-color); |
| 122 | + font-weight: 600; |
| 123 | + font-size: 24px; |
| 124 | + } |
| 125 | + |
| 126 | + h1, h2, h3, h4, h5, h6 { |
| 127 | + padding-left: 8px; |
| 128 | + padding-bottom: 4px; |
| 129 | + margin-bottom: 24px; |
| 130 | + margin-top: 24px; |
| 131 | + position: relative; |
| 132 | + color: var(--main-text-color); |
| 133 | + text-box-edge: cap alphabetic; |
| 134 | + } |
| 135 | + |
| 136 | + h1::before, h2::before { |
| 137 | + content: ""; |
| 138 | + position: absolute; |
| 139 | + display: block; |
| 140 | + left: -24px; |
| 141 | + width: 12px; |
| 142 | + height: 100%; |
| 143 | + background-color: var(--primery-color); |
| 144 | + } |
| 145 | + |
| 146 | + p { |
| 147 | + color: var(--main-text-color); |
| 148 | + letter-spacing: 2px; |
| 149 | + font-size: 20px; |
| 150 | + margin: 20px 0; |
38 | 151 | } |
39 | 152 | } |
40 | 153 |
|
|
47 | 160 | justify-content: center; |
48 | 161 | align-items: center; |
49 | 162 | flex-direction: column; |
| 163 | + |
| 164 | + .backButton { |
| 165 | + width: 100%; |
| 166 | + display: flex; |
| 167 | + justify-content: start; |
| 168 | + margin-bottom: 24px; |
| 169 | + } |
50 | 170 | } |
51 | 171 |
|
52 | 172 | .header-img { |
|
56 | 176 | border-radius: 12px; |
57 | 177 | box-shadow: 0 10px 10px #20202011; |
58 | 178 | } |
59 | | - |
60 | | - h1 { |
61 | | - color: var(--main-text-color); |
62 | | - font-weight: 900; |
63 | | - font-size: 52px; |
64 | | - } |
65 | | - |
66 | | - h2 { |
67 | | - color: var(--main-text-color); |
68 | | - font-weight: 700; |
69 | | - font-size: 32px; |
70 | | - } |
71 | | - |
72 | | - h3 { |
73 | | - color: var(--main-text-color); |
74 | | - font-weight: 600; |
75 | | - font-size: 24px; |
76 | | - } |
77 | | - |
78 | | - h1, h2, h3, h4, h5, h6 { |
79 | | - padding-left: 8px; |
80 | | - padding-bottom: 4px; |
81 | | - margin-bottom: 24px; |
82 | | - margin-top: 24px; |
83 | | - position: relative; |
84 | | - color: var(--main-text-color); |
85 | | - text-box-edge: cap alphabetic; |
86 | | - } |
87 | | - |
88 | | - h1::before, h2::before { |
89 | | - content: ""; |
90 | | - position: absolute; |
91 | | - display: block; |
92 | | - left: -24px; |
93 | | - width: 12px; |
94 | | - height: 100%; |
95 | | - background-color: var(--primery-color); |
96 | | - } |
97 | | - |
98 | | - p { |
99 | | - color: var(--main-text-color); |
100 | | - letter-spacing: 2px; |
101 | | - font-size: 20px; |
102 | | - margin: 20px 0; |
103 | | - } |
104 | 179 | } |
105 | 180 |
|
106 | 181 | @media screen and (max-width: 700px) { |
|
0 commit comments