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

1338 lines
28 KiB
CSS
Raw Normal View History

@charset "UTF-8";
2018-11-29 08:34:55 +00:00
@import "tags.css";
@import "tabs.css";
2018-11-29 08:34:55 +00:00
#top-github-link, #body #breadcrumbs {
2016-03-25 18:10:51 +00:00
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-o-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.button, .button-secondary {
2016-03-25 18:10:51 +00:00
display: inline-block;
padding: 7px 12px;
}
.button:active, .button-secondary:active {
margin: 2px 0 -2px 0;
}
@font-face {
2016-03-25 18:10:51 +00:00
font-family: 'Novacento Sans Wide';
src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot");
src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/Novecentosanswide-UltraLight-webfont.woff2") format("woff2"), url("../fonts/Novecentosanswide-UltraLight-webfont.woff") format("woff"), url("../fonts/Novecentosanswide-UltraLight-webfont.ttf") format("truetype"), url("../fonts/Novecentosanswide-UltraLight-webfont.svg#novecento_sans_wideultralight") format("svg");
font-style: normal;
font-weight: 200;
}
@font-face {
2016-03-25 18:10:51 +00:00
font-family: 'Work Sans';
font-style: normal;
font-weight: 300;
src: url("../fonts/Work_Sans_300.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_300.woff") format("woff"), url("../fonts/Work_Sans_300.woff2") format("woff2"), url("../fonts/Work_Sans_300.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_300.ttf") format("truetype");
}
@font-face {
2016-03-25 18:10:51 +00:00
font-family: 'Work Sans';
font-style: normal;
font-weight: 500;
src: url("../fonts/Work_Sans_500.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_500.woff") format("woff"), url("../fonts/Work_Sans_500.woff2") format("woff2"), url("../fonts/Work_Sans_500.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_500.ttf") format("truetype");
}
body {
2016-03-25 18:10:51 +00:00
background: #fff;
color: #777;
}
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 {
color: #00bdf3;
2016-03-25 18:10:51 +00:00
}
a:hover {
color: #0082a7;
2016-03-25 18:10:51 +00:00
}
pre {
2016-03-25 18:10:51 +00:00
position: relative;
}
.bg {
2016-03-25 18:10:51 +00:00
background: #fff;
border: 1px solid #eaeaea;
}
b, strong, label, th {
2016-03-25 18:10:51 +00:00
font-weight: 600;
}
.default-animation, #header #logo-svg, #header #logo-svg path, #sidebar, #sidebar ul, #body, #body .padding, #body .nav {
2016-03-25 18:10:51 +00:00
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
#sidebar {
2016-03-25 18:10:51 +00:00
font-weight: 300 !important;
}
fieldset {
2016-03-25 18:10:51 +00:00
border: 1px solid #ddd;
}
textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] {
2016-03-25 18:10:51 +00:00
background-color: white;
border: 1px solid #ddd;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}
textarea:hover, input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover, select[multiple=multiple]:hover {
border-color: #c4c4c4;
}
#header-wrapper {
background: #8451a1;
2016-03-25 18:10:51 +00:00
color: #fff;
text-align: center;
border-bottom: 4px solid #9c6fb6;
2016-03-25 18:10:51 +00:00
padding: 1rem;
}
#header a {
display: inline-block;
}
#header #logo-svg {
width: 8rem;
2016-03-25 18:10:51 +00:00
height: 2rem;
}
#header #logo-svg path {
fill: #fff;
}
.searchbox {
margin-top: 1rem;
2016-03-25 18:10:51 +00:00
position: relative;
border: 1px solid #915eae;
background: #764890;
2016-03-25 18:10:51 +00:00
border-radius: 4px;
}
.searchbox label {
color: rgba(255, 255, 255, 0.8);
position: absolute;
left: 10px;
2016-03-25 18:10:51 +00:00
top: 3px;
}
.searchbox span {
color: rgba(255, 255, 255, 0.6);
position: absolute;
right: 10px;
top: 3px;
2016-03-25 18:10:51 +00:00
cursor: pointer;
}
.searchbox span:hover {
color: rgba(255, 255, 255, 0.9);
}
.searchbox input {
display: inline-block;
color: #fff;
width: 100%;
height: 30px;
background: transparent;
border: 0;
padding: 0 25px 0 30px;
margin: 0;
2016-03-25 18:10:51 +00:00
font-weight: 300;
}
.searchbox input::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.6);
}
.searchbox input::-moz-placeholder {
color: rgba(255, 255, 255, 0.6);
}
.searchbox input:-moz-placeholder {
color: rgba(255, 255, 255, 0.6);
}
.searchbox input:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.6);
}
#sidebar-toggle-span {
2016-03-25 18:10:51 +00:00
display: none;
}
@media only all and (max-width: 47.938em) {
#sidebar-toggle-span {
display: inline;
2016-03-25 18:10:51 +00:00
}
}
#sidebar {
background-color: #322A38;
2016-03-25 18:10:51 +00:00
position: fixed;
top: 0;
width: 300px;
bottom: 0;
left: 0;
font-weight: 400;
font-size: 15px;
}
#sidebar a {
color: #ccc;
}
#sidebar a:hover {
color: #e6e6e6;
}
#sidebar a.subtitle {
color: rgba(204, 204, 204, 0.6);
}
#sidebar hr {
border-bottom: 1px solid #2a232f;
}
#sidebar a.padding {
padding: 0 1rem;
}
#sidebar ul {
list-style: none;
padding: 0;
2016-03-25 18:10:51 +00:00
margin: 0;
}
#sidebar ul.searched a {
color: #999999;
}
#sidebar ul.searched .search-match a {
color: #e6e6e6;
}
#sidebar ul.searched .search-match a:hover {
color: white;
}
#sidebar ul.topics {
margin: 0 1rem;
}
#sidebar ul.topics.searched ul {
display: block;
}
2021-09-03 22:17:47 +00:00
#sidebar ul.topics ul {
2016-03-25 18:10:51 +00:00
display: none;
}
#sidebar ul.topics > li > ul > li:last-child {
2016-03-25 18:10:51 +00:00
padding-bottom: 1rem;
}
#sidebar ul.topics ul ul {
padding-bottom: 0;
}
2021-09-03 22:17:47 +00:00
#sidebar ul.topics li.parent > ul,
#sidebar ul.topics li.active > ul,
#sidebar ul.topics li.alwaysopen > ul {
2016-03-25 18:10:51 +00:00
display: block;
}
#sidebar ul.topics > li > a {
line-height: 2rem;
font-size: 1.1rem;
}
#sidebar ul.topics > li > a b {
opacity: 0.5;
font-weight: normal;
}
#sidebar ul.topics > li > a .fa {
margin-top: 9px;
}
#sidebar ul.topics > li.parent {
background: #251f29;
2016-03-25 18:10:51 +00:00
margin-left: -1rem;
margin-right: -1rem;
padding-left: 1rem;
padding-right: 1rem;
}
#sidebar ul li.active > a {
background: #fff;
color: #777 !important;
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 {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
}
#sidebar ul li > a {
padding: 4px 0;
}
#sidebar ul li.visited > a .read-icon {
color: #9c6fb6;
2016-03-25 18:10:51 +00:00
display: inline;
}
#sidebar ul li li {
padding-left: 1rem;
text-indent: 0.2rem;
}
#main {
2016-03-25 18:10:51 +00:00
background: #f7f7f7;
margin: 0 0 1.563rem 0;
}
#body {
2016-03-25 18:10:51 +00:00
position: relative;
margin-left: 300px;
min-height: 100%;
}
#body img, #body .video-container {
2021-10-06 17:55:06 +00:00
margin: 1.5rem auto;
display: block;
2016-03-25 18:10:51 +00:00
text-align: center;
}
#body img.border, #body .video-container.border {
border: 2px solid #e6e6e6 !important;
padding: 2px;
}
#body img.shadow, #body .video-container.shadow {
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
2017-01-27 15:37:22 +00:00
#body img.inline {
display: inline !important;
margin: 0 !important;
vertical-align: bottom;
}
2016-03-25 18:10:51 +00:00
#body .bordered {
border: 1px solid #ccc;
}
#body .padding {
padding: 3rem 6rem;
}
@media only all and (max-width: 59.938em) {
#body .padding {
position: static;
2016-03-25 18:10:51 +00:00
padding: 15px 3rem;
}
}
@media only all and (max-width: 47.938em) {
#body .padding {
padding: 5px 1rem;
}
}
#body h1 + hr {
2021-09-28 22:02:34 +00:00
margin-top: -1rem;
margin-bottom: 2rem;
2016-03-25 18:10:51 +00:00
}
@media only all and (max-width: 59.938em) {
#body #navigation {
2016-03-25 18:10:51 +00:00
position: static;
margin-right: 0 !important;
width: 100%;
display: table;
}
}
#body .nav {
position: fixed;
top: 0;
bottom: 0;
width: 4rem;
font-size: 50px;
height: 100%;
cursor: pointer;
display: table;
2016-03-25 18:10:51 +00:00
text-align: center;
}
#body .nav > i {
display: table-cell;
vertical-align: middle;
text-align: center;
}
@media only all and (max-width: 59.938em) {
#body .nav {
display: table-cell;
position: static;
top: auto;
width: 50%;
text-align: center;
height: 100px;
line-height: 100px;
2016-03-25 18:10:51 +00:00
padding-top: 0;
}
#body .nav > i {
display: inline-block;
}
}
#body .nav:hover {
background: #F6F6F6;
}
#body .nav.nav-pref {
left: 0;
}
#body .nav.nav-next {
margin-right: 0px;
2016-03-25 18:10:51 +00:00
right: 0;
}
/* we limit width if we have large screens */
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
#body #body-inner {
max-width: 1000px;
margin: auto;
}
}
#chapter {
2016-03-25 18:10:51 +00:00
display: flex;
align-items: center;
justify-content: center;
height: 100%;
padding: 2rem 0;
}
#chapter #body-inner {
max-width: 80%;
}
#chapter h3 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
2016-03-25 18:10:51 +00:00
text-align: center;
}
#chapter h1 {
font-size: 5rem;
2016-03-25 18:10:51 +00:00
border-bottom: 4px solid #F0F2F4;
}
#chapter p {
text-align: justify;
2016-03-25 18:10:51 +00:00
font-size: 1.2rem;
}
#footer {
2016-03-25 18:10:51 +00:00
padding: 3rem 1rem;
color: #b3b3b3;
font-size: 13px;
text-align: center;
2016-03-25 18:10:51 +00:00
}
#footer p {
margin: 0;
}
body {
2016-03-25 18:10:51 +00:00
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
line-height: 1.6;
font-size: 18px !important;
}
h2, h3, h4, h5, h6 {
2016-03-25 18:10:51 +00:00
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-rendering: optimizeLegibility;
color: #5e5e5e;
letter-spacing: -1px;
}
h1 {
2016-03-25 18:10:51 +00:00
font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-align: center;
text-transform: uppercase;
color: #222;
font-weight: 200;
}
blockquote {
border-left: 10px solid rgba(0, 8, 16, 0.2);
2016-03-25 18:10:51 +00:00
}
blockquote p {
font-size: 1.1rem;
color: #56585d;
2016-03-25 18:10:51 +00:00
}
blockquote cite {
display: block;
text-align: right;
color: #222;
2016-03-25 18:10:51 +00:00
font-size: 1.2rem;
}
div.notices {
border-top-width: 2rem;
border-top-style: solid;
2021-07-16 18:40:30 +00:00
color: #505050;
-webkit-print-color-adjust: exact;
color-adjust: exact;
2021-09-28 22:02:34 +00:00
margin: 1.5rem 0;
padding-bottom: .1px;
padding-left: 1rem;
padding-right: 1rem;
2016-03-25 18:10:51 +00:00
}
div.notices > div.label {
2016-03-25 18:10:51 +00:00
color: #fff;
font-weight: normal;
margin-bottom: 1rem;
margin-top: -1.75rem;
}
div.notices > div.label:first-child:before {
2018-02-19 11:10:41 +00:00
font-family: "Font Awesome 5 Free";
font-weight: 900;
margin-left: -.35rem;
margin-right: .35rem;
2016-03-25 18:10:51 +00:00
}
div.notices.info {
border-color: #4897CC;
2021-07-16 18:40:30 +00:00
background-color: #E9F5FD;
2016-03-25 18:10:51 +00:00
}
div.notices.info > div.label:first-child:before {
content: "\f05a";
}
div.notices.warning {
border-color: #D96A68;
2021-07-16 18:40:30 +00:00
background-color: #FFEBEB;
2016-03-25 18:10:51 +00:00
}
div.notices.warning > div.label:first-child:before {
content: "\f071";
}
div.notices.note {
border-color: #BF8B44;
background-color: #FFF2DB;
2016-03-25 18:10:51 +00:00
}
div.notices.note > div.label:first-child:before {
content: "\f06a";
}
div.notices.tip {
border-color: #5AA55A;
background-color: #E6F9E6;
2016-03-25 18:10:51 +00:00
}
div.notices.tip > div.label:first-child:before {
content: "\f0eb";
}
2017-08-01 20:25:17 +00:00
2017-08-01 20:37:40 +00:00
/* attachments shortcode */
div.attachments {
border-top-width: 2rem;
border-top-style: solid;
color: #505050;
-webkit-print-color-adjust: exact;
color-adjust: exact;
2021-09-28 22:02:34 +00:00
margin: 1.5rem 0;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: .1px;
2017-08-01 20:25:17 +00:00
}
div.attachments > div.label {
color: #fff;
font-weight: normal;
margin-bottom: 1rem;
margin-top: -1.75rem;
}
div.attachments > div.label:first-child:before {
font-family: "Font Awesome 5 Free";
font-weight: 900;
margin-left: -.35rem;
margin-right: .35rem;
content: "\f0c6";
2017-08-01 20:25:17 +00:00
}
div.attachments .attachments-files {
padding: 1rem;
2017-08-01 20:25:17 +00:00
display: block;
font-size: 1rem;
margin-top: -1rem;
2017-08-01 20:25:17 +00:00
margin-bottom: 0rem;
}
div.attachments.orange {
border-color: #BF8B44;
background-color: #FFF2DB;
2017-08-01 20:25:17 +00:00
}
div.attachments.green {
border-color: #5AA55A;
background-color: #E6F9E6;
2017-08-01 20:25:17 +00:00
}
div.attachments.red {
border-color: #D96A68;
background-color: #FFEBEB;
2017-08-01 20:25:17 +00:00
}
div.attachments.blue {
border-color: #4897CC;
background-color: #E9F5FD;
2017-08-01 20:25:17 +00:00
}
div.attachments.grey {
border-color: #505D65;
background-color: #F4F4F4;
2017-08-01 20:25:17 +00:00
}
div.attachments.neutral {
border-color: transparent;
background-color: transparent;
2017-08-01 20:25:17 +00:00
}
div.attachments.neutral > div.label {
color: #505050;
2017-08-01 20:25:17 +00:00
}
2017-08-01 20:37:40 +00:00
/* Children shortcode */
.children p {
font-size: small;
margin-top: 0px;
padding-top: 0px;
margin-bottom: 0px;
padding-bottom: 0px;
}
.children-li p {
font-size: small;
font-style: italic;
}
.children-h2 p, .children-h3 p {
font-size: small;
margin-top: 0px;
padding-top: 0px;
margin-bottom: 0px;
padding-bottom: 0px;
}
.children h3,.children h2 {
margin-bottom: 0px;
margin-top: 5px;
}
#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;
}
2017-08-01 20:37:40 +00:00
2016-03-25 18:10:51 +00:00
code, kbd, pre, samp {
font-family: "Consolas", menlo, monospace;
font-size: 92%;
vertical-align: baseline;
2016-03-25 18:10:51 +00:00
}
code {
background-color: #FFFAE9;
border: 1px solid #F8E8C8;
2016-03-25 18:10:51 +00:00
border-radius: 2px;
color: #5E5E5E;
-webkit-print-color-adjust: economy;
color-adjust: economy;
padding-left: 2px;
padding-right: 2px;
2016-03-25 18:10:51 +00:00
white-space: nowrap;
}
code.copy-to-clipboard-inline {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
border-right-width: 0;
2016-03-25 18:10:51 +00:00
}
pre {
2016-03-25 18:10:51 +00:00
border: 0;
border-radius: 2px;
-webkit-print-color-adjust: economy;
color-adjust: economy;
2016-03-25 18:10:51 +00:00
line-height: 1.15;
padding: 1rem;
2016-03-25 18:10:51 +00:00
}
pre code {
background-color: inherit;
color: inherit;
-webkit-print-color-adjust: economy;
color-adjust: economy;
border: 0;
2016-03-25 18:10:51 +00:00
font-size: 15px;
margin: 0;
padding: 0;
white-space: inherit;
2016-03-25 18:10:51 +00:00
}
hr {
2016-03-25 18:10:51 +00:00
border-bottom: 4px solid #F0F2F4;
}
.page-title {
2016-03-25 18:10:51 +00:00
margin-top: -25px;
padding: 25px;
float: left;
clear: both;
background: #9c6fb6;
2016-03-25 18:10:51 +00:00
color: #fff;
}
#body a.anchor-link {
2016-03-25 18:10:51 +00:00
color: #ccc;
}
#body a.anchor-link:hover {
color: #9c6fb6;
2016-03-25 18:10:51 +00:00
}
#body-inner pre {
2016-03-25 18:10:51 +00:00
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-x: hidden;
overflow-wrap: break-word;
}
table {
2021-08-27 20:20:05 +00:00
border: 1px solid #ccc;
2021-08-27 13:42:41 +00:00
margin-bottom: 1rem;
margin-top: 1rem;
2016-03-25 18:10:51 +00:00
table-layout: auto;
}
th, thead td {
2021-08-27 20:20:05 +00:00
background: #eaeaea;
border: 1px solid #ccc;
-webkit-print-color-adjust: exact;
color-adjust: exact;
2021-08-27 20:17:19 +00:00
padding: 0.5rem;
2016-03-25 18:10:51 +00:00
}
td {
2021-08-27 20:20:05 +00:00
border: 1px solid #ccc;
padding: 0.5rem;
2016-03-25 18:10:51 +00:00
}
.button {
background: #9c6fb6;
2016-03-25 18:10:51 +00:00
color: #fff;
box-shadow: 0 3px 0 #00a5d4;
}
.button:hover {
background: #00a5d4;
box-shadow: 0 3px 0 #008db6;
2016-03-25 18:10:51 +00:00
color: #fff;
}
.button:active {
box-shadow: 0 1px 0 #008db6;
}
.button-secondary {
2016-03-25 18:10:51 +00:00
background: #F8B450;
color: #fff;
box-shadow: 0 3px 0 #f7a733;
}
.button-secondary:hover {
background: #f7a733;
box-shadow: 0 3px 0 #f69b15;
2016-03-25 18:10:51 +00:00
color: #fff;
}
.button-secondary:active {
box-shadow: 0 1px 0 #f69b15;
}
.tooltipped {
2016-03-25 18:10:51 +00:00
position: relative;
}
.tooltipped:after {
border: 1px solid #777;
2016-03-25 18:10:51 +00:00
position: absolute;
z-index: 1000000;
display: none;
padding: 5px 8px;
font: normal normal 11px/1.5 "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
color: #fff;
text-align: center;
text-decoration: none;
text-shadow: none;
text-transform: none;
letter-spacing: normal;
word-wrap: break-word;
white-space: pre;
pointer-events: none;
content: attr(aria-label);
background: rgba(0, 0, 0, 0.8);
border-radius: 3px;
-webkit-font-smoothing: subpixel-antialiased;
}
.tooltipped:before {
2016-03-25 18:10:51 +00:00
position: absolute;
z-index: 1000001;
display: none;
width: 0;
height: 0;
color: rgba(0, 0, 0, 0.8);
pointer-events: none;
content: "";
border: 5px solid transparent;
}
.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 {
top: 100%;
right: 50%;
margin-top: 5px;
}
.tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before {
top: auto;
right: 50%;
bottom: -5px;
margin-right: -5px;
border-bottom-color: rgba(0, 0, 0, 0.8);
}
.tooltipped-se:after {
2016-03-25 18:10:51 +00:00
right: auto;
left: 50%;
margin-left: -15px;
}
.tooltipped-sw:after {
2016-03-25 18:10:51 +00:00
margin-right: -15px;
}
.tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after {
right: 50%;
bottom: 100%;
margin-bottom: 5px;
}
.tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before {
top: -5px;
right: 50%;
bottom: auto;
margin-right: -5px;
border-top-color: rgba(0, 0, 0, 0.8);
}
.tooltipped-ne:after {
2016-03-25 18:10:51 +00:00
right: auto;
left: 50%;
margin-left: -15px;
}
.tooltipped-nw:after {
2016-03-25 18:10:51 +00:00
margin-right: -15px;
}
.tooltipped-s:after, .tooltipped-n:after {
transform: translateX(50%);
}
.tooltipped-w:after {
2016-03-25 18:10:51 +00:00
right: 100%;
bottom: 50%;
margin-right: 5px;
transform: translateY(50%);
}
.tooltipped-w:before {
2016-03-25 18:10:51 +00:00
top: 50%;
bottom: 50%;
left: -5px;
margin-top: -5px;
border-left-color: rgba(0, 0, 0, 0.8);
}
.tooltipped-e:after {
2016-03-25 18:10:51 +00:00
bottom: 50%;
left: 100%;
margin-left: 5px;
transform: translateY(50%);
}
.tooltipped-e:before {
2016-03-25 18:10:51 +00:00
top: 50%;
right: -5px;
bottom: 50%;
margin-top: -5px;
border-right-color: rgba(0, 0, 0, 0.8);
}
.highlightable {
padding: 1rem 0 1rem;
2016-03-25 18:10:51 +00:00
position: relative;
}
#sidebar .highlightable {
overflow: auto;
}
.lightbox-active #body {
2016-03-25 18:10:51 +00:00
overflow: visible;
}
.lightbox-active #body .padding {
overflow: visible;
}
#github-contrib i {
2016-03-25 18:10:51 +00:00
vertical-align: middle;
}
.featherlight img {
2016-03-25 18:10:51 +00:00
margin: 0 !important;
}
#top-bar {
2016-03-25 18:10:51 +00:00
background: #F6F6F6;
border-radius: 2px;
padding: 0 1rem;
height: 0;
min-height: 3rem;
}
#top-github-link {
2016-03-25 18:10:51 +00:00
position: relative;
z-index: 1;
float: right;
display: block;
}
#body #breadcrumbs {
2016-03-25 18:10:51 +00:00
height: auto;
margin-bottom: 0;
padding-left: 0;
line-height: 1.4;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 70%;
display: inline-block;
float: left;
2016-03-25 18:10:51 +00:00
}
#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) {
2016-03-25 18:10:51 +00:00
#sidebar {
width: 230px;
}
#body {
margin-left: 230px;
}
}
@media only all and (max-width: 47.938em) {
2016-03-25 18:10:51 +00:00
#sidebar {
width: 230px;
left: -230px;
}
#body {
margin-left: 0;
width: 100%;
}
.sidebar-hidden {
overflow: hidden;
}
.sidebar-hidden #sidebar {
2016-03-25 18:10:51 +00:00
left: 0;
}
.sidebar-hidden #body {
2016-03-25 18:10:51 +00:00
margin-left: 230px;
overflow: hidden;
}
.sidebar-hidden #overlay {
2016-03-25 18:10:51 +00:00
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 10;
background: rgba(255, 255, 255, 0.5);
cursor: pointer;
}
}
.copy-to-clipboard {
background-color: #FFFAE9;
2016-03-25 18:10:51 +00:00
background-image: url(../images/clippy.svg);
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: 14px 16px;
border: 1px solid #F8E8C8;
border-radius: 0 2px 2px 0;
color: #5E5E5E;
cursor: pointer;
font-family: "Consolas", menlo, monospace;
font-size: 92%;
padding-left: 22px;
2016-03-25 18:10:51 +00:00
}
.copy-to-clipboard:hover {
background-color: #FCEBB4;
border-color: #B19F7A;
2016-03-25 18:10:51 +00:00
}
pre .copy-to-clipboard {
background-color: rgba( 204, 204, 204, .666 );
border-color: #000;
border-radius: 2px;
padding: 10.5px 12.5px;
position: absolute;
right: 4px;
top: 4px;
2016-03-25 18:10:51 +00:00
}
pre .copy-to-clipboard:hover {
border-color: #505050;
background-color: rgba( 236, 236, 236, .9 );
2016-03-25 18:10:51 +00:00
}
#sidebar ul.topics > li > a .read-icon {
margin-top: 9px;
}
2017-08-02 21:39:49 +00:00
#sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
#sidebar #shortcuts li {
padding: 2px 0;
list-style: none;
}
#sidebar ul li .read-icon {
display: none;
float: right;
font-size: 13px;
min-width: 16px;
margin: 4px 0 0 0;
text-align: right;
}
#sidebar ul li.visited > a .read-icon {
color: #00bdf3;
display: inline;
}
2021-09-13 17:24:37 +00:00
#sidebar .nav-title {
2017-08-02 21:39:49 +00:00
color: white ;
2021-09-13 17:24:37 +00:00
font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-size: 2rem;
font-weight: 400;
letter-spacing: -1px;
line-height: 110% !important;
margin: 1rem 0 1rem 0;
padding-left: 1rem;
2021-09-13 17:24:37 +00:00
text-rendering: optimizeLegibility;
2017-08-02 21:39:49 +00:00
}
#homelinks {
background-color: #9c6fb6;
color: #fff;
padding: 7px 0;
border-bottom: 4px solid #9c6fb6;
}
2019-11-15 10:43:44 +00:00
option {
color: initial;
}
2021-07-16 21:07:15 +00:00
2021-08-27 16:21:12 +00:00
.expand{
margin-bottom: 1rem;
margin-top: 1rem;
}
2021-07-16 21:07:15 +00:00
.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;
2021-07-16 21:07:15 +00:00
}
#body footer.footline{
margin-top: 2rem;
}
2021-08-27 16:21:12 +00:00
.mermaid {
margin-bottom: 1.7rem;
margin-top: 1.7rem;
}
.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;
}
/* Table of contents */
.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: bold;
}
body {
font-size: 16px !important;
color: #323232 !important;
}
#body a.highlight, #body a.highlight:hover, #body a.highlight:focus {
text-decoration: none;
outline: none;
outline: 0;
}
#body a.highlight {
line-height: 1.1;
display: inline-block;
}
#body a.highlight:after {
display: block;
content: "";
height: 1px;
width: 0%;
background-color: #0082a7; /*#CE3B2F*/
-webkit-transition: width 0.5s ease;
-moz-transition: width 0.5s ease;
-ms-transition: width 0.5s ease;
transition: width 0.5s ease;
}
#body a.highlight:hover:after, #body a.highlight:focus:after {
width: 100%;
}
.progress {
box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.1);
position:absolute;
background-color: rgba(246, 246, 246, 0.97);
width: auto;
border: thin solid #ECECEC;
display:none;
z-index:200;
}
#toc-menu {
border-right: thin solid #DAD8D8 !important;
padding-right: 1rem !important;
margin-right: 0.5rem !important;
}
#sidebar-toggle-span {
border-right: thin solid #DAD8D8 !important;
padding-right: 0.5rem !important;
margin-right: 1rem !important;
}
.btn {
display: inline-block !important;
padding: 6px 12px !important;
margin-bottom: 0 !important;
font-size: 14px !important;
font-weight: normal !important;
line-height: 1.42857143 !important;
text-align: center !important;
white-space: nowrap !important;
vertical-align: middle !important;
-ms-touch-action: manipulation !important;
touch-action: manipulation !important;
cursor: pointer !important;
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
user-select: none !important;
background-image: none !important;
border: 1px solid transparent !important;
border-radius: 4px !important;
-webkit-transition: all 0.15s !important;
-moz-transition: all 0.15s !important;
transition: all 0.15s !important;
}
.btn:focus {
/*outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;*/
outline: none !important;
}
.btn:hover,
.btn:focus {
color: #2b2b2b !important;
text-decoration: none !important;
}
.btn-default {
color: #333 !important;
background-color: #fff !important;
border-color: #ccc !important;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
color: #fff !important;
background-color: #9e9e9e !important;
border-color: #9e9e9e !important;
}
.btn-default:active {
background-image: none !important;
}
/* anchors */
.anchor {
color: #00bdf3;
font-size: 0.5em;
cursor:pointer;
visibility:hidden;
margin-left: 0.5em;
position: absolute;
margin-top:0.1em;
}
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: 400;
margin-top: 2rem;
}
#body h3 {
font-size: 1.8rem;
font-weight: 400;
margin-top: 2rem;
}
#body h4 {
font-size: 1.85rem;
font-weight: 200;
margin-top: 2rem;
}
#body h5 {
font-size: 1.6rem;
font-weight: 200;
margin-top: 2rem;
}
#body h6 {
font-size: 1.3rem;
font-weight: 200;
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-style {
border: 0;
width: 150px;
border-radius: 0px;
overflow: hidden;
display: inline-flex;
}
.select-style svg {
fill: #ccc;
width: 14px;
height: 14px;
pointer-events: none;
margin: auto;
}
.select-style svg:hover {
fill: #e6e6e6;
}
.select-style select {
padding: 0;
width: 130%;
border: none;
box-shadow: none;
background: transparent;
background-image: none;
-webkit-appearance: none;
margin: auto;
margin-left: 0px;
margin-right: -20px;
}
.select-style select:focus {
outline: none;
}
.select-style :hover {
cursor: pointer;
}
@media only all and (max-width: 47.938em) {
#breadcrumbs .links, #top-github-link-text {
display: none;
}
}
#top-bar {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 999;
}
#top-bar.is-sticky {
box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.1);
}