2022-02-15 07:38:12 +00:00
|
|
|
/* here in this showcase we use our own modified chroma syntax highlightning style;
|
|
|
|
if you want to use a predefined style instead:
|
|
|
|
- remove `markup.highlight.noClasses` from your config.toml
|
|
|
|
- set `markup.highlight.style` to a predefined style name in your config.toml
|
|
|
|
- remove the following `@import` of the self-defined chroma stylesheet */
|
|
|
|
@import "chroma-learn.css";
|
|
|
|
|
2022-02-10 23:59:40 +00:00
|
|
|
:root {
|
2023-05-27 22:04:44 +00:00
|
|
|
--MAIN-TEXT-color: rgba( 50, 50, 50, 1 ); /* Color of text by default */
|
|
|
|
--MAIN-TITLES-TEXT-color: rgba( 94, 94, 94, 1 ); /* Color of titles h2-h3-h4-h5-h6 */
|
|
|
|
--MAIN-TITLES-H1-color: rgba( 34, 34, 34, 1 ); /* text color of h1 titles */
|
|
|
|
--MAIN-LINK-color: rgba( 0, 189, 243, 1 ); /* Color of links */
|
|
|
|
--MAIN-LINK-HOVER-color: rgba( 0, 130, 167, 1 ); /* Color of hovered links */
|
|
|
|
--MAIN-BG-color: rgba( 255, 255, 255, 1 ); /* color of text by default */
|
2022-02-10 23:59:40 +00:00
|
|
|
|
|
|
|
/* adjusted to base16-snazzy chroma style */
|
2023-05-27 22:04:44 +00:00
|
|
|
--CODE-BLOCK-color: rgba( 226, 228, 229, 1 ); /* fallback color for code text */
|
|
|
|
--CODE-BLOCK-BG-color: rgba( 40, 42, 54, 1 ); /* fallback color for code background */
|
|
|
|
--CODE-BLOCK-BORDER-color: rgba( 40, 42, 54, 1 ); /* color of block code border */
|
2022-02-10 23:59:40 +00:00
|
|
|
|
2023-05-27 22:04:44 +00:00
|
|
|
--CODE-INLINE-color: rgba( 94, 94, 94, 1 ); /* color for inline code text */
|
|
|
|
--CODE-INLINE-BG-color: rgba( 255, 247, 221, 1 ); /* color for inline code background */
|
|
|
|
--CODE-INLINE-BORDER-color: rgba( 251, 240, 203, 1 ); /* color of inline code border */
|
2022-02-10 23:59:40 +00:00
|
|
|
|
2023-05-27 22:04:44 +00:00
|
|
|
--MENU-HOME-LINK-color: rgba( 224, 224, 224, 1 ); /* Color of the home button text */
|
|
|
|
--MENU-HOME-LINK-HOVER-color: rgba( 240, 240, 240, 1 ); /* Color of the hovered home button text */
|
2022-02-10 23:59:40 +00:00
|
|
|
|
2023-05-27 22:04:44 +00:00
|
|
|
--MENU-HEADER-BG-color: rgba( 132, 81, 161, 1 ); /* Background color of menu header */
|
|
|
|
--MENU-HEADER-BORDER-color: rgba( 156, 111, 182, 1 ); /*Color of menu header border */
|
2022-02-10 23:59:40 +00:00
|
|
|
|
2023-05-27 22:04:44 +00:00
|
|
|
--MENU-SEARCH-color: rgba( 255, 255, 255, 1 ); /* Color of search field text */
|
|
|
|
--MENU-SEARCH-BG-color: rgba( 118, 72, 144, 1 ); /* Search field background color (by default borders + icons) */
|
|
|
|
--MENU-SEARCH-BORDER-color: rgba( 145, 94, 174, 1 ); /* Override search field border color */
|
2022-02-10 23:59:40 +00:00
|
|
|
|
2023-05-27 22:04:44 +00:00
|
|
|
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 37, 31, 41, 1 ); /* Background color of the active section and its children */
|
|
|
|
--MENU-SECTIONS-BG-color: rgba( 50, 42, 56, 1 ); /* Background color of other sections */
|
|
|
|
--MENU-SECTIONS-LINK-color: rgba( 204, 204, 204, 1 ); /* Color of links in menu */
|
|
|
|
--MENU-SECTIONS-LINK-HOVER-color: rgba( 230, 230, 230, 1 ); /* Color of links in menu, when hovered */
|
|
|
|
--MENU-SECTION-ACTIVE-CATEGORY-color: rgba( 119, 119, 119, 1 ); /* Color of active category text */
|
|
|
|
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: rgba( 255, 255, 255, 1 ); /* Color of background for the active category (only) */
|
2022-02-10 23:59:40 +00:00
|
|
|
|
2023-05-27 22:04:44 +00:00
|
|
|
--MENU-VISITED-color: rgba( 0, 189, 243, 1 ); /* Color of 'page visited' icons in menu */
|
2023-08-25 01:14:09 +00:00
|
|
|
--MENU-SECTION-SEPARATOR-color: rgba( 42, 35, 47, 1 ); /* Color of <hr> separator in menu */
|
2022-02-16 00:38:44 +00:00
|
|
|
|
|
|
|
/* base styling for boxes */
|
|
|
|
--BOX-CAPTION-color: rgba( 255, 255, 255, 1 ); /* color of the title text */
|
|
|
|
--BOX-BG-color: rgba( 255, 255, 255, .833 ); /* color of the content background */
|
|
|
|
--BOX-TEXT-color: rgba( 16, 16, 16, 1 ); /* fixed color of the content text */
|
2022-02-10 23:59:40 +00:00
|
|
|
}
|
2022-04-11 20:28:35 +00:00
|
|
|
|
|
|
|
body a#logo,
|
2023-02-26 11:11:57 +00:00
|
|
|
body a#logo:hover,
|
2022-04-11 20:28:35 +00:00
|
|
|
body #logo svg,
|
|
|
|
body #logo svg * {
|
|
|
|
color: var(--INTERNAL-MENU-SEARCH-color);
|
|
|
|
fill: var(--INTERNAL-MENU-SEARCH-color) !important;
|
|
|
|
}
|