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

1467 lines
29 KiB
CSS

@charset "UTF-8";
@import "tags.css";
@import "tabs.css";
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 200;
src: url("../fonts/WorkSans-ExtraLight.woff") format("woff2"), url("../fonts/WorkSans-ExtraLight.woff") format("woff");
}
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 300;
src: url("../fonts/WorkSans-Light.woff2") format("woff2"), url("../fonts/WorkSans-Light.woff") format("woff");
}
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 400;
src: url("../fonts/WorkSans-Regular.woff2") format("woff2"), url("../fonts/WorkSans-Regular.woff") format("woff");
}
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 500;
src: url("../fonts/WorkSans-Medium.woff2") format("woff2"), url("../fonts/WorkSans-Medium.woff") format("woff");
}
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 600;
src: url("../fonts/WorkSans-Bold.woff2") format("woff2"), url("../fonts/WorkSans-Bold.woff") format("woff");
}
body {
background-color: #ffffff; /* var(--MAIN-BG-color) */
color: #101010; /* var(--MAIN-TEXT-color) */
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-size: 16.25px;
font-weight: 300;
line-height: 1.574;
}
body #chapter h1 {
font-size: 3.5rem;
}
@media only all and (min-width: 48em) and (max-width: 59.938em) {
body #chapter h1 {
font-size: 3rem;
}
}
@media only all and (max-width: 47.938em) {
body #chapter h1 {
font-size: 2rem;
}
}
a,
#toc-menu {
color: #486ac9; /* var(--MAIN-LINK-color) */
}
a:hover,
#toc-menu:hover {
color: #134fbf; /* var(--MAIN-LINK-HOVER-color) */
}
pre {
position: relative;
}
b,
strong,
label,
th {
font-weight: 600;
}
.default-animation{
transition: all 0.5s ease;
}
#sidebar {
background: #282830; /* var(--MENU-SECTIONS-BG-color) */
bottom: 0;
display: flex;
flex-direction: column;
font-size: 15.25px;
left: 0;
line-height: 1.574;
position: fixed;
top: 0;
width: 300px;
}
#header-wrapper {
background-color: #7dc903; /* var(--MENU-HEADER-BG-color) */
color: #efefef; /* var(--MENU-SEARCH-color) */
text-align: center;
border-bottom: 4px solid #7dc903; /* var(--MENU-HEADER-BORDER-color) */
padding: 1rem;
position: relative;
}
#header a {
display: inline-block;
}
.searchbox {
border: 1px solid #efefef; /* var(--MENU-SEARCH-BOX-color) */
border-radius: 4px;
background-color: #3d414d; /* var(--MENU-SEARCH-BG-color) */
position: relative;
margin-top: 1rem;
}
.searchbox label {
color: rgba( 255, 255, 255, .8 );
position: absolute;
left: 10px;
top: 3px;
}
.searchbox span {
color: rgba( 255, 255, 255, .6 );
position: absolute;
right: 10px;
top: 3px;
cursor: pointer;
}
.searchbox span:hover {
color: rgba( 255, 255, 255, .9 );
}
.searchbox input {
display: inline-block;
width: 100%;
height: 30px;
background: transparent;
border: 0;
padding: 0 25px 0 30px;
margin: 0;
font-weight: 300;
}
.searchbox input:-ms-input-placeholder {
color: rgba( 255, 255, 255, .4 );
}
.searchbox input::placeholder {
color: rgba( 255, 255, 255, .4 );
}
#content-wrapper {
display: flex;
flex: 1;
flex-direction: column;
overflow: hidden;
}
#sidebar a {
color: #bababa; /* var(--MENU-SECTIONS-LINK-color) */
}
#sidebar a:hover {
color: #ffffff; /* var(--MENU-SECTIONS-LINK-HOVER-color) */
}
#sidebar a.padding {
padding: 0 1rem;
}
#sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
#sidebar ul.topics {
margin: 0 1rem;
}
#sidebar ul.topics.searched ul {
display: block;
}
#sidebar ul.topics ul {
display: none;
}
#sidebar ul.topics > li > ul > li:last-child {
padding-bottom: 1rem;
}
#sidebar ul.topics ul ul {
padding-bottom: 0;
}
#sidebar ul.topics li.parent > ul,
#sidebar ul.topics li.active > ul,
#sidebar ul.topics li.alwaysopen > ul {
display: block;
}
#sidebar ul.topics > li > a {
font-size: 1.1rem;
line-height: 2rem;
}
#sidebar ul.topics > li > a b {
font-weight: 400;
opacity: 0.5;
}
#sidebar ul.topics > li > a .fa {
margin-top: 9px;
}
#sidebar ul.topics > li.parent {
background-color: #202028; /* var(--MENU-SECTIONS-ACTIVE-BG-color) */
margin-left: -1rem;
margin-right: -1rem;
padding-left: 1rem;
padding-right: 1rem;
}
#sidebar ul li.active > a {
background-color: #ffffff; /* var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color) */
color: #444444; /* var(--MENU-SECTION-ACTIVE-CATEGORY-color) */
margin-left: -1rem;
margin-right: -1rem;
padding-left: 1rem;
padding-right: 1rem;
}
#sidebar ul li {
padding: 0;
}
#sidebar ul li.visited + span {
margin-right: 16px;
}
#sidebar ul li a {
display: block;
padding: 2px 0;
}
#sidebar ul li a span {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#sidebar ul li > a {
padding: 4px 0;
}
#sidebar ul li li {
padding-left: 1rem;
}
#sidebar ul.topics > li > a .read-icon {
margin-top: 9px;
}
#sidebar ul {
list-style: none;
margin: 0;
padding: 0;
}
#sidebar #shortcuts li {
list-style: none;
padding: 2px 0;
}
#sidebar ul li .read-icon {
display: none;
float: right;
font-size: 13px;
margin: 4px 0 0 0;
min-width: 16px;
text-align: right;
}
#sidebar ul li.visited > a .read-icon {
color: #506397; /* var(--MENU-VISITED-color) */
display: inline;
}
#sidebar .nav-title {
color: #ffffff; /* var(--MENU-SECTIONS-LINK-HOVER-color) */
font-size: 2rem;
font-weight: 200;
letter-spacing: -1px;
line-height: 110% !important;
margin: 1rem 0 1rem 0;
padding-left: 1rem;
text-rendering: optimizeLegibility;
text-transform: uppercase;
}
#sidebar .footermargin {
margin-top: auto;
}
#sidebar hr {
border-bottom: 1px solid #606060; /* var(--MENU-SECTION-HR-color) */
margin: 1.5rem 1rem 1rem 1rem;
}
#footer {
color: #bababa; /* var(--MENU-SECTIONS-LINK-color) */
}
#body {
margin-left: 300px;
min-height: 100%;
position: relative;
}
#body img,
#body .video-container {
display: block;
margin: 1.5rem auto;
text-align: center;
}
#body img.border,
#body .video-container.border {
border: 2px solid #e6e6e6;
padding: 2px;
}
#body img.shadow,
#body .video-container.shadow {
box-shadow: 0 10px 30px rgba( 216, 216, 216, .666 );
}
#body img.inline {
display: inline !important;
margin: 0 !important;
vertical-align: bottom;
}
#body .padding {
padding: 3rem 6rem;
}
@media only all and (max-width: 59.938em) {
#body .padding {
position: static;
padding: 15px 3rem;
}
}
@media only all and (max-width: 47.938em) {
#body .padding {
padding: 5px 1rem;
}
}
#body h1 + hr {
margin-bottom: 2rem;
margin-top: -1rem;
}
@media only all and (max-width: 59.938em) {
#body #navigation {
display: table;
margin-right: 0 !important;
position: static;
width: 100%;
}
}
#body .nav {
bottom: 0;
cursor: pointer;
display: table;
font-size: 50px;
height: 100%;
position: fixed;
text-align: center;
top: 0;
width: 4rem;
}
#body .nav > i {
display: table-cell;
text-align: center;
vertical-align: middle;
}
@media only all and (max-width: 59.938em) {
#body .nav {
display: table-cell;
height: 100px;
line-height: 100px;
padding-top: 0;
position: static;
text-align: center;
top: auto;
width: 50%;
}
#body .nav > i {
display: inline-block;
}
}
#body .nav:hover {
background-color: rgba( 134, 134, 134, .066 );
}
#body .nav.nav-pref {
left: 0;
}
#body .nav.nav-next {
margin-right: 0px;
right: 0;
}
/* we limit width if we have large screens */
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
#body #body-inner {
margin: auto;
max-width: 1000px;
}
}
#chapter {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
padding: 2rem 0;
}
#chapter #body-inner {
max-width: 80%;
}
#chapter #body-inner h3:first-of-type {
font-weight: 200;
text-align: center;
}
#chapter h1 {
border-bottom: 4px solid rgba( 134, 134, 134, .125 );
font-size: 5rem;
}
#chapter p {
font-size: 1.2rem;
text-align: justify;
}
h1 {
color: #101010; /* var(--MAIN-TEXT-color) */
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 200;
text-align: center;
text-transform: uppercase;
}
h2, h3, h4, h5, h6 {
color: #444753; /* var(--MAIN-TITLES-TEXT-color) */
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
letter-spacing: -1px;
text-rendering: optimizeLegibility;
}
blockquote {
border-left: 10px solid rgba( 134, 134, 134, .4 );
}
blockquote p {
font-size: 105%;
font-style: italic;
opacity: .75;
text-align: justify;
}
blockquote cite {
display: block;
font-weight: bold;
opacity: .5;
padding-top: .5em;
text-align: right;
}
/* colored boxes */
div.box {
background-color: #808080; /* var(--INTERNAL-BOX-NEUTRAL-color) */
color: #808080; /* var(--INTERNAL-BOX-NEUTRAL-color) */
-webkit-print-color-adjust: exact;
color-adjust: exact;
margin: 1.5rem 0;
}
div.box > .box-label {
color: rgba( 255, 255, 255, 1 ); /* var(--BOX-CAPTION-color) */
font-weight: 500;
padding: .2rem 1rem;
}
div.box > .box-label:first-child:before {
content: "";
font-family: "Font Awesome 6 Free";
font-weight: 900;
}
div.box > .box-content {
background-color: rgba( 255, 255, 255, .833 ); /* var(--BOX-BG-color) */
color: rgba( 16, 16, 16, 1 ); /* var(--BOX-TEXT-color) */
padding-bottom: .1rem;
padding-left: 1rem;
padding-right: 1rem;
}
div.box > .box-content > :first-child {
margin-top: 0;
padding-top: 1rem;
}
div.box > .box-content > :last-child {
margin-bottom: 1rem;
}
div.box.info {
background-color: rgba( 48, 117, 229, 1 ); /* var(--INTERNAL-BOX-INFO-color) */
color: rgba( 48, 117, 229, 1 ); /* var(--INTERNAL-BOX-INFO-color) */
}
div.box.info > .box-label:first-child:before {
content: "\f05a";
margin-left: -.15rem;
margin-right: .35rem;
}
div.box.warning {
background-color: rgba( 224, 62, 62, 1 ); /* var(--INTERNAL-BOX-WARNING-color) */
color: rgba( 224, 62, 62, 1 ); /* var(--INTERNAL-BOX-WARNING-color) */
}
div.box.warning > .box-label:first-child:before {
content: "\f071";
margin-left: -.15rem;
margin-right: .35rem;
}
div.box.note {
background-color: rgba( 237, 153, 9, 1 ); /* var(--INTERNAL-BOX-NOTE-color) */
color: rgba( 237, 153, 9, 1 ); /* var(--INTERNAL-BOX-NOTE-color) */
}
div.box.note > .box-label:first-child:before {
content: "\f06a";
margin-left: -.15rem;
margin-right: .35rem;
}
div.box.tip {
background-color: rgba( 42, 178, 24, 1 ); /* var(--INTERNAL-BOX-TIP-color) */
color: rgba( 42, 178, 24, 1 ); /* var(--INTERNAL-BOX-TIP-color) */
}
div.box.tip > .box-label:first-child:before {
content: "\f0eb";
margin-left: -.15rem;
margin-right: .35rem;
}
div.box.blue {
background-color: rgba( 48, 117, 229, 1 ); /* var(--INTERNAL-BOX-BLUE-color) */
color: rgba( 48, 117, 229, 1 ); /* var(--INTERNAL-BOX-BLUE-color) */
}
div.box.green {
background-color: rgba( 42, 178, 24, 1 ); /* var(--INTERNAL-BOX-GREEN-color) */
color: rgba( 42, 178, 24, 1 ); /* var(--INTERNAL-BOX-GREEN-color) */
}
div.box.grey {
background-color: #808080; /* var(--INTERNAL-BOX-GREY-color) */
color: #808080; /* var(--INTERNAL-BOX-GREY-color) */
}
div.box.orange {
background-color: rgba( 237, 153, 9, 1 ); /* var(--INTERNAL-BOX-ORANGE-color) */
color: rgba( 237, 153, 9, 1 ); /* var(--INTERNAL-BOX-ORANGE-color) */
}
div.box.red {
background-color: rgba( 224, 62, 62, 1 ); /* var(--INTERNAL-BOX-RED-color) */
color: rgba( 224, 62, 62, 1 ); /* var(--INTERNAL-BOX-RED-color) */
}
div.box.transparent {
background-color: transparent;
color: #ffffff; /* var(--MAIN-TEXT-color) */
}
div.box.transparent > .box-label {
color: #7c7c7c; /* var(--MAIN-TITLES-TEXT-color) */
}
div.box.transparent > .box-content {
background-color: transparent;
}
/* attachments shortcode */
div.attachments > .box-label:first-child:before {
content: "\f0c6";
margin-left: -.35rem;
margin-right: .35rem;
}
div.attachments .box-content {
display: block;
margin: 0;
padding-left: 1.75rem;
}
/* Children shortcode */
.children p {
font-size: small;
margin-bottom: 0px;
margin-top: 0px;
padding-bottom: 0px;
padding-top: 0px;
}
.children-li p {
font-size: small;
font-style: italic;
}
.children-h2 p,
.children-h3 p {
font-size: small;
margin-bottom: 0px;
margin-top: 0px;
padding-bottom: 0px;
padding-top: 0px;
}
#body-inner .children h2,
#body-inner .children h3,
#body-inner .children h4,
#body-inner .children h5,
#body-inner .children h6 {
margin-bottom: 0;
margin-top: 1rem;
}
#body-inner ul.children-h2,
#body-inner ul.children-h3,
#body-inner ul.children-h4,
#body-inner ul.children-h5,
#body-inner ul.children-h6 {
/* if we display children with style=h2 but without a containerstyle
a ul will be used for structuring; we remove default indention for uls
in this case */
padding-inline-start: 0;
}
code,
kbd,
pre,
samp {
font-family: "Consolas", menlo, monospace;
font-size: 92%;
vertical-align: baseline;
}
code {
background-color: #fffae9; /* var(--CODE-INLINE-BG-color) */
border: 1px solid #f8e8c8; /* var(--CODE-INLINE-BORDER-color) */
border-radius: 2px;
color: #5e5e5e; /* var(--CODE-INLINE-color) */
-webkit-print-color-adjust: economy;
color-adjust: economy;
padding-left: 2px;
padding-right: 2px;
white-space: nowrap;
}
.copy-to-clipboard {
display: inline-block;
}
code.copy-to-clipboard-code {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
border-right-width: 0;
}
pre {
background-color: #f8f8f8; /* var(--CODE-BLOCK-BG-color) */
border: 1px solid #d8d8d8; /* var(--CODE-BLOCK-BORDER-color) */
border-radius: 2px;
color: #000000; /* var(--CODE-BLOCK-color) */
-webkit-print-color-adjust: economy;
color-adjust: economy;
line-height: 1.15;
padding: 1rem;
}
pre code {
background-color: inherit;
color: inherit;
-webkit-print-color-adjust: economy;
color-adjust: economy;
border: 0;
font-size: 15px;
margin: 0;
padding: 0;
white-space: inherit;
}
hr {
border-bottom: 4px solid rgba( 134, 134, 134, .125 );
}
#body-inner pre {
white-space: pre-wrap;
}
#body-inner h1,
#body-inner h2,
#body-inner h3,
#body-inner h4,
#body-inner h5,
#body-inner h6 {
/* big titles cause a horizontal scrollbar - fixing this by wrapping text */
overflow-wrap: break-word;
overflow-x: hidden;
}
table {
border: 1px solid rgba( 134, 134, 134, .333 );
margin-bottom: 1rem;
margin-top: 1rem;
table-layout: auto;
}
th,
thead td {
background-color: rgba( 134, 134, 134, .166 );
border: 1px solid rgba( 134, 134, 134, .333 );
-webkit-print-color-adjust: exact;
color-adjust: exact;
padding: 0.5rem;
}
td {
border: 1px solid rgba( 134, 134, 134, .333 );
padding: 0.5rem;
}
.tooltipped {
position: relative;
}
.tooltipped:after {
background: rgba(0, 0, 0, 1);
border: 1px solid #777;
border-radius: 3px;
color: #fff;
content: attr(aria-label);
display: none;
font: normal normal 11px/1.5 "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
-webkit-font-smoothing: subpixel-antialiased;
letter-spacing: normal;
padding: 5px 8px;
pointer-events: none;
position: absolute;
text-align: center;
text-decoration: none;
text-shadow: none;
text-transform: none;
white-space: pre;
word-wrap: break-word;
z-index: 1000000;
}
.tooltipped:before {
border: 5px solid transparent;
color: rgba(0, 0, 0, 1);
content: "";
display: none;
height: 0;
pointer-events: none;
position: absolute;
width: 0;
z-index: 1000001;
}
.tooltipped:hover:before,
.tooltipped:hover:after,
.tooltipped:active:before,
.tooltipped:active:after,
.tooltipped:focus:before,
.tooltipped:focus:after {
display: inline-block;
text-decoration: none;
}
.tooltipped-s:after,
.tooltipped-se:after,
.tooltipped-sw:after {
margin-top: 5px;
right: 50%;
top: 100%;
}
.tooltipped-s:before,
.tooltipped-se:before,
.tooltipped-sw:before {
border-bottom-color: rgba(0, 0, 0, 0.8);
bottom: -5px;
margin-right: -5px;
right: 50%;
top: auto;
}
.tooltipped-se:after {
left: 50%;
margin-left: -15px;
right: auto;
}
.tooltipped-sw:after {
margin-right: -15px;
}
.tooltipped-n:after,
.tooltipped-ne:after,
.tooltipped-nw:after {
bottom: 100%;
margin-bottom: 5px;
right: 50%;
}
.tooltipped-n:before,
.tooltipped-ne:before,
.tooltipped-nw:before {
border-top-color: rgba(0, 0, 0, 0.8);
bottom: auto;
margin-right: -5px;
right: 50%;
top: -5px;
}
.tooltipped-ne:after {
left: 50%;
margin-left: -15px;
right: auto;
}
.tooltipped-nw:after {
margin-right: -15px;
}
.tooltipped-s:after,
.tooltipped-n:after {
transform: translateX(50%);
}
.tooltipped-w:after {
bottom: 50%;
margin-right: 5px;
right: 100%;
transform: translateY(50%);
}
.tooltipped-w:before {
border-left-color: rgba(0, 0, 0, 0.8);
bottom: 50%;
left: -5px;
margin-top: -5px;
top: 50%;
}
.tooltipped-e:after {
bottom: 50%;
left: 100%;
margin-left: 5px;
transform: translateY(50%);
}
.tooltipped-e:before {
border-right-color: rgba(0, 0, 0, 0.8);
bottom: 50%;
margin-top: -5px;
right: -5px;
top: 50%;
}
.highlightable {
padding: 1rem 0 1rem;
position: relative;
}
.lightbox-active #body {
overflow: visible;
}
.lightbox-active #body .padding {
overflow: visible;
}
.featherlight img {
margin: 0 !important;
}
#top-bar {
background-color: #ffffff; /* var(--MAIN-BG-color) */
border-radius: 2px;
height: 0;
min-height: 3rem;
position: sticky;
top: 0;
z-index: 999;
}
#top-bar > div {
background-color: rgba( 134, 134, 134, .066 );
padding: 0 1rem;
height: 100%;
}
#top-bar.is-sticky {
box-shadow: 1px 2px 5px 1px rgba( 134, 134, 134, .2 );
}
#top-github-link {
display: block;
float: right;
z-index: 1;
}
#top-github-link,
#body #breadcrumbs {
position: relative;
top: 50%;
transform: translateY(-50%);
}
#body #breadcrumbs {
display: inline-block;
float: left;
height: auto;
line-height: 1.4;
margin-bottom: 0;
overflow: hidden;
padding-left: 0;
text-overflow: ellipsis;
white-space: nowrap;
width: 70%;
}
#sidebar-toggle-span {
display: none;
}
@media only all and (max-width: 47.938em) {
#sidebar-toggle-span {
display: inline;
}
}
#body #breadcrumbs span {
padding: 0 0.1rem;
}
#body #breadcrumbs .links {
display: inline;
padding: 0 0.1rem;
}
#body #breadcrumbs .links * {
display: inline-block;
padding: 0;
}
#body #breadcrumbs .links meta {
display: none;
}
#body #breadcrumbs .links li:last-of-type {
cursor: text;
}
a[aria-disabled="true"] {
color: inherit;
pointer-events: none;
text-decoration: none;
}
@media only all and (max-width: 59.938em) {
#sidebar {
width: 230px;
}
#body {
margin-left: 230px;
}
}
@media only all and (max-width: 47.938em) {
#sidebar {
left: -230px;
width: 230px;
}
#body {
margin-left: 0;
width: 100%;
}
.sidebar-hidden {
overflow: hidden;
}
.sidebar-hidden #sidebar {
left: 0;
}
.sidebar-hidden #body {
margin-left: 230px;
overflow: hidden;
}
.sidebar-hidden #overlay {
background-color: rgba(134, 134, 134, 0.5);
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 10;
}
}
.copy-to-clipboard-button {
background-color: #fffae9; /* var(--CODE-INLINE-BG-color) */
border: 1px solid #f8e8c8; /* var(--CODE-INLINE-BORDER-color) */
border-radius: 0 2px 2px 0;
color: #5e5e5e; /* var(--CODE-INLINE-color) */
cursor: pointer;
font-family: "Consolas", menlo, monospace;
font-size: 92%;
padding-left: 22px;
}
.copy-to-clipboard-button > i {
font-family: "Font Awesome 6 Free";
font-size: 92%;
font-weight: 500;
margin-left: -22px;
}
.copy-to-clipboard-code + .copy-to-clipboard-button > i {
padding-left: 5px;
padding-right: 5px;
}
.copy-to-clipboard-button:hover {
background-color: #5e5e5e; /* var(--CODE-INLINE-color) */
color: #fffae9; /* var(--CODE-INLINE-BG-color) */
}
pre .copy-to-clipboard-button {
background-color: rgba( 160, 160, 160, .2 );
border: 1px solid #d8d8d8; /* var(--CODE-BLOCK-BORDER-color) */
border-radius: 2px;
color: #486ac9; /* var(--MAIN-LINK-color) */
padding: 5px 3px 5px 25px;
position: absolute;
right: 4px;
top: 4px;
}
pre .copy-to-clipboard-button:hover {
background-color: #486ac9; /* var(--MAIN-LINK-color) */
border-color: #486ac9; /* var(--MAIN-LINK-color) */
color: #000000; /* var(--CODE-BLOCK-color) */
}
#homelinks {
background-color: #7dc903; /* var(--MENU-HEADER-BORDER-color) */
border-bottom: 4px solid #7dc903; /* var(--MENU-HEADER-BORDER-color) */
padding: 7px 0;
}
#homelinks a {
color: #323232 /* var(--MENU-HOME-LINK-color) */
}
#homelinks a:hover {
color: #808080 /* var(--MENU-HOME-LINK-HOVER-color) */;
}
option {
color: initial;
}
.expand{
margin-bottom: 1rem;
margin-top: 1rem;
}
.expand-label {
cursor: pointer;
}
.expand-label > .fas {
font-size: .8rem;
width: .6rem;
}
/* expander collapsed, default */
.expand > .expand-label > .fa-chevron-down {
display: none;
}
.expand > .expand-label > .fa-chevron-right {
display: inline-block;
}
/* expander expanded, controlled by expand.html */
.expand.expand-expanded > .expand-label > .fa-chevron-down {
display: inline-block;
}
.expand.expand-expanded > .expand-label > .fa-chevron-right {
display: none;
}
/* expander expand collapsed marked, must override logic of expand.html, controlled by relearn.js */
.expand:not(.expand-expanded).expand-marked > .expand-label > .fa-chevron-down {
display: inline-block;
}
.expand:not(.expand-expanded).expand-marked > .expand-label > .fa-chevron-right {
display: none;
}
.expand:not(.expand-expanded).expand-marked > .expand-content {
/* this will disable jquery's animation */
display: block !important;
}
#body footer.footline{
margin-top: 2rem;
}
.mermaid {
margin-bottom: 1.7rem;
margin-top: 1.7rem;
}
.mermaid > svg {
border: 1px solid transparent;
cursor: pointer;
/* remove inline height from generated diagram */
height: initial !important;
}
.mermaid > svg:hover {
border-color: rgba( 134, 134, 134, .333 );
}
.include.hide-first-heading h1:first-of-type,
.include.hide-first-heading h2:first-of-type,
.include.hide-first-heading h3:first-of-type,
.include.hide-first-heading h4:first-of-type,
.include.hide-first-heading h5:first-of-type,
.include.hide-first-heading h6:first-of-type {
display: none;
}
.include.hide-first-heading h1 + h2:first-of-type,
.include.hide-first-heading h1 + h3:first-of-type,
.include.hide-first-heading h2 + h3:first-of-type,
.include.hide-first-heading h1 + h4:first-of-type,
.include.hide-first-heading h2 + h4:first-of-type,
.include.hide-first-heading h3 + h4:first-of-type,
.include.hide-first-heading h1 + h5:first-of-type,
.include.hide-first-heading h2 + h5:first-of-type,
.include.hide-first-heading h3 + h5:first-of-type,
.include.hide-first-heading h4 + h5:first-of-type,
.include.hide-first-heading h1 + h6:first-of-type,
.include.hide-first-heading h2 + h6:first-of-type,
.include.hide-first-heading h3 + h6:first-of-type,
.include.hide-first-heading h4 + h6:first-of-type,
.include.hide-first-heading h5 + h6:first-of-type {
display: block;
}
#body a.highlight,
#body a.highlight:hover,
#body a.highlight:focus {
outline-style: none;
text-decoration: none;
}
#body a.highlight {
display: inline-block;
line-height: 1.1;
}
#body a.highlight:after {
background-color: #486ac9; /* var(--MAIN-LINK-color) */
content: "";
display: block;
height: 1px;
width: 0%;
transition: width 0.5s ease;
}
#body a.highlight:hover:after,
#body a.highlight:focus:after {
width: 100%;
}
#body #sidebar-toggle-span a.highlight:after,
#body #top-github-link a.highlight:after {
background-color: transparent;
}
/* Table of contents */
.progress {
background-color: #ffffff; /* var(--MAIN-BG-color) */
border: thin solid rgba( 134, 134, 134, .166 );
box-shadow: 1px 2px 5px 1px rgba( 134, 134, 134, .2 );
display: none;
position: absolute;
width: auto;
z-index: 200;
}
.progress .wrapper {
background-color: rgba( 134, 134, 134, .066 );
}
.progress ul {
list-style: none;
margin: 0;
padding: 0 15px;
}
#TableOfContents {
font-size: 13px !important;
max-height: 85vh;
overflow: auto;
padding: 15px 5px !important;
}
#TableOfContents > ul > li > a {
font-weight: 500;
}
#toc-menu {
border-right: thin solid rgba( 134, 134, 134, .333 );
margin-right: 0.5rem !important;
padding-right: 1rem !important;
}
#sidebar-toggle-span {
border-right: thin solid rgba( 134, 134, 134, .333 );
margin-right: 1rem !important;
padding-right: 0.5rem !important;
}
.btn {
background-image: none !important;
border: 1px solid transparent !important;
border-radius: 4px !important;
cursor: pointer !important;
display: inline-block !important;
font-size: 14px !important;
font-weight: 500;
line-height: 1.42857143 !important;
padding: 6px 12px !important;
margin-bottom: 0 !important;
text-align: center !important;
touch-action: manipulation !important;
transition: all 0.15s !important;
-ms-user-select: none !important;
-webkit-user-select: none !important;
user-select: none !important;
vertical-align: middle !important;
white-space: nowrap !important;
}
.btn:focus {
outline: none !important;
}
.btn:hover,
.btn:focus {
text-decoration: none !important;
}
.btn-default {
color: #101010 !important; /* var(--MAIN-TEXT-color) */
background-color: transparent;
border-color: rgba( 134, 134, 134, .333 ) !important;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
color: #ffffff !important; /* var(--MAIN-BG-color) */
background-color: rgba( 134, 134, 134, .75 ) !important;
border-color: rgba( 134, 134, 134, .75 ) !important;
}
.btn-default:active {
background-image: none !important;
}
/* anchors */
.anchor {
color: #486ac9; /* var(--MAIN-ANCHOR-color) */
cursor: pointer;
font-size: .5em;
margin-left: .66em;
margin-top: .9em;
position: absolute;
visibility: hidden;
}
h2:hover .anchor,
h3:hover .anchor,
h4:hover .anchor,
h5:hover .anchor,
h6:hover .anchor {
visibility:visible;
}
/* Redfines headers style */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
font-weight: inherit;
}
#body h2 {
font-size: 2.2rem;
font-weight: 500;
margin-top: 2rem;
}
#body h3 {
font-size: 1.8rem;
font-weight: 500;
margin-top: 2rem;
}
#body h4 {
font-size: 1.85rem;
font-weight: 300;
margin-top: 2rem;
}
#body h5 {
font-size: 1.6rem;
font-weight: 300;
margin-top: 2rem;
}
#body h6 {
font-size: 1.3rem;
font-weight: 300;
margin-top: 2rem;
}
#body h1 + h2,
#body h1 + h3,
#body h1 + h4,
#body h1 + h5,
#body h1 + h6,
#body h2 + h3,
#body h2 + h4,
#body h2 + h5,
#body h2 + h6,
#body h3 + h4,
#body h3 + h5,
#body h3 + h6,
#body h4 + h5,
#body h4 + h6,
#body h5 + h6 {
margin-top: 1rem;
}
.select-container {
}
.select-container i {
padding-top: .25em;
}
.select-container i,
.select-container span {
display: block;
float: left;
}
.select-style {
border: 0;
border-radius: 0px;
height: 1.574em;
overflow: hidden;
}
.select-style select {
-webkit-appearance: none;
appearance: none;
border: none;
box-shadow: none;
background-color: transparent;
background-image: none;
width: 100%;
}
.select-style select:focus {
outline: none;
}
.select-style select::-ms-expand {
display: none;
}
.select-style :hover {
cursor: pointer;
}
.select-style option {
color: #000000;
padding: 0;
margin: 0;
}
.select-clear {
clear: both;
}
@media only all and (max-width: 47.938em) {
#breadcrumbs .links, #top-github-link-text {
display: none;
}
}
/* turn off animiation in IE because this causes the menu
to move in from the left on every page load */
@media all and (-ms-high-contrast:none) {
.default-animation{
transition: none;
}
}