|
5 | 5 | * work well for content-centric websites. |
6 | 6 | */ |
7 | 7 |
|
8 | | -/* You can override the default Infima variables here. */ |
9 | 8 | :root { |
10 | 9 | --ifm-color-primary: #0069d9; |
11 | | - --ifm-color-primary-dark: rgb(33, 175, 144); |
12 | | - --ifm-color-primary-darker: rgb(31, 165, 136); |
13 | | - --ifm-color-primary-darkest: rgb(26, 136, 112); |
14 | | - --ifm-color-primary-light: rgb(70, 203, 174); |
15 | | - --ifm-color-primary-lighter: rgb(102, 212, 189); |
16 | | - --ifm-color-primary-lightest: rgb(146, 224, 208); |
17 | | - --ifm-code-font-size: 95%; |
18 | 10 | } |
19 | 11 |
|
20 | | -.docusaurus-highlight-code-line { |
21 | | - background-color: rgb(72, 77, 91); |
| 12 | +[data-theme="dark"]:root { |
| 13 | + --ifm-toc-border-color: #373737; |
| 14 | + --ifm-color-primary: #55a7ff; |
| 15 | +} |
| 16 | + |
| 17 | +.main-wrapper { |
| 18 | + display: flex; |
| 19 | + flex-direction: column; |
| 20 | +} |
| 21 | + |
| 22 | +.main-wrapper > div:first-child { |
| 23 | + flex: 1 0 0; |
| 24 | +} |
| 25 | + |
| 26 | +.navbar__toggle, |
| 27 | +.navbar__logo { |
| 28 | + margin-right: 1rem; |
| 29 | +} |
| 30 | + |
| 31 | +.header-github-link::before { |
| 32 | + content: ""; |
| 33 | + width: 24px; |
| 34 | + height: 24px; |
| 35 | + display: flex; |
| 36 | + background-repeat: no-repeat; |
| 37 | + background-image: url("/experimenter-docs/img/github.svg"); |
| 38 | +} |
| 39 | + |
| 40 | +[data-theme="dark"] .header-github-link::before { |
| 41 | + background-image: url("/experimenter-docs/img/github-dark.svg"); |
| 42 | +} |
| 43 | + |
| 44 | +.menu__list a[href^="http://"]:not([href*="localhost:3000"]):after, |
| 45 | +.menu__list a[href^="https://"]:not([href*="mozilla.github.io/experimenter-docs"]):after |
| 46 | +{ |
| 47 | + content: ""; |
| 48 | + background-repeat: no-repeat; |
| 49 | + background-image: url("/experimenter-docs/img/external.svg"); |
22 | 50 | display: block; |
23 | | - margin: 0 calc(-1 * var(--ifm-pre-padding)); |
24 | | - padding: 0 var(--ifm-pre-padding); |
| 51 | + min-width: 15px; |
| 52 | + height: 15px; |
| 53 | + top: 2px; |
| 54 | + position: relative; |
| 55 | + margin-left: 10px; |
25 | 56 | } |
0 commit comments