THEME.css
Unicode text, UTF-8 text
1:root, ::backdrop { 2/* FONTS */ 3--body-font: /* body text */ 4normal /* style */ 5normal /* variant */ 6400 /* weight */ 7normal /* stretch */ 81rem/1.25rem /* size / line height */ 9"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 10; 11--table-font: 12normal /* style */ 13normal /* variant */ 14400 /* weight */ 15normal /* stretch */ 160.9625rem/1.25rem /* size / line height */ 17"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 18; 19--table-header-font: 20normal /* style */ 21normal /* variant */ 22500 /* weight */ 23normal /* stretch */ 240.9625rem/1.25rem /* size / line height */ 25"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 26; 27--mono-font: /* code */ 28normal /* style */ 29normal /* variant */ 30300 /* weight */ 31normal /* stretch */ 320.90625rem/1.25rem /* size / line height */ 33"Roboto Mono", "Noto Sans Mono", "Noto Mono", "DejaVu Sans Mono", "Source Code Pro", "Source Code", "source-pro-code", Cousine, Consolas, monospace /* family */ 34; 35--keyboard-font: /* keyboard */ 36normal /* style */ 37normal /* variant */ 38600 /* weight */ 39normal /* stretch */ 400.75rem/0.75rem /* size / line height */ 41"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 42; 43--button-font: /* buttons */ 44normal /* style */ 45normal /* variant */ 46600 /* weight */ 47normal /* stretch */ 480.9375rem/1.25rem /* size / line height */ 49"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 50; 51--badge-font: /* badges */ 52normal /* style */ 53normal /* variant */ 54700 /* weight */ 55normal /* stretch */ 560.825rem/1rem /* size / line height */ 57"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 58; 59--gui-font: /* everything not covered by something else */ 60var(--body-font); 61--input-font: /* all inputs which show text */ 62var(--gui-font); 63--textarea-font: /* textareas */ 64var(--mono-font); 65--h6-font: /* h6 */ 66normal /* style */ 67normal /* variant */ 68700 /* weight */ 69normal /* stretch */ 701rem/1.25rem /* size / line height */ 71"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 72; 73--h5-font: /* h5 */ 74normal /* style */ 75normal /* variant */ 76900 /* weight */ 77normal /* stretch */ 781.125rem/1.25rem /* size / line height */ 79"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 80; 81--h4-font: /* h4 */ 82normal /* style */ 83normal /* variant */ 84700 /* weight */ 85normal /* stretch */ 861.21875rem/1.5rem /* size / line height */ 87"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 88; 89--h3-font: /* h3 */ 90normal /* style */ 91normal /* variant */ 92400 /* weight */ 93normal /* stretch */ 941.40625rem/1.75rem /* size / line height */ 95"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 96; 97--h2-font: /* h2 */ 98normal /* style */ 99normal /* variant */ 100300 /* weight */ 101normal /* stretch */ 1021.75rem/2rem /* size / line height */ 103"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 104; 105--h1-font: /* h1 */ 106normal /* style */ 107normal /* variant */ 108300 /* weight */ 109normal /* stretch */ 1102.25rem/2.75rem /* size / line height */ 111"Roboto", "Noto Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 112; 113--headline-font: /* h1 as a headline */ 114normal /* style */ 115normal /* variant */ 116100 /* weight */ 117normal /* stretch */ 1183.25rem/3.75rem /* size / line height */ 119"Roboto", "Noto Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 120; 121 122 123/* GENERAL COLOURS */ 124/* background */ /* foreground */ 125--color-primary: #3F51B5; --color-primary-text: #ffffff; 126--color-primary-1: #303F9F; --color-primary-1-text: #ffffff; 127--color-primary-2: #1A237E; --color-primary-2-text: #ffffff; 128--color-primary-3: #7986CB; --color-primary-3-text: #000000; 129--color-primary-4: #C5CAE9; --color-primary-4-text: #000000; 130 131--color-accent: #E91E63; --color-accent-text: #ffffff; 132--color-accent-1: #C2185B; --color-accent-1-text: #ffffff; 133--color-accent-2: #880E4F; --color-accent-2-text: #ffffff; 134--color-accent-3: #F06292; --color-accent-3-text: #000000; 135--color-accent-4: #F8BBD0; --color-accent-4-text: #000000; 136 137--color-background: #fafafa; --color-background-text: #000000df; 138--color-caption-text: #000000b9; 139--color-label-text: #000000df; 140 141--color-error: #d50000; --color-error-text: #ffffff; 142--color-alert: #ffab00; --color-alert-text: #000000; 143--color-info: #00b8d4; --color-info-text: #000000; 144--color-success: #00c853; --color-success-text: #ffffff; 145 146--color-not-accent: transparent; --color-not-accent-text: var(--color-background-text); 147 148--color-scheme: light; 149 150/* CODE BLOCKS */ 151--color-code: #263238; --color-code-text: #ffffff; 152--color-quote: #fafafa; --color-quote-text: #000000cc; 153--color-short-code: #f5f5f5; --color-short-code-text: #000000cc; 154--color-keyboard: #757575; --color-keyboard-text: #ffffff; 155 156--color-scheme-code: dark; 157 158--size-keyboard: 1.5em; 159--padding-keyboard: 0.375em; 160--padding-code: 12px; 161 162--radius-code: 0; 163--radius-short-code: 0.125em; 164--border-code: none; 165--border-short-code: none; 166 167--shadow-keyboard: 0 1px 1px 0 rgba(0, 0, 0, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.24); 168 169/* BUTTONS */ 170--color-button: var(--color-primary); --color-button-text: var(--color-primary-text); 171--color-button-hover: var(--color-primary); --color-button-hover-text: var(--color-primary-text); 172--color-button-active: var(--color-primary); --color-button-active-text: var(--color-primary-text); 173--color-flat-button: transparent; --color-flat-button-text: var(--color-primary); 174--color-flat-button-hover: #3F51B520; --color-flat-button-hover-text: var(--color-primary-2); 175--color-flat-button-active: #3F51B530; --color-flat-button-active-text: var(--color-primary-3); 176 177--shadow-button: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 178--shadow-button-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 179--shadow-flat-button: none; 180--shadow-flat-button-hover: none; 181 182--border-button: none; 183--border-button-hover: none; 184--border-flat-button: none; 185--border-flat-button-hover: none; 186 187--radius-button: 2px; 188--radius-round-button: 100vmin; 189--radius-flat-button: 2px; 190 191--height-button: 36px; 192--size-round-button: 48px; 193--margin-round-button: 8px; 194--padding-button: 4px 8px; 195--padding-round-button: 8px; 196--gap-button: 4px; 197--min-width-button: 64px; 198 199/* LINKS */ 200--color-link-text: #1e88e5; 201--color-link-hover-text: #1565c0; 202--color-link-active-text: #1e88e580; 203--color-link-visited-text: #1e88e5; 204--color-link-visited-hover-text: #1565c0; 205 206/* TOASTS */ 207--color-callout: #546e7a; --color-callout-text: #ffffff; 208--color-callout-1: #37474f; --color-callout-1-text: #ffffff; 209--color-callout-2: #78909c; --color-callout-2-text: #ffffff; 210--color-callout-button-text: var(--color-accent-4); 211 212--border-toast: none; 213--radius-toast: 2px; 214--gap-toast: 8px; 215--min-width-toast: 192px; 216--max-width-toast: 50%; 217--height-toast: 40px; 218--padding-toast: 0 0 0 8px; 219--toast-align-horizontal: end; 220--toast-align-vertical: end; 221--toast-stack: column-reverse wrap; 222--margin-toast: 12px; 223 224--shadow-toast: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 225 226/* CHECKBOXES */ 227--color-checkbox: var(--color-not-accent); --color-checkbox-text: var(--color-accent); 228--color-checkbox-hover: var(--color-not-accent); --color-checkbox-hover-text: var(--color-accent); 229--color-checkbox-active: var(--color-accent); --color-checkbox-active-text: var(--color-accent-text); 230--color-checkbox-indeterminate: var(--color-accent);--color-checkbox-indeterminate-text: var(--color-accent-text); 231--color-checkbox-indeterminate-hover: var(--color-accent);--color-checkbox-indeterminate-hover-text: var(--color-accent-text); 232--color-checkbox-active-hover: var(--color-accent);--color-checkbox-active-hover-text: var(--color-accent-text); 233--color-radio: var(--color-not-accent); --color-radio-text: var(--color-accent); 234--color-radio-active: var(--color-not-accent); --color-radio-active-text: var(--color-accent); 235--color-radio-hover: var(--color-not-accent); --color-radio-hover-text: var(--color-accent); 236--color-radio-active-hover: var(--color-not-accent);--color-radio-active-hover-text: var(--color-accent); 237 238--border-checkbox: 0.125em solid currentColor; 239--border-checkbox-checked: 0.125em solid var(--color-checkbox-active); 240--border-checkbox-indeterminate: 0.125em solid var(--color-checkbox-indeterminate); 241--border-checkbox-hover: 0.125em solid currentColor; 242--border-checkbox-checked-hover: 0.125em solid var(--color-checkbox-active); 243--border-checkbox-indeterminate-hover: 0.125em solid var(--color-checkbox-indeterminate); 244--border-radio: 0.125em solid currentColor; 245--border-radio-checked: 0.125em solid currentColor; 246--border-radio-hover: 0.125em solid currentColor; 247--border-radio-checked-hover: 0.125em solid currentColor; 248 249--color-switch: #eeeeee; --color-switch-thumb: #757575; 250--color-switch-on: var(--color-accent-4); --color-switch-thumb-on: var(--color-accent); 251--color-switch-hover: #eeeeee; --color-switch-thumb-hover: #757575; 252--color-switch-on-hover: var(--color-accent-4); --color-switch-thumb-on-hover: var(--color-accent); 253 254--border-switch: none; 255--border-switch-hover: none; 256--radius-switch: 1em; 257--height-switch: 0.75em; 258--width-switch: 2em; 259--border-switch-thumb: none; 260--border-switch-thumb-hover: none; 261--radius-switch-thumb: 1em; 262--width-switch-thumb: 1em; 263--height-switch-thumb: 1em; 264--padding-switch-thumb: 0em; /* for some reason, you must set the unit */ 265--width-switch-thumb-hover: 1em; 266--height-switch-thumb-hover: 1em; 267 268--shadow-switch: 0 0 0 0 transparent; /* none */ 269--shadow-switch-thumb: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40); 270--shadow-switch-hover: 0 0 0 0 transparent; /* none */ 271--shadow-switch-thumb-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40); 272 273--border-switch-on: none; 274--border-switch-on-hover: none; 275--border-switch-thumb-on: none; 276--border-switch-thumb-on-hover: none; 277--radius-switch-thumb-on: 1em; 278--width-switch-thumb-on: 1em; 279--height-switch-thumb-on: 1em; 280--padding-switch-thumb-on: 0em; /* for some reason, you must set the unit */ 281--width-switch-thumb-on-hover: 1em; 282--height-switch-thumb-on-hover: 1em; 283 284--shadow-switch-on: 0 0 0 0 transparent; /* none */ 285--shadow-switch-thumb-on: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40); 286--shadow-switch-on-hover: 0 0 0 0 transparent; /* none */ 287--shadow-switch-thumb-on-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40); 288 289--radius-checkbox: 0.125em; 290--radius-radio: 1em; 291--size-checkbox: 1em; 292 293--shadow-form: 0 0 0 0 transparent; /* none */ 294--shadow-form-checked: 0 0 0 0 transparent; /* none */ 295--shadow-form-indeterminate: 0 0 0 0 transparent; /* none */ 296--shadow-form-hover: 0 0 0 0 transparent; /* none */ 297--shadow-form-checked-hover: 0 0 0 0 transparent; /* none */ 298--shadow-form-indeterminate-hover: 0 0 0 0 transparent; /* none */ 299 300/* RANGES */ 301--color-range: var(--color-accent-4); --color-range-text: var(--color-accent); 302--color-range-hover: var(--color-accent-4); --color-range-hover-text: var(--color-accent); 303 304--border-range: none; 305--border-range-hover: none; 306--radius-range: 1em; 307--height-range: 0.75em; 308--border-range-thumb: none; 309--border-range-thumb-hover: none; 310--position-range-thumb: -12.5%; 311--position-range-thumb-hover: -12.5%; 312--radius-range-thumb: 1em; 313--width-range-thumb: 1em; 314--height-range-thumb: 1em; 315--width-range-thumb-hover: 1em; 316--height-range-thumb-hover: 1em; 317--shadow-range: 0 0 0 0 transparent; /* none */ 318--shadow-range-thumb: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40); 319--shadow-range-hover: 0 0 0 0 transparent; /* none */ 320--shadow-range-thumb-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40); 321 322/* CARDS */ 323--color-card: #ffffff; --color-card-text: #000000df; 324--color-figcaption-text: #000000df; 325 326--radius-card: 0; 327--outline-outlined-card: 1px solid #00000080; 328--radius-outlined-card: 4px; 329--border-card: none; 330--shadow-card: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 331 332--padding-card: 0 12px 12px 12px; 333--padding-card-top: 12px; 334--padding-card-figcaption: 0 12px 12px 12px; 335--figure-max-size-horizontal-card: clamp(200px, 50%, 768px); 336 337/* LAYOUT */ 338--gap-buttonbox: 4px; 339--gap-label-checkbox: 4px; 340--gap-label-input: 4px; 341--gap-box: 16px; 342 343/* NAVBAR */ 344--color-navbar: #546E7A; --color-navbar-text: var(--color-primary-text); 345--color-navbar-link: var(--color-primary-text); 346 347--height-navbar: 48px; 348--width-navbar-button: 56px; 349--padding-navbar: 12px; 350--gap-navbar: 0; 351--shadow-navbar: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 352--border-navbar: none; 353--radius-navbar: 0; 354 355/* NAVRAIL */ 356--color-navrail: #455a64; --color-navrail-text: var(--color-primary-text); 357--color-navrail-link: var(--color-primary-text); 358--color-navrail-link-hover: var(--color-primary-3); 359--color-navrail-link-selected: var(--color-primary-3); 360 361--width-navrail: 72px; 362--height-navrail-button: 56px; 363--padding-navrail: 0; 364--gap-navrail: 0; 365--shadow-navrail: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 366--border-navrail: none; 367--radius-navrail: 0; 368 369/* SIDENAV */ 370--color-sidenav: transparent; --color-sidenav-text: var(--color-caption-text); 371--gap-sidenav-item: 1ch; 372--padding-sidenav: 8px; 373 374/* BREADCRUMBS */ 375--color-breadcrumbs: var(--color-navbar); --color-breadcrumbs-text: var(--color-navbar-text); 376--color-breadcrumbs-link: var(--color-navbar-text); 377--color-breadcrumbs-separator: var(--color-navbar-text); 378 379--height-breadcrumbs: 48px; 380--padding-breadcrumbs: 8px; 381--shadow-breadcrumbs: var(--shadow-navbar); 382--border-breadcrumbs: none; 383--radius-breadcrumbs: 0; 384--separator-breadcrumbs: " > "; 385 386/* TABS */ 387--color-tab: var(--color-navbar); --color-tab-text: var(--color-navbar-text); 388--color-tab-selected: var(--color-navbar); --color-tab-selected-text: var(--color-navbar-text); 389--color-tab-hover: var(--color-navbar); --color-tab-hover-text: var(--color-navbar-text); 390--color-tab-hover-selected: var(--color-navbar); --color-tab-hover-selected-text: var(--color-navbar-text); 391 392--justify-tab-row: space-around; 393--height-tab: 36px; 394--width-tab: 80px; 395--align-tab: center; 396--border-tab: none; 397--border-tab-selected: none; 398--radius-tab: 0; 399 400/* DIVIDERS */ 401--line-divider: 1px solid #00000080; 402 403/* LISTS */ 404--style-unordered-list: disc; 405--color-unordered-list-marker: currentColor; 406--font-unordered-list-marker: var(--body-font); 407--indent-unordered-list: 1em; 408 409--style-ordered-list: decimal; 410--color-ordered-list-marker: currentColor; 411--font-ordered-list-marker: var(--body-font); 412--indent-ordered-list: 1em; 413 414/* TABLES */ 415--padding-cell: 1ch; 416--border-cell-horizontal: 1px solid #00000020; 417--border-cell-vertical: 1px solid #00000040; 418--color-table: #fafafa; --color-table-text: #000000; 419--color-row-odd: #00000010; --color-row-odd-text: #000000; 420--color-row-even: transparent; --color-row-even-text: #000000; 421--color-row-header: var(--color-primary-1); --color-row-header-text: var(--color-primary-1-text); 422 423/* BADGES */ 424--border-badge: none; 425--shadow-badge: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 426--x-badge: 100%; 427--y-badge: 25%; 428--width-badge: 2.25ch; 429--height-badge: 2.25ch; 430--radius-badge: 3ch; 431--padding-badge: 0.25ch; 432--color-badge: var(--color-accent); --color-badge-text: var(--color-accent-text); 433 434/* AVATARS */ 435--radius-avatar: 0; 436 437/* BUBBLES */ 438--border-bubble: none; 439--shadow-bubble: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 440--radius-bubble: 1em; 441--padding-bubble: 1ch; 442--color-bubble: var(--color-accent-1); --color-bubble-text: var(--color-accent-1-text); 443--color-bubble-alt: var(--color-accent-4); --color-bubble-alt-text: var(--color-accent-4-text); 444 445/* INPUTS */ 446--color-input: #ffffff; --color-input-text: #000000bb; 447--color-input-hover: #ffffff; --color-input-hover-text: #000000bb; 448--color-input-active: #ffffff; --color-input-active-text: #000000df; 449--color-flat-input: transparent; --color-flat-input-text: #000000bb; 450--color-flat-input-hover: transparent; --color-flat-input-hover-text: #000000bb; 451--color-flat-input-active: transparent; --color-flat-input-active-text: #000000df; 452 453--shadow-input: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 454--shadow-input-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 455--shadow-input-active: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 456--shadow-flat-input: none; 457--shadow-flat-input-hover: none; 458--shadow-flat-input-active: none; 459 460--border-input: none; 461--border-input-hover: none; 462--border-input-active: none; 463--border-flat-input: none; 464--border-flat-input-hover: none; 465--border-flat-input-active: none; 466 467--radius-input: 2px; 468--radius-flat-input: 2px; 469 470--height-input: 36px; 471--padding-input: 4px 8px; 472--min-width-input: 64px; 473 474--size-input-icon: 16px; 475 476/* TEXTAREAS */ 477--color-textarea: #ffffff; --color-textarea-text: #000000bb; 478--color-textarea-hover: #ffffff; --color-textarea-hover-text: #000000bb; 479--color-textarea-active: #ffffff; --color-textarea-active-text: #000000df; 480--color-flat-textarea: transparent; --color-flat-textarea-text: #000000bb; 481--color-flat-textarea-hover: transparent; --color-flat-textarea-hover-text: #000000bb; 482--color-flat-textarea-active: transparent; --color-flat-textarea-active-text: #000000df; 483 484--shadow-textarea: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 485--shadow-textarea-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 486--shadow-textarea-active: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 487--shadow-flat-textarea: none; 488--shadow-flat-textarea-hover: none; 489--shadow-flat-textarea-active: none; 490 491--border-textarea: none; 492--border-textarea-hover: none; 493--border-textarea-active: none; 494--border-flat-textarea: 1px solid #00000040; 495--border-flat-textarea-hover: 1px solid #00000040; 496--border-flat-textarea-active: 1px solid #00000040; 497 498--radius-textarea: 2px; 499--radius-flat-textarea: 8px; 500 501--padding-textarea: 8px; 502 503/* MENUS */ 504--color-toolbar: #ffffff; --color-toolbar-text: #000000bb; 505--color-menu: #ffffff; --color-menu-text: #000000bb; 506--color-menu-item: transparent; --color-menu-item-text: #000000bb; 507--color-menu-item-hover: #00000010; --color-menu-item-hover-text: #000000bb; 508 509--gap-toolbar: 4px; 510--gap-menu: 0; 511--border-toolbar: none; 512--border-menu: none; 513--border-menu-item: none; 514--shadow-toolbar: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 515--shadow-menu: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 516--height-toolbar: 48px; 517--height-menu-item: 24px; 518--width-toolbar: fit-content; 519--radius-toolbar: 0; 520--radius-menu: 0; 521--padding-toolbar: 4px; 522--padding-menu: 2px 0; 523--padding-menu-item: 2px 8px; 524 525/* DIALOGS */ 526--color-modal-backdrop: radial-gradient(circle, #00000040 12.5%, #000000cc 100%); 527 528--tap-highlight-color: transparent; 529} 530 531/* Make headings smaller */ 532@media screen and (max-width: 576px) { 533h2 { 534font-size: 1.59375rem; 535line-height: 1.75rem; 536} 537h1 { 538font-size: 2.0625rem; 539line-height: 2.25rem; 540} 541h1.headline { 542font-size: 2.4375rem; 543line-height: 2.75rem; 544font-weight: 300; 545} 546} 547 548/* Extra styles */ 549 550h6 { 551/* Make it look nicer */ 552text-transform: uppercase; 553color: var(--color-accent); 554} 555 556:any-link, .link-button { 557/* Make them nicer, not possible with the font property */ 558font-weight: 500; 559text-decoration: underline; 560text-decoration-thickness: .05em; 561text-underline-offset: .1em; 562} 563 564button, .button, input[type=button], input[type=submit], input[type=reset], input[type="file"]::file-selector-button { 565/* Make it look nicer */ 566text-transform: uppercase; 567} 568 569.toast-container li { 570/* Toast appear */ 571animation: toastSlide 750ms cubic-bezier(0.16, 1, 0.3, 1); 572transform-origin: bottom; 573} 574 575.toast-container li.removing { 576/* Toast disappear */ 577animation: toastCompress 500ms cubic-bezier(0.55, 0, 1, 0.45); 578} 579 580.toast-container li.removing ~ li { 581/* TODO */ 582} 583 584@keyframes toastSlide { 5850% { 586opacity: 0; 587transform: translateY(100vh); 588} 589 590100% { 591opacity: 1; 592transform: translateY(0); 593} 594} 595 596@keyframes toastCompress { 5970% { 598transform: rotateX(0); 599opacity: 1; 600} 601 602100% { 603transform: rotateX(180deg); 604opacity: 0; 605} 606} 607 608input[type="checkbox"]:not(.switch):checked::after, input[type="checkbox"]:not(.switch):indeterminate::after, input[type="radio"]:checked::after { 609/* Checked */ 610animation: check 250ms cubic-bezier(0.61, 1, 0.88, 1); 611} 612 613input[type="checkbox"]:not(.switch), input[type="radio"] { 614/* Transition background */ 615transition: box-shadow 250ms cubic-bezier(0.61, 1, 0.88, 1); 616} 617 618input[type="checkbox"].switch::after { 619/* Transition switch thumb */ 620transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 621} 622 623input[type="range"]::-webkit-slider-thumb { 624transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 625} 626 627input[type="range"]::-moz-range-thumb { 628transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 629} 630 631button, .button, input[type="file"]::file-selector-button, input, select, textarea { 632transition: box-shadow 375ms cubic-bezier(0.5, 1, 0.89, 1), background 375ms cubic-bezier(0.5, 1, 0.89, 1), color 375ms cubic-bezier(0.5, 1, 0.89, 1); 633} 634 635@keyframes check { 6360% { 637transform: scale(0); 638} 639 640100% { 641transform: scale(1); 642} 643} 644 645.navbar { 646position: sticky; 647} 648 649:is(.navbar, .breadcrumbs) a:not(:hover) { 650text-decoration: none; 651} 652 653x-notebook > label:has(input[type="radio"]:checked) { 654border-bottom: 4px solid var(--color-accent); 655transition: border 125ms ease; 656} 657 658x-notebook > label { 659text-transform: uppercase; 660font-weight: 600; 661flex: 1 0 auto; 662} 663 664th, ol.table > li.list-header { 665border: none; 666} 667 668th, td { 669text-align: start; 670} 671 672.chat-bubble::before { 673content: ""; 674position: absolute; 675width: 1em; 676height: 1em; 677border: 0.75em solid; 678border-color: transparent var(--color-bubble) transparent transparent; 679left: -1.5em; 680top: 1em; 681} 682 683.bubble-alt::before { 684content: ""; 685position: absolute; 686width: 1em; 687height: 1em; 688border: 0.75em solid; 689border-color: transparent transparent transparent var(--color-bubble-alt); 690transform: translateX(100%); 691width: 100%; 692left: 0; 693top: 1em; 694} 695 696::placeholder { 697opacity: 0.5; 698} 699 700:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range], [type=color]), select).input-flat { 701border-bottom: 2px solid var(--color-primary) !important; 702} 703 704:disabled { 705opacity: 0.5; 706} 707 708input[type="color"] { 709padding: 0; 710border: 0; 711overflow: hidden; 712} 713 714input[type="color"]::-webkit-color-swatch { 715border: none; 716} 717 718input[type="color"]::-webkit-color-swatch-wrapper { 719padding: 0; 720} 721 722:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range]), select, textarea):focus { 723outline: none; /* there is a blinking cursor, better not to have an outline */ 724} 725 726textarea { 727font: var(--mono-font); 728} 729 730button:has(iconify-icon) { 731min-width: var(--height-button); 732} 733 734details.dropdown[open] > summary ~ * { 735animation: menu 375ms cubic-bezier(0.22, 1, 0.36, 1); 736transform-origin: top; 737} 738 739@keyframes menu { 7400% { 741transform: rotateX(-90deg); 742opacity: 0; 743} 744 745100% { 746transform: rotateX(0); 747opacity: 1; 748} 749} 750 751details.slidein[open] > summary ~ * { 752animation: menu2 375ms cubic-bezier(0.22, 1, 0.36, 1); 753transform-origin: left; 754} 755 756@keyframes menu2 { 7570% { 758transform: rotateY(-90deg); 759opacity: 0; 760} 761 762100% { 763transform: rotateY(0); 764opacity: 1; 765} 766} 767 768dialog:modal { 769animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 770transform-origin: center; 771} 772 773dialog { 774transition: opacity 250ms cubic-bezier(0.33, 1, 0.68, 1); 775} 776 777dialog.sheet-left:modal { 778animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1); 779transform-origin: left; 780} 781 782dialog.sheet-right:modal { 783animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1); 784transform-origin: right; 785} 786 787dialog.sheet-top:modal { 788animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 789transform-origin: top; 790} 791 792dialog.sheet-bottom:modal { 793animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 794transform-origin: bottom; 795} 796 797dialog::backdrop { 798backdrop-filter: saturate(0.5) contrast(0.5) brightness(1.25) blur(2px); 799} 800 801@keyframes entranceX { 8020% { 803transform: rotateY(-90deg); 804} 805100% { 806transform: rotateY(0); 807} 808} 809 810@keyframes entranceY { 8110% { 812transform: rotateX(-90deg); 813} 814100% { 815transform: rotateX(0); 816} 817} 818 819@keyframes fade { 8200% { 821opacity: 0; 822} 823100% { 824opacity: 1; 825} 826} 827 828:where(.navrail, .navbar, .sidenav) > iconify-icon { 829font-size: 1.5rem; 830} 831 832.navbar > *, .navbar > ul > li > * { 833min-height: var(--height-navbar); 834display: flex; 835align-items: center; 836justify-content: center; 837} 838 839header:has(.navbar) .breadcrumbs { 840z-index: 2 !important; 841position: relative; 842box-shadow: none; 843} 844 845.navbar a { 846font-weight: 500; 847} 848 849x-notebook > label:has(input[type="radio"]:checked) { 850background: var(--color-tab-selected); 851color: var(--color-tab-selected-text); 852border: none; 853box-shadow: inset 0 -4px 0 var(--color-accent); 854transition: box-shadow 125ms ease; 855} 856 857x-notebook > label:has(input[type="radio"]) { 858transition: box-shadow 125ms ease; 859} 860 861* { 862-webkit-tap-highlight-color: var(--tap-highlight-color); 863} 864