|
13 | 13 | --ifm-color-primary-light: #33925d; |
14 | 14 | --ifm-color-primary-lighter: #359962; |
15 | 15 | --ifm-color-primary-lightest: #3cad6e; |
16 | | - --ifm-code-font-size: 95%; |
17 | 16 | --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); |
18 | | - |
| 17 | + |
19 | 18 | --announcement-bar-bg: #fafbfc; |
20 | 19 | --announcement-bar-text: #091E42; |
| 20 | + |
| 21 | + /* override code size */ |
| 22 | + --ifm-code-font-size: 13px; |
| 23 | + |
| 24 | + /* disable shadows */ |
| 25 | + --ifm-global-shadow-lw: none; |
| 26 | + --ifm-global-shadow-md: none; |
| 27 | + --ifm-global-shadow-tl: none; |
| 28 | + --ifm-code-background: rgb(246, 247, 248); |
| 29 | + |
| 30 | + /* reduce border radius */ |
| 31 | + --ifm-global-radius: 4px; |
| 32 | + |
| 33 | + /* adjust inline code paddings */ |
| 34 | + --ifm-code-padding-horizontal: 0.3rem; |
| 35 | +} |
| 36 | + |
| 37 | + |
| 38 | +.theme-code-block { |
| 39 | + border: 1px solid var(--ifm-color-emphasis-300); |
| 40 | +} |
| 41 | + |
| 42 | +.navbar { |
| 43 | + border-bottom: 1px solid var(--ifm-color-emphasis-300); |
| 44 | +} |
| 45 | + |
| 46 | +code { |
| 47 | + border: 1px solid var(--ifm-color-emphasis-300); |
| 48 | +} |
| 49 | + |
| 50 | +pre { |
| 51 | + font-family: 'iAWriterMonoS', monospace; |
| 52 | +} |
| 53 | + |
| 54 | +/* override card styles */ |
| 55 | +.card { |
| 56 | + box-shadow: none !important; |
| 57 | + border-radius: var(--ifm-global-radius); |
| 58 | + border-color: var(--ifm-color-emphasis-300) !important; |
| 59 | +} |
| 60 | + |
| 61 | +.card:hover { |
| 62 | + border-color: var(--ifm-color-primary) !important; |
21 | 63 | } |
22 | 64 |
|
23 | 65 | /* For readability concerns, you should choose a lighter palette in dark mode. */ |
|
0 commit comments