2023-07-02 02:46:54 +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";
|
|
|
|
|
|
|
|
:root {
|
2024-11-20 06:08:16 +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( 89, 154, 62, 1 ); /* Color of links */
|
|
|
|
--MAIN-LINK-HOVER-color: rgba( 63, 109, 44, 1 ); /* Color of hovered links */
|
|
|
|
--MAIN-BG-color: rgba( 255, 255, 255, 1 ); /* color of text by default */
|
2023-07-02 02:46:54 +00:00
|
|
|
|
|
|
|
/* adjusted to base16-snazzy chroma style */
|
2024-11-20 06:08:16 +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 */
|
2023-07-02 02:46:54 +00:00
|
|
|
|
2024-11-20 06:08:16 +00:00
|
|
|
--CODE-INLINE-color: rgba( 94, 94, 94, 1 ); /* color for inline code text */
|
|
|
|
--CODE-INLINE-BG-color: rgba( 255, 250, 233, 1 ); /* color for inline code background */
|
|
|
|
--CODE-INLINE-BORDER-color: rgba( 248, 232, 200, 1 ); /* color of inline code border */
|
2023-07-02 02:46:54 +00:00
|
|
|
|
2024-11-20 06:08:16 +00:00
|
|
|
--MENU-HOME-LINK-color: rgba( 46, 59, 46, 1 ); /* Color of the home button text */
|
|
|
|
--MENU-HOME-LINK-HOVER-color: rgba( 0, 0, 0, 1 ); /* Color of the hovered home button text */
|
2023-07-02 02:46:54 +00:00
|
|
|
|
2024-11-20 06:08:16 +00:00
|
|
|
--MENU-HEADER-BG-color: rgba( 116, 181, 89, 1 ); /* Background color of menu header */
|
|
|
|
--MENU-HEADER-BORDER-color: rgba( 156, 212, 132, 1 ); /*Color of menu header border */
|
2023-07-02 02:46:54 +00:00
|
|
|
|
2024-11-20 06:08:16 +00:00
|
|
|
--MENU-SEARCH-color: rgba( 255, 255, 255, 1 ); /* Color of search field text */
|
|
|
|
--MENU-SEARCH-BG-color: rgba( 89, 154, 62, 1 ); /* Search field background color (by default borders + icons) */
|
|
|
|
--MENU-SEARCH-BORDER-color: rgba( 132, 199, 103, 1 ); /* Override search field border color */
|
2023-07-02 02:46:54 +00:00
|
|
|
|
2024-11-20 06:08:16 +00:00
|
|
|
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 27, 33, 28, 1 ); /* Background color of the active section and its children */
|
|
|
|
--MENU-SECTIONS-BG-color: rgba( 34, 39, 35, 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) */
|
2023-07-02 02:46:54 +00:00
|
|
|
|
2024-11-20 06:08:16 +00:00
|
|
|
--MENU-VISITED-color: rgba( 89, 154, 62, 1 ); /* Color of 'page visited' icons in menu */
|
|
|
|
--MENU-SECTION-HR-color: rgba( 24, 33, 28, 1 ); /* Color of <hr> separator in menu */
|
2023-07-02 02:46:54 +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 */
|
|
|
|
}
|