encompass-cs-docs/static/css/theme-encompass.css

194 lines
5.3 KiB
CSS
Raw Normal View History

2019-05-22 00:29:34 +00:00
:root{
--MAIN-TEXT-color:#323232; /* Color of text by default */
--MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */
2019-05-22 02:15:59 +00:00
--MAIN-LINK-color:#71b986; /* Color of links */
--MAIN-LINK-HOVER-color:#317a53; /* Color of hovered links */
--MAIN-ANCHOR-color: #71b986; /* color of anchors on titles */
2019-05-22 00:29:34 +00:00
--MENU-HEADER-BG-color:#225969; /* Background color of menu header */
--MENU-HEADER-BORDER-color:#3E7483; /*Color of menu header border */
--MENU-SEARCH-BG-color:#4C8D90; /* Search field background color (by default borders + icons) */
--MENU-SEARCH-BOX-color: #93B7C1; /* Override search field border color */
--MENU-SEARCH-BOX-ICONS-color: #C8DCE2; /* Override search field icons color */
2019-05-22 02:13:45 +00:00
--MENU-SECTIONS-ACTIVE-BG-color:#03254E; /* Background color of the active section and its childs */
--MENU-SECTIONS-BG-color:#011936; /* Background color of other sections */
2019-05-22 00:29:34 +00:00
--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 */
2019-05-22 02:13:45 +00:00
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fcf7f8; /* Color of background for the active category (only) */
2019-05-22 00:29:34 +00:00
2019-05-22 02:15:59 +00:00
--MENU-VISITED-color: #71b986; /* Color of 'page visited' icons in menu */
2019-05-22 00:29:34 +00:00
--MENU-SECTION-HR-color: #20272b; /* Color of <hr> separator in menu */
}
2020-03-02 09:01:03 +00:00
@font-face {
font-family: 'Public Sans';
src: url("../fonts/publicsans-regular-webfont.woff") format("woff");
src: url("../fonts/publicsans-regular-webfont.woff2") format("woff2");
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: 'Public Sans';
src: url("../fonts/publicsans-light-webfont.woff") format("woff");
src: url("../fonts/publicsans-light-webfont.woff2") format("woff2");
font-style: normal;
font-weight: 300;
}
2019-05-22 00:29:34 +00:00
body {
2020-07-12 10:06:06 +00:00
color: var(--MAIN-TEXT-color) !important;
2020-03-02 09:01:03 +00:00
font-family: 'Public Sans'
}
#chapter h3 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
text-align: center;
2019-05-22 00:29:34 +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;
}
h2, h3, h4, h5 {
color: var(--MAIN-TITLES-TEXT-color) !important;
}
2020-03-02 09:01:03 +00:00
h2, h3, h4, h5, h6 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-rendering: optimizeLegibility;
color: #5e5e5e;
font-weight: 400;
letter-spacing: -1px;
}
2019-05-22 00:29:34 +00:00
a {
color: var(--MAIN-LINK-color);
}
.anchor {
color: var(--MAIN-ANCHOR-color);
}
a:hover {
color: var(--MAIN-LINK-HOVER-color);
}
#sidebar ul li.visited > a .read-icon {
color: var(--MENU-VISITED-color);
}
#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;
background-color: var(--MAIN-LINK-HOVER-color);
}
#sidebar {
background-color: var(--MENU-SECTIONS-BG-color);
}
#sidebar #header-wrapper {
background: var(--MENU-HEADER-BG-color);
color: var(--MENU-SEARCH-BOX-color);
border-color: var(--MENU-HEADER-BORDER-color);
}
#sidebar .searchbox {
border-color: var(--MENU-SEARCH-BOX-color);
background: var(--MENU-SEARCH-BG-color);
}
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
background: var(--MENU-SECTIONS-ACTIVE-BG-color);
}
#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);
}
2020-07-12 01:19:31 +00:00
/* Overrides because the default Learn theme adds terrible heading bars to each paragraph */
div.notices p:first-child:before {
position: absolute;
top: -28px;
color: #fff;
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: "\f06a";
left: 10px;
}
div.notices p:first-child:after {
position: absolute;
top: -28px;
color: #fff;
left: 2rem;
}
div.notices.info {
border-top: 30px solid #F0B37E;
background: #FFF2DB;
}
div.notices.info p {
border-top: none;
}
div.notices.note {
border-top: 30px solid #6AB0DE;
background: #E7F2FA;
}
div.notices.note p {
border-top: none;
}
div.notices.warning {
border-top: 30px solid rgba(217, 83, 79, 0.8);
background: #FAE2E2;
}
div.notices.warning p {
border-top: none;
}
div.notices.tip {
border-top: 30px solid rgba(92, 184, 92, 0.8);
background: #E6F9E6;
}
div.notices.tip p {
border-top: none;
}
2020-07-12 10:06:06 +00:00
/* override highlight.js bullshit */
div.highlight pre {
background-color: #06122F !important;
}