hugo-theme-relearn/static/css/theme-red.css

131 lines
4 KiB
CSS
Raw Normal View History

:root {
2017-08-08 21:24:09 +00:00
--MAIN-TEXT-color:#323232; /* Color of text by default */
2021-09-28 22:24:54 +00:00
--MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5-h6 */
2017-08-08 21:24:09 +00:00
--MAIN-LINK-color:#f31c1c; /* Color of links */
--MAIN-LINK-HOVER-color:#d01616; /* Color of hovered links */
2017-08-09 19:20:37 +00:00
--MAIN-ANCHOR-color: #f31c1c; /* color of anchors on titles */
--MENU-HOME-LINK-color: #ccc; /* Color of the home button text */
--MENU-HOME-LINK-HOVER-color: #e6e6e6; /* Color of the hovered home button text */
2017-08-08 21:24:09 +00:00
--MENU-HEADER-BG-color:#dc1010; /* Background color of menu header */
--MENU-HEADER-BORDER-color:#e23131; /*Color of menu header border */
2017-08-09 19:20:37 +00:00
2017-08-08 21:24:09 +00:00
--MENU-SEARCH-BG-color:#b90000; /* Search field background color (by default borders + icons) */
--MENU-SEARCH-BOX-color: #ef2020; /* Override search field border color */
--MENU-SEARCH-BOX-ICONS-color: #fda1a1; /* Override search field icons color */
2017-08-09 19:20:37 +00:00
--MENU-SECTIONS-ACTIVE-BG-color:#2b2020; /* Background color of the active section and its children */
2017-08-08 21:24:09 +00:00
--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) */
2017-08-08 21:24:09 +00:00
--MENU-VISITED-color: #ff3333; /* Color of 'page visited' icons in menu */
--MENU-SECTION-HR-color: #2b2020; /* Color of <hr> separator in menu */
}
body {
color: var(--MAIN-TEXT-color) !important;
}
2017-08-09 19:20:37 +00:00
textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
border-color: none;
box-shadow: none;
}
2021-09-28 22:24:54 +00:00
h2, h3, h4, h5, h6 {
2017-08-08 21:24:09 +00:00
color: var(--MAIN-TITLES-TEXT-color) !important;
}
a {
color: var(--MAIN-LINK-color);
}
2017-08-09 19:20:37 +00:00
.anchor {
color: var(--MAIN-ANCHOR-color);
}
2017-08-08 21:24:09 +00:00
a:hover {
color: var(--MAIN-LINK-HOVER-color);
}
#sidebar ul li.visited > a .read-icon {
color: var(--MENU-VISITED-color);
2017-08-08 21:24:09 +00:00
}
#body a.highlight:after {
display: block;
content: "";
height: 1px;
width: 0%;
-webkit-transition: width 0.5s ease;
-moz-transition: width 0.5s ease;
-ms-transition: width 0.5s ease;
transition: width 0.5s ease;
2018-01-22 21:35:58 +00:00
background-color: var(--MAIN-LINK-HOVER-color);
2017-08-08 21:24:09 +00:00
}
2017-08-08 21:24:09 +00:00
#sidebar {
background-color: var(--MENU-SECTIONS-BG-color);
2017-08-08 21:24:09 +00:00
}
2017-08-08 21:24:09 +00:00
#sidebar #header-wrapper {
background: var(--MENU-HEADER-BG-color);
color: var(--MENU-SEARCH-BOX-color);
border-color: var(--MENU-HEADER-BORDER-color);
}
2017-08-08 21:24:09 +00:00
#sidebar .searchbox {
border-color: var(--MENU-SEARCH-BOX-color);
2017-08-08 21:24:09 +00:00
background: var(--MENU-SEARCH-BG-color);
}
2017-08-08 21:24:09 +00:00
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
background: var(--MENU-SECTIONS-ACTIVE-BG-color);
}
2017-08-08 21:24:09 +00:00
#sidebar .searchbox * {
color: var(--MENU-SEARCH-BOX-ICONS-color);
}
#sidebar a {
color: var(--MENU-SECTIONS-LINK-color);
}
#sidebar a:hover {
color: var(--MENU-SECTIONS-LINK-HOVER-color);
}
#sidebar ul li.active > a {
background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
}
#sidebar hr {
border-color: var(--MENU-SECTION-HR-color);
}
2018-11-29 08:34:55 +00:00
#body .tags a.tag-link {
background-color: var(--MENU-HEADER-BG-color);
2018-11-29 08:34:55 +00:00
}
#body .tags a.tag-link:before {
border-right-color: var(--MENU-HEADER-BG-color);
}
#homelinks {
background: var(--MENU-HEADER-BG-color);
background-color: var(--MENU-HEADER-BORDER-color);
border-bottom-color: var(--MENU-HEADER-BORDER-color);
}
#homelinks a {
color: var(--MENU-HOME-LINK-color);
}
#homelinks a:hover {
color: var(--MENU-HOME-LINK-HOVER-color);
}