| 1 |
:root > * { |
| 2 |
--md-primary-fg-color: #338574; |
| 3 |
--md-primary-fg-color--light: #338574; |
| 4 |
--md-primary-fg-color--dark: #338574; |
| 5 |
--md-footer-bg-color: #353744; |
| 6 |
--md-text-font: "Roboto"; |
| 7 |
--md-code-font: "Roboto Mono"; |
| 8 |
} |
| 9 |
|
| 10 |
.md-header__button.md-logo :is(img, svg) { |
| 11 |
width: unset !important; |
| 12 |
} |
| 13 |
|
| 14 |
.md-header__topic:first-child { |
| 15 |
font-weight: 400; |
| 16 |
} |
| 17 |
|
| 18 |
.md-typeset h4 { |
| 19 |
font-weight: 500 !important; |
| 20 |
margin: 0 !important; |
| 21 |
font-size: 1.1em !important; |
| 22 |
} |
| 23 |
|
| 24 |
.admonition { |
| 25 |
font-size: .74rem !important; |
| 26 |
} |
| 27 |
|
| 28 |
article { |
| 29 |
padding-bottom: 50px; |
| 30 |
} |
| 31 |
|
| 32 |
figure img, figure video { |
| 33 |
border-radius: 7px; |
| 34 |
} |
| 35 |
|
| 36 |
header { |
| 37 |
background: linear-gradient(150deg, rgba(51, 133, 116, 1) 0%, rgba(86, 189, 168, 1) 100%); |
| 38 |
} |
| 39 |
|
| 40 |
body[data-md-color-scheme="default"] header { |
| 41 |
filter: drop-shadow(0 5px 10px #ccc); |
| 42 |
} |
| 43 |
|
| 44 |
body[data-md-color-scheme="slate"] header { |
| 45 |
filter: drop-shadow(0 5px 10px #333); |
| 46 |
} |
| 47 |
|
| 48 |
body[data-md-color-scheme="default"] figure img, |
| 49 |
body[data-md-color-scheme="default"] figure video, |
| 50 |
body[data-md-color-scheme="default"] .screenshots img, |
| 51 |
body[data-md-color-scheme="default"] .screenshots video { |
| 52 |
filter: drop-shadow(3px 3px 3px #ccc); |
| 53 |
} |
| 54 |
|
| 55 |
body[data-md-color-scheme="slate"] figure img, |
| 56 |
body[data-md-color-scheme="slate"] figure video, |
| 57 |
body[data-md-color-scheme="slate"] .screenshots img, |
| 58 |
body[data-md-color-scheme="slate"] .screenshots video { |
| 59 |
filter: drop-shadow(3px 3px 3px #353744); |
| 60 |
} |
| 61 |
|
| 62 |
figure video { |
| 63 |
width: 100%; |
| 64 |
max-height: 450px; |
| 65 |
} |
| 66 |
|
| 67 |
.remove-md-box { |
| 68 |
background: none; |
| 69 |
border: none; |
| 70 |
margin: 0 auto; |
| 71 |
} |
| 72 |
|
| 73 |
.remove-md-box td { |
| 74 |
padding: 0 10px; |
| 75 |
} |
| 76 |
|
| 77 |
.emoji-table .c { |
| 78 |
vertical-align: middle !important; |
| 79 |
} |
| 80 |
|
| 81 |
.emoji-table .e { |
| 82 |
font-size: 2.5em; |
| 83 |
padding: 0 2px !important; |
| 84 |
text-align: center !important; |
| 85 |
vertical-align: middle !important; |
| 86 |
} |
| 87 |
|
| 88 |
/* Lightbox; thanks to https://yossiabramov.com/blog/vanilla-js-lightbox */ |
| 89 |
|
| 90 |
.screenshots { |
| 91 |
text-align: center; |
| 92 |
} |
| 93 |
|
| 94 |
.screenshots img { |
| 95 |
max-height: 350px; |
| 96 |
max-width: 350px; |
| 97 |
margin: 3px; |
| 98 |
border-radius: 5px; |
| 99 |
filter: drop-shadow(2px 2px 2px #ddd); |
| 100 |
} |
| 101 |
|
| 102 |
.screenshots .nowrap { |
| 103 |
white-space: nowrap; |
| 104 |
} |
| 105 |
|
| 106 |
.lightbox { |
| 107 |
opacity: 0; |
| 108 |
visibility: hidden; |
| 109 |
position: fixed; |
| 110 |
left: 0; |
| 111 |
right: 0; |
| 112 |
top: 0; |
| 113 |
bottom: 0; |
| 114 |
z-index: -1; |
| 115 |
display: flex; |
| 116 |
align-items: center; |
| 117 |
justify-content: center; |
| 118 |
transition: all 0.15s ease-in; |
| 119 |
} |
| 120 |
|
| 121 |
.lightbox.show { |
| 122 |
background-color: rgba(0, 0, 0, 0.75); |
| 123 |
opacity: 1; |
| 124 |
visibility: visible; |
| 125 |
z-index: 1000; |
| 126 |
} |
| 127 |
|
| 128 |
.lightbox img { |
| 129 |
max-width: 90%; |
| 130 |
max-height: 90%; |
| 131 |
filter: drop-shadow(5px 5px 10px #222); |
| 132 |
border-radius: 5px; |
| 133 |
} |
| 134 |
|
| 135 |
.lightbox .close-lightbox { |
| 136 |
cursor: pointer; |
| 137 |
position: absolute; |
| 138 |
top: 30px; |
| 139 |
right: 30px; |
| 140 |
width: 20px; |
| 141 |
height: 20px; |
| 142 |
} |
| 143 |
|
| 144 |
.lightbox .close-lightbox::after, |
| 145 |
.lightbox .close-lightbox::before { |
| 146 |
content: ''; |
| 147 |
width: 3px; |
| 148 |
height: 20px; |
| 149 |
background-color: #ddd; |
| 150 |
position: absolute; |
| 151 |
border-radius: 5px; |
| 152 |
transform: rotate(45deg); |
| 153 |
} |
| 154 |
|
| 155 |
.lightbox .close-lightbox::before { |
| 156 |
transform: rotate(-45deg); |
| 157 |
} |
| 158 |
|
| 159 |
.lightbox .close-lightbox:hover::after, |
| 160 |
.lightbox .close-lightbox:hover::before { |
| 161 |
background-color: #fff; |
| 162 |
} |
| 163 |
|
| 164 |
/* roboto-300 - latin */ |
| 165 |
@font-face { |
| 166 |
font-display: swap; |
| 167 |
font-family: 'Roboto'; |
| 168 |
font-style: normal; |
| 169 |
font-weight: 300; |
| 170 |
src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2'); |
| 171 |
} |
| 172 |
|
| 173 |
/* roboto-regular - latin */ |
| 174 |
@font-face { |
| 175 |
font-display: swap; |
| 176 |
font-family: 'Roboto'; |
| 177 |
font-style: normal; |
| 178 |
font-weight: 400; |
| 179 |
src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'); |
| 180 |
} |
| 181 |
|
| 182 |
/* roboto-italic - latin */ |
| 183 |
@font-face { |
| 184 |
font-display: swap; |
| 185 |
font-family: 'Roboto'; |
| 186 |
font-style: italic; |
| 187 |
font-weight: 400; |
| 188 |
src: url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'); |
| 189 |
} |
| 190 |
|
| 191 |
/* roboto-500 - latin */ |
| 192 |
@font-face { |
| 193 |
font-display: swap; |
| 194 |
font-family: 'Roboto'; |
| 195 |
font-style: normal; |
| 196 |
font-weight: 500; |
| 197 |
src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2'); |
| 198 |
} |
| 199 |
|
| 200 |
/* roboto-700 - latin */ |
| 201 |
@font-face { |
| 202 |
font-display: swap; |
| 203 |
font-family: 'Roboto'; |
| 204 |
font-style: normal; |
| 205 |
font-weight: 700; |
| 206 |
src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'); |
| 207 |
} |
| 208 |
|
| 209 |
/* roboto-mono - latin */ |
| 210 |
@font-face { |
| 211 |
font-display: swap; |
| 212 |
font-family: 'Roboto Mono'; |
| 213 |
font-style: normal; |
| 214 |
font-weight: 400; |
| 215 |
src: url('../fonts/roboto-mono-v22-latin-regular.woff2') format('woff2'); |
| 216 |
} |
| 217 |
|
| 218 |
/* Community maintained badge */ |
| 219 |
.community-badge { |
| 220 |
display: inline-flex; |
| 221 |
align-items: center; |
| 222 |
gap: 0.35em; |
| 223 |
background-color: rgba(51, 133, 116, 0.1); |
| 224 |
border: 1px solid rgba(51, 133, 116, 0.3); |
| 225 |
border-radius: 0.7em; |
| 226 |
padding: 0.1em 0.7em; |
| 227 |
font-size: 0.75rem; |
| 228 |
color: #338574; |
| 229 |
margin-top: 0; |
| 230 |
margin-bottom: 0.5em; |
| 231 |
} |
| 232 |
|
| 233 |
.community-badge svg { |
| 234 |
width: 1em; |
| 235 |
height: 1em; |
| 236 |
fill: currentColor; |
| 237 |
} |
| 238 |
|
| 239 |
body[data-md-color-scheme="slate"] .community-badge { |
| 240 |
background-color: rgba(86, 189, 168, 0.15); |
| 241 |
border-color: rgba(86, 189, 168, 0.4); |
| 242 |
color: #56bda8; |
| 243 |
} |