|
| 1 | +/* Provided by the Sphinx base theme template at build time */ |
| 2 | +@import "../basic.css"; |
| 3 | + |
| 4 | +/***************************************************************************** |
| 5 | +* 4Subsea tweaks |
| 6 | +**/ |
| 7 | +.navbar{ |
| 8 | + background-color: #333333 !important; |
| 9 | +} |
| 10 | + |
| 11 | +.navbar-brand img { |
| 12 | + height: 22px; /* 32px */ |
| 13 | +} |
| 14 | + |
| 15 | +.fab::before{ |
| 16 | + color: #f5f5f5; |
| 17 | +} |
| 18 | + |
| 19 | +.fas::before{ |
| 20 | + color: #f5f5f5; |
| 21 | +} |
| 22 | + |
| 23 | +:root { |
| 24 | + /***************************************************************************** |
| 25 | + * Theme config |
| 26 | + **/ |
| 27 | + --pst-header-height: 44px; |
| 28 | + |
| 29 | + /***************************************************************************** |
| 30 | + * Font size |
| 31 | + **/ |
| 32 | + --pst-font-size-base: 14px; /* base font size - applied at body / html level */ |
| 33 | + |
| 34 | + /***************************************************************************** |
| 35 | + * Font family |
| 36 | + **/ |
| 37 | + /* These are adapted from https://systemfontstack.com/ */ |
| 38 | + --pst-font-family-sansserif-system: "Trebuchet MS", -apple-system, BlinkMacSystemFont, avenir next, |
| 39 | + avenir, "segoe ui", "helvetica neue", helvetica, Ubuntu, roboto, noto, arial, sans-serif; |
| 40 | + |
| 41 | + --pst-font-family-serif-system: "Georgia", "Iowan Old Style", "Apple Garamond", Baskerville, |
| 42 | + "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif, "Apple Color Emoji", |
| 43 | + "Segoe UI Emoji", "Segoe UI Symbol"; |
| 44 | + |
| 45 | + --pst-font-family-monospace-system: SFMono-Regular, Menlo, Consolas, Monaco, |
| 46 | + Liberation Mono, "Lucida Console", monospace; |
| 47 | + |
| 48 | + --pst-font-family-base: var(--pst-font-family-sansserif-system); |
| 49 | + --pst-font-family-heading: var(--pst-font-family-serif-system); |
| 50 | + --pst-font-family-monospace: var(--pst-font-family-monospace-system); |
| 51 | + |
| 52 | + /***************************************************************************** |
| 53 | + * Color |
| 54 | + * |
| 55 | + * Colors are defined in rgb string way, "red, green, blue" |
| 56 | + **/ |
| 57 | + --pst-color-primary: 0, 45, 86; |
| 58 | + --pst-color-text-base: 0, 45, 86; |
| 59 | + --pst-color-info: 0, 157, 220; |
| 60 | + --pst-color-success: 0, 168, 143; |
| 61 | + --pst-color-warning: 250, 166, 52;; |
| 62 | + --pst-color-danger: 237, 23, 79;; |
| 63 | + |
| 64 | + --pst-color-h1: var(--pst-color-primary); |
| 65 | + --pst-color-h2: var(--pst-color-primary); |
| 66 | + --pst-color-h3: var(--pst-color-primary); |
| 67 | + --pst-color-h4: var(--pst-color-primary); |
| 68 | + --pst-color-h5: var(--pst-color-text-base); |
| 69 | + --pst-color-h6: var(--pst-color-text-base); |
| 70 | + --pst-color-paragraph: var(--pst-color-text-base); |
| 71 | + --pst-color-link: 0, 160, 175; |
| 72 | + --pst-color-link-hover: 243, 119, 111; |
| 73 | + --pst-color-headerlink: 0, 45, 86;; |
| 74 | + --pst-color-headerlink-hover: 218, 211, 204; |
| 75 | + --pst-color-preformatted-text: 73, 73, 74; |
| 76 | + --pst-color-preformatted-background: 250, 250, 250; |
| 77 | + --pst-color-inline-code: 237, 23, 79; |
| 78 | + |
| 79 | + --pst-color-active-navigation: 0, 160, 175; |
| 80 | + --pst-color-navbar-link: 245, 245, 245; |
| 81 | + --pst-color-navbar-link-hover: var(--pst-color-active-navigation); |
| 82 | + --pst-color-navbar-link-active: var(--pst-color-active-navigation); |
| 83 | + --pst-color-sidebar-link: 119, 117, 122; |
| 84 | + --pst-color-sidebar-link-hover: var(--pst-color-active-navigation); |
| 85 | + --pst-color-sidebar-link-active: var(--pst-color-active-navigation); |
| 86 | + --pst-color-sidebar-expander-background-hover: 244, 244, 244; |
| 87 | + --pst-color-sidebar-caption: 218, 211, 204; |
| 88 | + --pst-color-toc-link: var(--pst-color-sidebar-link); |
| 89 | + --pst-color-toc-link-hover: var(--pst-color-active-navigation); |
| 90 | + --pst-color-toc-link-active: var(--pst-color-active-navigation); |
| 91 | + |
| 92 | + /***************************************************************************** |
| 93 | + * Admonitions |
| 94 | + **/ |
| 95 | + --pst-color-admonition-default: var(--pst-color-info); |
| 96 | + --pst-color-admonition-note: var(--pst-color-info); |
| 97 | +} |
| 98 | + |
0 commit comments