mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: make relearn color neutral
This commit is contained in:
parent
0ac5a7001a
commit
56c680d7a7
4 changed files with 10 additions and 9 deletions
|
@ -19,7 +19,7 @@
|
|||
--CODE-BLOCK-BORDER-color: #2b2b2b; /* color of block code border */
|
||||
|
||||
--CODE-INLINE-color: #82e550; /* color for inline code text */
|
||||
--CODE-INLINE-BG-color: #282a36; /* color for inline code background */
|
||||
--CODE-INLINE-BG-color: #2d2d2d; /* color for inline code background */
|
||||
--CODE-INLINE-BORDER-color: #464646; /* color of inline code border */
|
||||
|
||||
--MENU-HOME-LINK-color: #323232; /* Color of the home button text */
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
:root {
|
||||
--MAIN-TEXT-color: #101010; /* Color of text by default */
|
||||
--MAIN-TITLES-TEXT-color: #444753; /* Color of titles h2-h3-h4-h5-h6 */
|
||||
--MAIN-TITLES-TEXT-color: #4a4a4a; /* Color of titles h2-h3-h4-h5-h6 */
|
||||
--MAIN-LINK-color: #486ac9; /* Color of links */
|
||||
--MAIN-LINK-HOVER-color: #134fbf; /* Color of hovered links */
|
||||
--MAIN-ANCHOR-color: #486ac9; /* color of anchors on titles */
|
||||
|
@ -32,8 +32,8 @@
|
|||
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BOX-color: #e0e0e0; /* Override search field border color */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: #202028; /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #282830; /* Background color of other sections */
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #282828; /* Background color of other sections */
|
||||
--MENU-SECTIONS-LINK-color: #bababa; /* Color of links in menu */
|
||||
--MENU-SECTIONS-LINK-HOVER-color: #ffffff; /* Color of links in menu, when hovered */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-color: #444444; /* Color of active category text */
|
||||
|
|
|
@ -87,7 +87,7 @@ th {
|
|||
}
|
||||
|
||||
#sidebar {
|
||||
background: #282830; /* var(--MENU-SECTIONS-BG-color) */
|
||||
background: #282828; /* var(--MENU-SECTIONS-BG-color) */
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -224,7 +224,7 @@ th {
|
|||
}
|
||||
|
||||
#sidebar ul.topics > li.parent {
|
||||
background-color: #202028; /* var(--MENU-SECTIONS-ACTIVE-BG-color) */
|
||||
background-color: rgba( 0, 0, 0, .166 ); /* var(--MENU-SECTIONS-ACTIVE-BG-color) */
|
||||
margin-left: -1rem;
|
||||
margin-right: -1rem;
|
||||
padding-left: 1rem;
|
||||
|
@ -421,7 +421,7 @@ h1 {
|
|||
}
|
||||
|
||||
h2, h3, h4, h5, h6 {
|
||||
color: #444753; /* var(--MAIN-TITLES-TEXT-color) */
|
||||
color: #4a4a4a; /* var(--MAIN-TITLES-TEXT-color) */
|
||||
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
|
||||
letter-spacing: -1px;
|
||||
text-rendering: optimizeLegibility;
|
||||
|
@ -585,7 +585,7 @@ div.box.transparent {
|
|||
}
|
||||
|
||||
div.box.transparent > .box-label {
|
||||
color: #444753; /* var(--MAIN-TITLES-TEXT-color) */
|
||||
color: #4a4a4a; /* var(--MAIN-TITLES-TEXT-color) */
|
||||
}
|
||||
|
||||
div.box.transparent > .box-content {
|
||||
|
|
|
@ -32,7 +32,8 @@
|
|||
--INTERNAL-MENU-SEARCH-color: var(--MENU-SEARCH-color, #e0e0e0);
|
||||
--INTERNAL-MENU-SEARCH-BG-color: var(--MENU-SEARCH-BG-color, #323232);
|
||||
--INTERNAL-MENU-SEARCH-BOX-color: var(--MENU-SEARCH-BOX-color, var(--INTERNAL-MENU-SEARCH-BG-color));
|
||||
--INTERNAL-MENU-SECTIONS-ACTIVE-BG-color: var(--MENU-SECTIONS-ACTIVE-BG-color, #202028);
|
||||
|
||||
--INTERNAL-MENU-SECTIONS-ACTIVE-BG-color: var(--MENU-SECTIONS-ACTIVE-BG-color, rgba( 0, 0, 0, .166 ));
|
||||
--INTERNAL-MENU-SECTIONS-BG-color: var(--MENU-SECTIONS-BG-color, #282830);
|
||||
--INTERNAL-MENU-SECTIONS-LINK-color: var(--MENU-SECTIONS-LINK-color, #bababa);
|
||||
--INTERNAL-MENU-SECTIONS-LINK-HOVER-color: var(--MENU-SECTIONS-LINK-HOVER-color, var(--INTERNAL-MENU-SECTIONS-LINK-color));
|
||||
|
|
Loading…
Reference in a new issue