mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
57 lines
3.3 KiB
CSS
57 lines
3.3 KiB
CSS
/* 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 {
|
|
--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 */
|
|
|
|
/* adjusted to base16-snazzy chroma style */
|
|
--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 */
|
|
|
|
--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 */
|
|
|
|
--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 */
|
|
|
|
--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 */
|
|
|
|
--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 */
|
|
|
|
--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) */
|
|
|
|
--MENU-VISITED-color: rgba( 0, 189, 243, 1 ); /* Color of 'page visited' icons in menu */
|
|
--MENU-SECTION-HR-color: rgba( 42, 35, 47, 1 ); /* Color of <hr> separator in menu */
|
|
|
|
/* 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 */
|
|
}
|
|
|
|
body a#logo,
|
|
body a#logo:hover,
|
|
body #logo svg,
|
|
body #logo svg * {
|
|
color: var(--INTERNAL-MENU-SEARCH-color);
|
|
fill: var(--INTERNAL-MENU-SEARCH-color) !important;
|
|
}
|