mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
c16680cb5c
so theme switching also will switch the sh-theme
44 lines
2.5 KiB
CSS
44 lines
2.5 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: #323232; /* Color of text by default */
|
|
--MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5-h6 */
|
|
--MAIN-LINK-color: #f31c1c; /* Color of links */
|
|
--MAIN-LINK-HOVER-color: #d01616; /* Color of hovered links */
|
|
--MAIN-ANCHOR-color: #f31c1c; /* color of anchors on titles */
|
|
--MAIN-BG-color: #ffffff; /* color of text by default */
|
|
|
|
/* adjusted to base16-snazzy chroma style */
|
|
--CODE-BLOCK-color: #e2e4e5; /* fallback color for code text */
|
|
--CODE-BLOCK-BG-color: #282a36; /* fallback color for code background */
|
|
--CODE-BLOCK-BORDER-color: #282a36; /* color of block code border */
|
|
|
|
--CODE-INLINE-color: #5e5e5e; /* color for inline code text */
|
|
--CODE-INLINE-BG-color: #fffae9; /* color for inline code background */
|
|
--CODE-INLINE-BORDER-color: #f8e8c8; /* color of inline code border */
|
|
|
|
--MENU-HOME-LINK-color: #ccc; /* Color of the home button text */
|
|
--MENU-HOME-LINK-HOVER-color: #e6e6e6; /* Color of the hovered home button text */
|
|
|
|
--MENU-HEADER-BG-color: #dc1010; /* Background color of menu header */
|
|
--MENU-HEADER-BORDER-color: #e23131; /*Color of menu header border */
|
|
|
|
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
|
|
--MENU-SEARCH-BG-color: #b90000; /* Search field background color (by default borders + icons) */
|
|
--MENU-SEARCH-BOX-color: #ef2020; /* Override search field border color */
|
|
|
|
--MENU-SECTIONS-ACTIVE-BG-color: #2b2020; /* Background color of the active section and its children */
|
|
--MENU-SECTIONS-BG-color: #312525; /* Background color of other sections */
|
|
--MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
|
|
--MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */
|
|
--MENU-SECTION-ACTIVE-CATEGORY-color: #777; /* Color of active category text */
|
|
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fff; /* Color of background for the active category (only) */
|
|
|
|
--MENU-VISITED-color: #ff3333; /* Color of 'page visited' icons in menu */
|
|
--MENU-SECTION-HR-color: #2b2020; /* Color of <hr> separator in menu */
|
|
}
|