|
71 | 71 | --ifm-home-color-black: #25292e; |
72 | 72 | --ifm-home-color-white: #f7f7ff; |
73 | 73 |
|
| 74 | + --ifm-toc-border-color: var(--ifm-color-gray-200); |
74 | 75 | --ifm-menu-color-background-active: rgba(107, 82, 174, 0.1); |
75 | 76 | --docusaurus-highlighted-code-line-bg: rgba(107, 82, 174, 0.1); |
76 | 77 |
|
|
128 | 129 | --docusaurus-highlighted-code-line-bg: rgba(255, 255, 255, 0.07); |
129 | 130 | } |
130 | 131 |
|
| 132 | +h1 { |
| 133 | + font-size: 2.618rem; |
| 134 | + letter-spacing: -0.02em; |
| 135 | + line-height: 1.618; |
| 136 | + margin-bottom: 0.5rem; |
| 137 | +} |
| 138 | + |
| 139 | +h2 { |
| 140 | + font-size: 1.618rem; |
| 141 | + letter-spacing: -0.02em; |
| 142 | + font-weight: 700; |
| 143 | + line-height: 1.618; |
| 144 | + margin: 2.618rem 0 0 -0.09rem; |
| 145 | +} |
| 146 | + |
| 147 | +h3 { |
| 148 | + font-size: 1.382rem; |
| 149 | + letter-spacing: -0.01em; |
| 150 | + font-weight: 700; |
| 151 | + line-height: 1.618; |
| 152 | + margin: 1.618rem 0 0 0; |
| 153 | +} |
| 154 | + |
| 155 | +h4 { |
| 156 | + font-size: 1.145rem; |
| 157 | + font-weight: 700; |
| 158 | + line-height: 1.618; |
| 159 | + margin: 1.618rem 0 0 0; |
| 160 | +} |
| 161 | + |
| 162 | +h5 { |
| 163 | + font-size: 1rem; |
| 164 | + font-weight: 700; |
| 165 | + line-height: 1.618; |
| 166 | + margin: 1.618rem 0 0 0; |
| 167 | +} |
| 168 | + |
| 169 | +h6 { |
| 170 | + font-size: 0.85rem; |
| 171 | + font-weight: 700; |
| 172 | + line-height: 1.618; |
| 173 | + margin: 1.618rem 0 0 0; |
| 174 | +} |
| 175 | + |
| 176 | +p { |
| 177 | + font-size: 1rem; |
| 178 | + line-height: 1.75; |
| 179 | +} |
| 180 | + |
| 181 | +@media (min-width: 82.5rem) { |
| 182 | + .main-wrapper:not(.full-width), |
| 183 | + .navbar__inner, |
| 184 | + footer .container { |
| 185 | + max-width: 82.5rem; |
| 186 | + margin: auto; |
| 187 | + } |
| 188 | + |
| 189 | + .main-wrapper:not(.full-width) main { |
| 190 | + padding: 2rem 0 2rem 2rem; |
| 191 | + } |
| 192 | + |
| 193 | + .main-wrapper:not(.full-width) .container > .row > :first-child { |
| 194 | + padding-right: 1rem; |
| 195 | + } |
| 196 | +} |
| 197 | + |
| 198 | +@media (min-width: 95rem) { |
| 199 | + .main-wrapper:not(.full-width) main { |
| 200 | + padding: 3rem 0 3rem 4rem; |
| 201 | + } |
| 202 | + |
| 203 | + .main-wrapper:not(.full-width) .container > .row > :first-child { |
| 204 | + padding-right: 3rem; |
| 205 | + } |
| 206 | +} |
| 207 | + |
| 208 | +footer { |
| 209 | + border-top: 1px solid var(--ifm-toc-border-color); |
| 210 | +} |
| 211 | + |
| 212 | +.navbar { |
| 213 | + padding: 0; |
| 214 | +} |
| 215 | + |
| 216 | +.navbar__inner { |
| 217 | + padding: var(--ifm-navbar-padding-vertical) |
| 218 | + var(--ifm-navbar-padding-horizontal); |
| 219 | +} |
| 220 | + |
131 | 221 | .menu { |
132 | 222 | font-size: 93.75%; |
133 | 223 | font-weight: var(--ifm-font-weight-normal); |
|
137 | 227 | background: transparent; |
138 | 228 | } |
139 | 229 |
|
| 230 | +.menu > .menu__list > .menu__list-item > .menu__list { |
| 231 | + padding-left: 0; |
| 232 | +} |
| 233 | + |
| 234 | +.menu > .menu__list > .menu__list-item { |
| 235 | + padding-top: 0.5rem; |
| 236 | + padding-bottom: 0.5rem; |
| 237 | +} |
| 238 | + |
| 239 | +.menu > .menu__list > .menu__list-item:not(:last-child) { |
| 240 | + border-bottom: 1px solid var(--ifm-toc-border-color); |
| 241 | +} |
| 242 | + |
| 243 | +@media (min-width: 85rem) { |
| 244 | + .menu > .menu__list > .menu__list-item { |
| 245 | + padding-top: 1.5rem; |
| 246 | + padding-bottom: 1.5rem; |
| 247 | + } |
| 248 | +} |
| 249 | + |
| 250 | +.menu__list { |
| 251 | + position: relative; |
| 252 | +} |
| 253 | + |
| 254 | +.menu__list .menu__list .menu__list-item-collapsible + .menu__list:before { |
| 255 | + content: ''; |
| 256 | + position: absolute; |
| 257 | + width: 1px; |
| 258 | + height: 100%; |
| 259 | + background-color: var(--ifm-toc-border-color); |
| 260 | +} |
| 261 | + |
| 262 | +.menu__list .menu__list .menu__list-item-collapsible + .menu__list > li { |
| 263 | + margin-left: 5px; |
| 264 | +} |
| 265 | + |
140 | 266 | .menu__list-item-collapsible > .menu__link { |
141 | | - font-weight: var(--ifm-font-weight-semibold); |
| 267 | + font-weight: var(--ifm-font-weight-bold); |
142 | 268 | color: var(--ifm-color-emphasis-1000); |
143 | 269 | } |
144 | 270 |
|
145 | 271 | .menu__list-item-collapsible > .menu__link--active { |
146 | | - color: var(--ifm-color-primary); |
| 272 | + color: var(--ifm-color-emphasis-1000); |
| 273 | +} |
| 274 | + |
| 275 | +.menu__link { |
| 276 | + border-top-right-radius: 0; |
| 277 | + border-bottom-right-radius: 0; |
147 | 278 | } |
148 | 279 |
|
149 | 280 | .menu__link--sublist-caret:after { |
150 | 281 | background: var(--ifm-menu-link-sublist-icon) 50% / 1.25rem 1.25rem; |
151 | 282 | opacity: 0.5; |
152 | 283 | } |
153 | 284 |
|
154 | | -.theme-doc-sidebar-container { |
155 | | - border-right: none !important; |
156 | | -} |
157 | | - |
158 | | -.table-of-contents__left-border { |
159 | | - border-left: none; |
160 | | -} |
161 | | - |
162 | 285 | .pagination-nav__link { |
163 | 286 | border: none; |
164 | 287 | } |
|
0 commit comments