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

1417 lines
26 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
@font-face {
font-family: 'Work Sans';
2016-03-25 18:10:51 +00:00
font-style: normal;
font-weight: 200;
src: url("../fonts/WorkSans-ExtraLight.woff") format("woff2"), url("../fonts/WorkSans-ExtraLight.woff") format("woff");
2022-02-23 23:27:38 +00:00
font-display: swap;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
@font-face {
2016-03-25 18:10:51 +00:00
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");
2022-02-23 23:27:38 +00:00
font-display: swap;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
@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");
2022-02-23 23:27:38 +00:00
font-display: swap;
}
2022-02-10 23:59:40 +00:00
@font-face {
2016-03-25 18:10:51 +00:00
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");
2022-02-23 23:27:38 +00:00
font-display: swap;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
@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");
2022-02-23 23:27:38 +00:00
font-display: swap;
}
2022-02-10 23:59:40 +00:00
2022-03-13 10:49:26 +00:00
html {
width: 100%;
height: 100%;
2022-03-13 10:49:26 +00:00
}
body {
2022-03-13 10:45:00 +00:00
display: flex;
flex-direction: row-reverse; /* IE11 to allow body to have initial focus for PS and better SEO and a11y */
font-size: 16.25px;
font-weight: 300;
height: 100%;
2022-03-13 10:49:26 +00:00
justify-content: flex-end;
line-height: 1.574;
/* overflow: hidden; PSC removed for #242 #243 #244; to avoid browser scrollbar to flicker before we create our own */
width: 100%;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
body #body-inner .chapter h1 {
2016-03-25 18:10:51 +00:00
font-size: 3.5rem;
}
@media only screen and (min-width: 48em) and (max-width: 59.938em) {
body #body-inner .chapter h1 {
font-size: 2.8rem;
2016-03-25 18:10:51 +00:00
}
}
@media only screen and (max-width: 47.938em) {
body #body-inner .chapter h1 {
2016-03-25 18:10:51 +00:00
font-size: 2rem;
}
}
2022-02-10 23:59:40 +00:00
pre {
2016-03-25 18:10:51 +00:00
position: relative;
}
2022-02-10 23:59:40 +00:00
b,
strong,
label,
th {
2016-03-25 18:10:51 +00:00
font-weight: 600;
}
2022-02-10 23:59:40 +00:00
2022-02-13 00:53:23 +00:00
.default-animation{
transition: all 0.35s ease;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2022-02-14 19:34:18 +00:00
#sidebar {
display: flex;
2022-03-13 10:49:26 +00:00
flex-basis: auto;
2022-02-14 19:34:18 +00:00
flex-direction: column;
2022-03-13 10:49:26 +00:00
flex-grow: 0;
flex-shrink: 0;
2022-02-14 19:34:18 +00:00
font-size: 15.25px;
height: 100%;
2022-02-14 19:34:18 +00:00
left: 0;
line-height: 1.574;
min-height: 100%;
2022-02-28 00:19:32 +00:00
min-width: 300px;
max-width: 300px;
2022-02-14 19:34:18 +00:00
position: fixed;
width: 300px;
2022-02-28 00:19:32 +00:00
z-index: 310;
2022-02-14 19:34:18 +00:00
}
#header-wrapper {
border-bottom-style: solid;
border-bottom-width: 4px;
2016-03-25 18:10:51 +00:00
text-align: center;
padding: 1rem;
position: relative;
2016-03-25 18:10:51 +00:00
}
#header a {
display: inline-block;
}
2022-02-10 23:59:40 +00:00
.searchbox {
2016-03-25 18:10:51 +00:00
border-radius: 4px;
border-style: solid;
border-width: 1px;
2022-02-10 23:59:40 +00:00
position: relative;
margin-top: 1rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
.searchbox label {
2022-02-10 23:59:40 +00:00
color: rgba( 255, 255, 255, .8 );
position: absolute;
left: 10px;
2016-03-25 18:10:51 +00:00
top: 3px;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
.searchbox span {
2022-02-10 23:59:40 +00:00
color: rgba( 255, 255, 255, .6 );
position: absolute;
right: 10px;
top: 3px;
2016-03-25 18:10:51 +00:00
cursor: pointer;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
.searchbox span:hover {
2022-02-10 23:59:40 +00:00
color: rgba( 255, 255, 255, .9 );
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
.searchbox input {
display: inline-block;
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;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
.searchbox input:-ms-input-placeholder {
2022-02-10 23:59:40 +00:00
color: rgba( 255, 255, 255, .4 );
}
.searchbox input::placeholder {
color: rgba( 255, 255, 255, .4 );
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2022-02-14 19:34:18 +00:00
#content-wrapper {
display: flex;
2022-03-13 10:45:00 +00:00
flex-direction: column;
flex: 1; /* fill rest of vertical space */
2022-02-14 19:34:18 +00:00
overflow: hidden;
2022-03-13 10:45:00 +00:00
position: relative; /* PS */
z-index: 410;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar a.padding {
padding: 0 1rem;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul.topics {
margin: 0 1rem;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul.topics.searched ul {
display: block;
}
2022-02-10 23:59:40 +00:00
2021-09-03 22:17:47 +00:00
#sidebar ul.topics ul {
2016-03-25 18:10:51 +00:00
display: none;
}
2022-02-10 23:59:40 +00:00
#sidebar ul.topics li {
position: relative;
}
#sidebar ul.topics > li > ul > li:last-child {
2016-03-25 18:10:51 +00:00
padding-bottom: 1rem;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul.topics ul ul {
padding-bottom: 0;
}
2022-02-10 23:59:40 +00:00
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;
}
2022-02-10 23:59:40 +00:00
#sidebar ul.topics input.toggle,
#sidebar ul.topics label {
display: none;
}
#sidebar ul.topics > li > label,
2016-03-25 18:10:51 +00:00
#sidebar ul.topics > li > a {
font-size: 1.1rem;
2022-02-10 23:59:40 +00:00
line-height: 2rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul.topics > li > a b {
font-weight: 400;
2022-02-10 23:59:40 +00:00
opacity: 0.5;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul.topics > li > a .fa {
margin-top: 9px;
}
2022-02-10 23:59:40 +00:00
#sidebar ul.topics > li {
2016-03-25 18:10:51 +00:00
margin-left: -1rem;
margin-right: -1rem;
padding-left: 1rem;
padding-right: 1rem;
}
2022-02-10 23:59:40 +00:00
#sidebar ul.topics li > a {
2016-03-25 18:10:51 +00:00
margin-left: -1rem;
margin-right: -1rem;
padding-left: 1rem;
padding-right: 1rem;
}
2022-02-10 23:59:40 +00:00
#sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
2016-03-25 18:10:51 +00:00
#sidebar ul li {
padding: 0;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul li.visited + span {
margin-right: 16px;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul li a {
display: block;
padding: 2px 0;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul li a span {
2022-02-10 23:59:40 +00:00
display: block;
2016-03-25 18:10:51 +00:00
overflow: hidden;
2022-02-10 23:59:40 +00:00
text-overflow: ellipsis;
2016-03-25 18:10:51 +00:00
white-space: nowrap;
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
#sidebar ul li > a {
padding: 4px 0;
}
2022-02-10 23:59:40 +00:00
#sidebar ul li li {
padding-left: 1rem;
}
#sidebar ul.topics > li > a .read-icon {
margin-top: 9px;
}
#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;
}
2016-03-25 18:10:51 +00:00
#sidebar ul li.visited > a .read-icon {
display: inline;
}
2022-02-10 23:59:40 +00:00
#sidebar .nav-title {
font-size: 2rem;
font-weight: 200;
letter-spacing: -1px;
line-height: 110% !important;
margin: 1rem 0 1rem 0;
2016-03-25 18:10:51 +00:00
padding-left: 1rem;
2022-02-10 23:59:40 +00:00
text-rendering: optimizeLegibility;
text-transform: uppercase;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#sidebar .footermargin {
margin-top: auto;
}
#sidebar hr {
border-bottom-style: solid;
border-bottom-width: 1px;
margin: 1.5rem 1rem 1rem 1rem;
}
#body {
2022-03-13 10:45:00 +00:00
display: flex;
2022-03-13 10:49:26 +00:00
flex-basis: 100%;
2022-03-13 10:45:00 +00:00
flex-direction: column;
2022-03-13 10:49:26 +00:00
flex-grow: 1;
flex-shrink: 0;
height: 100%;
2022-03-13 10:45:00 +00:00
margin-left: 300px;
min-height: 100%;
min-width: calc( 100% - 300px);
max-width: calc( 100% - 300px);
2022-03-13 10:45:00 +00:00
overflow-wrap: break-word; /* avoid x-scrolling of body if it is to large to fit */
position: relative; /* PS */
width: calc( 100% - 300px);
2022-03-13 10:45:00 +00:00
z-index: 300;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#body img,
#body .video-container {
display: block;
2022-02-10 23:59:40 +00:00
margin: 1.5rem auto;
2016-03-25 18:10:51 +00:00
text-align: center;
}
2022-02-10 23:59:40 +00:00
#body img.border,
#body .video-container.border {
border: 2px solid #e6e6e6;
2016-03-25 18:10:51 +00:00
padding: 2px;
}
2022-02-10 23:59:40 +00:00
#body img.shadow,
#body .video-container.shadow {
2022-02-22 19:54:43 +00:00
box-shadow: 0 10px 30px rgba( 200, 200, 200, .666 );
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2017-01-27 15:37:22 +00:00
#body img.inline {
display: inline !important;
margin: 0 !important;
vertical-align: bottom;
}
2022-02-10 23:59:40 +00:00
2022-02-17 23:09:06 +00:00
#body-inner {
2022-02-28 00:19:32 +00:00
display: flex;
2022-06-05 11:51:20 +00:00
flex: auto;
2022-02-28 00:19:32 +00:00
flex-direction: column;
2022-06-05 11:51:20 +00:00
overflow-y: auto;
2022-02-17 23:09:06 +00:00
padding: 0 3rem 4rem 3rem;
2022-02-28 00:19:32 +00:00
position: relative; /* PS */
2016-03-25 18:10:51 +00:00
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 59.938em) {
2022-02-17 23:09:06 +00:00
#body-inner {
padding: 0 2rem 15px 2rem;
2016-03-25 18:10:51 +00:00
}
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 47.938em) {
2022-02-17 23:09:06 +00:00
#body-inner {
padding: 0 1rem 5px 1rem;
2016-03-25 18:10:51 +00:00
}
}
2022-02-10 23:59:40 +00:00
#body-inner:focus-visible{
/* remove focus indicator for programatically set focus */
outline: none;
}
2016-03-25 18:10:51 +00:00
#body h1 + hr {
2021-09-28 22:02:34 +00:00
margin-bottom: 2rem;
2022-02-10 23:59:40 +00:00
margin-top: -1rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
/* we limit width if we have large screens */
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
#body .flex-block-wrapper {
2022-03-25 13:09:30 +00:00
margin-left: auto;
margin-right: auto;
2022-03-13 10:45:00 +00:00
max-width: 1000px;
}
}
#body-inner.chapter {
2022-03-25 13:09:30 +00:00
margin-left: auto;
margin-right: auto;
padding: 2rem 9rem;
2016-03-25 18:10:51 +00:00
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 59.938em) {
2022-02-28 00:19:32 +00:00
#body-inner.chapter {
padding: 15px 4rem 15px 4rem;
}
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 47.938em) {
2022-02-28 00:19:32 +00:00
#body-inner.chapter {
padding: 5px 2rem 5px 2rem;
}
}
2022-02-10 23:59:40 +00:00
#body-inner .chapter h3:first-of-type {
font-weight: 200;
2022-03-25 13:21:45 +00:00
margin-top: 0;
2016-03-25 18:10:51 +00:00
text-align: center;
}
2022-02-10 23:59:40 +00:00
#body-inner .chapter h1 {
2022-02-10 23:59:40 +00:00
border-bottom: 4px solid rgba( 134, 134, 134, .125 );
font-size: 5rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#body-inner .chapter p {
2016-03-25 18:10:51 +00:00
font-size: 1.2rem;
2022-02-10 23:59:40 +00:00
text-align: justify;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
h1 {
font-weight: 200;
2016-03-25 18:10:51 +00:00
text-align: center;
text-transform: uppercase;
}
2022-02-10 23:59:40 +00:00
h2, h3, h4, h5, h6 {
letter-spacing: -1px;
text-rendering: optimizeLegibility;
}
blockquote {
2022-02-10 23:59:40 +00:00
border-left: 10px solid rgba( 134, 134, 134, .4 );
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
blockquote p {
2022-02-10 23:59:40 +00:00
font-size: 105%;
font-style: italic;
opacity: .75;
text-align: justify;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
blockquote cite {
display: block;
2022-02-10 23:59:40 +00:00
font-weight: bold;
opacity: .5;
padding-top: .5em;
text-align: right;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
/* colored boxes */
div.box {
2022-02-23 09:56:17 +00:00
--VARIABLE-BOX-color: var(--INTERNAL-BOX-NEUTRAL-color);
--VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-CAPTION-color);
--VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-BG-color);
--VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-NEUTRAL-TEXT-color);
2022-03-13 10:45:00 +00:00
-webkit-print-color-adjust: exact;
color-adjust: exact;
2021-09-28 22:02:34 +00:00
margin: 1.5rem 0;
2022-02-08 18:51:48 +00:00
}
2022-02-10 23:59:40 +00:00
div.box > .box-label {
font-weight: 500;
padding: .2rem .6rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
div.box > .box-content {
padding-bottom: .1rem;
padding-left: 1rem;
padding-right: 1rem;
}
#body div.box > .box-content > :first-child {
margin-top: 0;
padding-top: 1rem;
}
#body div.box > .box-content > :last-child {
margin-bottom: 1rem;
}
/* attachments shortcode */
2017-08-01 20:25:17 +00:00
div.attachments .box-content {
display: block;
margin: 0;
padding-left: 1.75rem;
2017-08-01 20:25:17 +00:00
}
2017-08-01 20:37:40 +00:00
/* Children shortcode */
2022-02-10 23:59:40 +00:00
2017-08-01 20:37:40 +00:00
.children p {
font-size: small;
margin-bottom: 0px;
2022-02-10 23:59:40 +00:00
margin-top: 0px;
2017-08-01 20:37:40 +00:00
padding-bottom: 0px;
2022-02-10 23:59:40 +00:00
padding-top: 0px;
2017-08-01 20:37:40 +00:00
}
2022-02-10 23:59:40 +00:00
2017-08-01 20:37:40 +00:00
.children-li p {
font-size: small;
font-style: italic;
}
2022-02-10 23:59:40 +00:00
.children-h2 p,
.children-h3 p {
2017-08-01 20:37:40 +00:00
font-size: small;
margin-bottom: 0px;
2022-02-10 23:59:40 +00:00
margin-top: 0px;
2017-08-01 20:37:40 +00:00
padding-bottom: 0px;
2022-02-10 23:59:40 +00:00
padding-top: 0px;
2017-08-01 20:37:40 +00:00
}
2022-02-10 23:59:40 +00:00
#body-inner .children h2,
#body-inner .children h3,
#body-inner .children h4,
#body-inner .children h5,
#body-inner .children h6 {
2021-10-31 09:34:32 +00:00
margin-bottom: 0;
margin-top: 1rem;
2017-08-01 20:37:40 +00:00
}
#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
2022-02-10 23:59:40 +00:00
code,
kbd,
pre,
samp {
font-size: 92%;
vertical-align: baseline;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
code {
2016-03-25 18:10:51 +00:00
border-radius: 2px;
border-style: solid;
border-width: 1px;
2022-03-13 10:45:00 +00:00
-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;
}
2022-02-10 23:59:40 +00:00
span.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;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
pre {
2016-03-25 18:10:51 +00:00
border-radius: 2px;
border-style: solid;
border-width: 1px;
-webkit-print-color-adjust: economy;
2022-03-13 10:45:00 +00:00
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
}
2022-02-10 23:59:40 +00:00
2016-03-25 18:10:51 +00:00
pre code {
background-color: inherit;
color: inherit;
2022-03-13 10:45:00 +00:00
-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
}
2022-02-10 23:59:40 +00:00
hr {
2022-02-10 23:59:40 +00:00
border-bottom: 4px solid rgba( 134, 134, 134, .125 );
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#body-inner pre {
2016-03-25 18:10:51 +00:00
white-space: pre-wrap;
}
2022-02-10 23:59:40 +00:00
#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;
2022-02-10 23:59:40 +00:00
overflow-x: hidden;
}
table {
2022-02-10 23:59:40 +00:00
border: 1px solid rgba( 134, 134, 134, .333 );
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;
}
2022-02-10 23:59:40 +00:00
th,
thead td {
background-color: rgba( 134, 134, 134, .166 );
border: 1px solid rgba( 134, 134, 134, .333 );
-webkit-print-color-adjust: exact;
2022-03-13 10:45:00 +00:00
color-adjust: exact;
2021-08-27 20:17:19 +00:00
padding: 0.5rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
td {
2022-02-10 23:59:40 +00:00
border: 1px solid rgba( 134, 134, 134, .333 );
padding: 0.5rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
.tooltipped {
2016-03-25 18:10:51 +00:00
position: relative;
}
2022-02-15 19:00:00 +00:00
.tooltipped:after {
background: rgba(0, 0, 0, 1);
border: 1px solid #777;
2022-02-15 19:00:00 +00:00
border-radius: 3px;
color: #fff;
content: attr(aria-label);
2016-03-25 18:10:51 +00:00
display: none;
font: normal normal 11px/1.5 "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
2022-02-15 19:00:00 +00:00
-webkit-font-smoothing: subpixel-antialiased;
letter-spacing: normal;
padding: 5px 8px;
pointer-events: none;
position: absolute;
2016-03-25 18:10:51 +00:00
text-align: center;
text-decoration: none;
text-shadow: none;
text-transform: none;
white-space: pre;
2022-02-15 19:00:00 +00:00
word-wrap: break-word;
2022-02-28 00:19:32 +00:00
z-index: 450;
2016-03-25 18:10:51 +00:00
}
2022-02-15 19:00:00 +00:00
.tooltipped:before {
2022-02-15 19:00:00 +00:00
border: 5px solid transparent;
color: rgba(0, 0, 0, 1);
2022-02-15 19:00:00 +00:00
content: "";
2016-03-25 18:10:51 +00:00
display: none;
height: 0;
pointer-events: none;
2022-02-15 19:00:00 +00:00
position: absolute;
width: 0;
2022-02-28 00:19:32 +00:00
z-index: 460;
2016-03-25 18:10:51 +00:00
}
2022-02-15 19:00:00 +00:00
.tooltipped:hover:before,
.tooltipped:hover:after,
.tooltipped:active:before,
.tooltipped:active:after,
.tooltipped:focus:before,
.tooltipped:focus:after {
2016-03-25 18:10:51 +00:00
display: inline-block;
text-decoration: none;
}
2022-02-15 19:00:00 +00:00
.tooltipped-s:after,
.tooltipped-se:after,
.tooltipped-sw:after {
2016-03-25 18:10:51 +00:00
margin-top: 5px;
right: 50%;
2022-02-15 19:00:00 +00:00
top: 100%;
}
.tooltipped-s:before,
.tooltipped-se:before,
.tooltipped-sw:before {
border-bottom-color: rgba(0, 0, 0, 0.8);
2016-03-25 18:10:51 +00:00
bottom: -5px;
margin-right: -5px;
2022-02-15 19:00:00 +00:00
right: 50%;
top: auto;
2016-03-25 18:10:51 +00:00
}
2022-02-15 19:00:00 +00:00
.tooltipped-se:after {
2016-03-25 18:10:51 +00:00
left: 50%;
margin-left: -15px;
2022-02-15 19:00:00 +00:00
right: auto;
2016-03-25 18:10:51 +00:00
}
2022-02-15 19:00:00 +00:00
.tooltipped-sw:after {
2016-03-25 18:10:51 +00:00
margin-right: -15px;
}
2022-02-15 19:00:00 +00:00
.tooltipped-n:after,
.tooltipped-ne:after,
.tooltipped-nw:after {
2016-03-25 18:10:51 +00:00
bottom: 100%;
margin-bottom: 5px;
right: 50%;
2022-02-15 19:00:00 +00:00
}
.tooltipped-n:before,
.tooltipped-ne:before,
.tooltipped-nw:before {
border-top-color: rgba(0, 0, 0, 0.8);
2016-03-25 18:10:51 +00:00
bottom: auto;
margin-right: -5px;
2022-02-15 19:00:00 +00:00
right: 50%;
top: -5px;
2016-03-25 18:10:51 +00:00
}
2022-02-15 19:00:00 +00:00
.tooltipped-ne:after {
2016-03-25 18:10:51 +00:00
left: 50%;
margin-left: -15px;
2022-02-15 19:00:00 +00:00
right: auto;
2016-03-25 18:10:51 +00:00
}
2022-02-15 19:00:00 +00:00
.tooltipped-nw:after {
2016-03-25 18:10:51 +00:00
margin-right: -15px;
}
2022-02-15 19:00:00 +00:00
.tooltipped-s:after,
.tooltipped-n:after {
2016-03-25 18:10:51 +00:00
transform: translateX(50%);
}
2022-02-15 19:00:00 +00:00
.tooltipped-w:after {
2016-03-25 18:10:51 +00:00
bottom: 50%;
margin-right: 5px;
2022-02-15 19:00:00 +00:00
right: 100%;
2016-03-25 18:10:51 +00:00
transform: translateY(50%);
}
2022-02-15 19:00:00 +00:00
.tooltipped-w:before {
2022-02-15 19:00:00 +00:00
border-left-color: rgba(0, 0, 0, 0.8);
2016-03-25 18:10:51 +00:00
bottom: 50%;
left: -5px;
margin-top: -5px;
2022-02-15 19:00:00 +00:00
top: 50%;
2016-03-25 18:10:51 +00:00
}
2022-02-15 19:00:00 +00:00
.tooltipped-e:after {
2016-03-25 18:10:51 +00:00
bottom: 50%;
left: 100%;
margin-left: 5px;
transform: translateY(50%);
}
2022-02-15 19:00:00 +00:00
.tooltipped-e:before {
2022-02-15 19:00:00 +00:00
border-right-color: rgba(0, 0, 0, 0.8);
2016-03-25 18:10:51 +00:00
bottom: 50%;
margin-top: -5px;
2022-02-15 19:00:00 +00:00
right: -5px;
top: 50%;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#sidebar .highlightable {
padding: 1rem 0 1rem;
2016-03-25 18:10:51 +00:00
position: relative;
}
2022-02-10 23:59:40 +00:00
.lightbox-active #body {
2016-03-25 18:10:51 +00:00
overflow: visible;
}
2022-02-10 23:59:40 +00:00
.featherlight img {
2016-03-25 18:10:51 +00:00
margin: 0 !important;
}
2022-02-10 23:59:40 +00:00
#topbar {
2016-03-25 18:10:51 +00:00
min-height: 3rem;
position: relative;
z-index: 480;
2022-02-10 23:59:40 +00:00
}
#topbar > div {
2022-02-10 23:59:40 +00:00
background-color: rgba( 134, 134, 134, .066 );
height: 100%;
}
2022-02-17 23:09:06 +00:00
.navigation,
#top-print-link,
#top-github-link {
2016-03-25 18:10:51 +00:00
display: block;
2022-02-10 23:59:40 +00:00
float: right;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2022-02-17 23:09:06 +00:00
.nav,
.print-link,
2022-02-17 23:09:06 +00:00
.github-link {
border-left: thin solid rgba( 134, 134, 134, .333 );
padding-left: 1rem;
padding-right: 1rem;
}
span.nav i{
color: rgba( 134, 134, 134, .333 );
}
.navigation,
#top-print-link,
2022-02-17 23:09:06 +00:00
#top-github-link {
2022-02-10 23:59:40 +00:00
position: relative;
top: 50%;
transform: translateY(-50%);
}
2022-03-13 10:49:26 +00:00
#toc-menu{
cursor: pointer;
}
2022-02-17 23:09:06 +00:00
#toc-menu,
#sidebar-toggle-span {
2022-03-13 10:45:00 +00:00
border-right: thin solid rgba( 134, 134, 134, .333 );
padding-left: 1rem;
padding-right: 1rem;
2022-02-17 23:09:06 +00:00
}
2022-02-10 23:59:40 +00:00
#body #breadcrumbs {
display: inline-block;
float: left;
2016-03-25 18:10:51 +00:00
height: auto;
line-height: 1.4;
2022-02-10 23:59:40 +00:00
margin-bottom: 0;
overflow: hidden;
2022-02-17 23:09:06 +00:00
position: relative;
text-overflow: ellipsis;
2022-02-17 23:09:06 +00:00
top: 50%;
transform: translateY(-50%);
2022-02-10 23:59:40 +00:00
white-space: nowrap;
width: calc(100% - 5*3.25rem);
2016-03-25 18:10:51 +00:00
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 47.938em) {
#body #breadcrumbs {
text-overflow: unset;
}
}
2022-02-10 23:59:40 +00:00
2022-02-14 19:34:18 +00:00
#sidebar-toggle-span {
display: none;
}
2022-02-17 23:09:06 +00:00
.progress {
left: 1rem;
top: 1rem;
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 47.938em) {
2022-02-28 00:19:32 +00:00
.mobile-support #sidebar-toggle-span {
2022-02-14 19:34:18 +00:00
display: inline;
}
2022-02-17 23:09:06 +00:00
.progress {
left: 4.25rem;
}
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#body #breadcrumbs .links {
display: inline;
2022-02-17 23:09:06 +00:00
padding: 0 .75rem;
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 47.938em) {
#body #breadcrumbs .links {
/* we just hide the breadcrumbs instead of display: none;
this makes sure that the breadcrumbs are still usable for
accessability */
visibility: hidden;
}
}
#body #breadcrumbs .links * {
display: inline-block;
padding: 0;
}
2022-02-10 23:59:40 +00:00
#body #breadcrumbs .links meta {
display: none;
}
2022-02-10 23:59:40 +00:00
#body #breadcrumbs .links li:last-of-type {
cursor: text;
}
2022-02-10 23:59:40 +00:00
#body a[aria-disabled="true"] {
pointer-events: none;
text-decoration: none;
}
2022-02-10 23:59:40 +00:00
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 59.938em) {
2016-03-25 18:10:51 +00:00
#sidebar {
2022-03-13 10:45:00 +00:00
min-width: 230px;
max-width: 230px;
width: 230px;
2016-03-25 18:10:51 +00:00
}
#body {
2022-03-13 10:45:00 +00:00
margin-left: 230px;
min-width: calc( 100% - 230px);
max-width: calc( 100% - 230px);
width: calc( 100% - 230px);
2016-03-25 18:10:51 +00:00
}
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 47.938em) {
/* we don't support sidebar flyout in mobile */
2022-02-28 00:19:32 +00:00
.mobile-support #sidebar {
2016-03-25 18:10:51 +00:00
left: -230px;
}
2022-02-28 00:19:32 +00:00
.mobile-support #navshow{
display: inline;
}
.mobile-support #body {
2016-03-25 18:10:51 +00:00
margin-left: 0;
min-width: 100%;
max-width: 100%;
width: 100%;
2016-03-25 18:10:51 +00:00
}
2022-02-28 00:19:32 +00:00
.mobile-support.sidebar-flyout {
2016-03-25 18:10:51 +00:00
overflow: hidden;
}
2022-02-28 00:19:32 +00:00
.mobile-support.sidebar-flyout #sidebar {
2016-03-25 18:10:51 +00:00
left: 0;
2022-03-13 10:45:00 +00:00
z-index: 400;
2016-03-25 18:10:51 +00:00
}
2022-02-28 00:19:32 +00:00
.mobile-support.sidebar-flyout #body {
2016-03-25 18:10:51 +00:00
margin-left: 230px;
overflow: hidden;
}
2022-03-13 10:45:00 +00:00
.mobile-support.sidebar-flyout #sidebar-overlay{
2022-02-14 22:59:06 +00:00
background-color: rgba(134, 134, 134, 0.5);
2022-02-10 23:59:40 +00:00
bottom: 0;
cursor: pointer;
2016-03-25 18:10:51 +00:00
left: 0;
2022-02-10 23:59:40 +00:00
position: absolute;
2016-03-25 18:10:51 +00:00
right: 0;
top: 0;
2022-02-28 00:19:32 +00:00
z-index: 500;
2022-03-13 10:45:00 +00:00
}
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
.copy-to-clipboard-button {
border-radius: 0 2px 2px 0;
border-style: solid;
border-width: 1px;
cursor: pointer;
font-size: 92%;
padding-left: 22px;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
.copy-to-clipboard-button > i {
2022-02-10 23:59:40 +00:00
font-size: 92%;
font-weight: 500;
margin-left: -22px;
}
.copy-to-clipboard-code + .copy-to-clipboard-button > i {
2022-02-10 23:59:40 +00:00
padding-left: 5px;
padding-right: 5px;
}
pre .copy-to-clipboard-button {
background-color: rgba( 160, 160, 160, .2 );
border-radius: 2px;
border-style: solid;
border-width: 1px;
2022-02-10 23:59:40 +00:00
padding: 5px 3px 5px 25px;
position: absolute;
right: 4px;
top: 4px;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#homelinks {
border-bottom-style: solid;
border-bottom-width: 4px;
2022-02-10 23:59:40 +00:00
padding: 7px 0;
}
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;
}
2022-02-20 22:58:16 +00:00
/* expander expand collapsed marked, must override logic of expand.html, controlled by theme.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;
}
.footline i{
margin-left: .5rem;
}
.footline i:first-child{
margin-left: 0;
}
2021-08-27 16:21:12 +00:00
.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;
}
2022-02-10 23:59:40 +00:00
.mermaid > svg:hover {
2022-02-15 19:00:00 +00:00
border-color: rgba( 134, 134, 134, .333 );
}
.mermaid-code {
display: none;
}
.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;
}
2022-02-10 23:59:40 +00:00
#body a.highlight,
#body a.highlight:hover,
#body a.highlight:focus {
outline-style: none;
text-decoration: none;
}
2022-02-10 23:59:40 +00:00
#body a.highlight {
display: inline-block;
2022-02-10 23:59:40 +00:00
line-height: 1.1;
}
2022-02-10 23:59:40 +00:00
#body a.highlight:after {
content: "";
2022-02-10 23:59:40 +00:00
display: block;
height: 1px;
width: 0%;
transition: width 0.5s ease;
}
2022-02-10 23:59:40 +00:00
#body a.highlight:hover:after,
#body a.highlight:focus:after {
width: 100%;
}
#body #topbar .navigation a.highlight:after,
#body #sidebar-toggle-span a.highlight:after,
#body #top-print-link a.highlight:after,
#body #top-github-link a.highlight:after {
2022-02-14 22:59:06 +00:00
background-color: transparent;
}
2022-02-15 19:00:00 +00:00
/* Table of contents */
2022-02-28 00:19:32 +00:00
.toc-flyout #toc-overlay{
2022-03-13 10:45:00 +00:00
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 470;
2022-02-28 00:19:32 +00:00
}
2022-03-13 10:49:26 +00:00
.progress {
border: 0px solid rgba( 134, 134, 134, .166 );
2022-02-15 19:00:00 +00:00
box-shadow: 1px 2px 5px 1px rgba( 134, 134, 134, .2 );
2022-03-13 10:49:26 +00:00
height: 0;
opacity: 0;
overflow: hidden;
position: absolute;
2022-03-13 10:49:26 +00:00
width: 0;
2022-02-28 00:19:32 +00:00
z-index: 490;
}
2022-03-13 10:49:26 +00:00
.toc-flyout .progress {
border-width: 1px;
height: auto;
opacity: 1;
width: auto;
}
2022-02-15 19:00:00 +00:00
.progress .wrapper {
background-color: rgba( 134, 134, 134, .066 );
}
.progress ul {
list-style: none;
margin: 0;
padding: 0 15px;
}
#TableOfContents {
font-size: 13px !important;
2022-06-05 22:44:04 +00:00
max-height: 90vh;
overflow: hidden;
2022-02-15 19:00:00 +00:00
padding: 15px 5px !important;
2022-06-05 22:44:04 +00:00
position: relative; /* PS */
2022-02-15 19:00:00 +00:00
}
#TableOfContents > ul > li > a {
font-weight: 500;
}
.btn {
2022-05-29 19:30:20 +00:00
--VARIABLE-BOX-color: var(--INTERNAL-BOX-NEUTRAL-color);
--VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-CAPTION-color);
--VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-BG-color);
--VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-NEUTRAL-TEXT-color);
border-radius: 4px;
-webkit-print-color-adjust: exact;
color-adjust: exact;
cursor: pointer;
display: inline-block;
2022-05-29 21:27:43 +00:00
font-size: .9rem;
2022-03-13 10:45:00 +00:00
font-weight: 500;
2022-05-29 19:30:20 +00:00
line-height: 1.42857143;
margin-bottom: 0;
touch-action: manipulation;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
}
2022-02-15 19:00:00 +00:00
2022-05-29 19:30:20 +00:00
.btn a {
border-radius: 4px;
border-style: solid;
border-width: 1px;
padding: 6px 12px;
text-align: center;
touch-action: manipulation;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
white-space: nowrap;
background-color: transparent;
}
2022-05-29 19:30:20 +00:00
#body #body-inner .btn a.highlight:after {
2022-03-13 10:45:00 +00:00
background-color: transparent;
}
2022-02-15 19:00:00 +00:00
2022-05-29 19:30:20 +00:00
.btn a:focus {
outline: none;
}
2022-02-15 19:00:00 +00:00
2022-05-29 19:30:20 +00:00
.btn a:hover,
.btn a:focus {
text-decoration: none;
}
/* anchors */
.anchor {
2022-03-13 10:45:00 +00:00
cursor: pointer;
font-size: .5em;
margin-left: .66em;
margin-top: .9em;
position: absolute;
2022-03-13 10:45:00 +00:00
visibility: hidden;
}
2022-02-10 23:59:40 +00:00
h2:hover .anchor,
h3:hover .anchor,
h4:hover .anchor,
h5:hover .anchor,
h6:hover .anchor {
visibility: visible;
}
/* Redfines headers style */
2022-02-10 23:59:40 +00:00
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
2022-03-13 10:45:00 +00:00
font-weight: inherit;
}
#body h2 {
2022-03-13 10:45:00 +00:00
font-size: 2.2rem;
font-weight: 500;
margin-top: 2rem;
}
#body h3 {
2022-03-13 10:45:00 +00:00
font-size: 1.8rem;
font-weight: 500;
margin-top: 2rem;
}
#body h4 {
2022-03-13 10:45:00 +00:00
font-size: 1.85rem;
font-weight: 300;
margin-top: 2rem;
}
#body h5 {
2022-03-13 10:45:00 +00:00
font-size: 1.6rem;
font-weight: 300;
margin-top: 2rem;
}
#body h6 {
2022-03-13 10:45:00 +00:00
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;
}
rapi-doc {
/* adjust rapi-doc internals to fill out available space */
margin-left: calc( -8px - 24px );
width: calc( 100% + 8px + 24px + 8px );
}
.select-container i {
padding-top: .25em;
}
.select-container i,
.select-container span {
display: block;
float: left;
2022-02-12 22:49:33 +00:00
}
.select-style {
border: 0;
border-radius: 0px;
height: 1.574em;
2022-02-10 23:59:40 +00:00
overflow: hidden;
}
.select-style select {
2022-02-10 23:59:40 +00:00
-webkit-appearance: none;
appearance: none;
border: none;
box-shadow: none;
2022-02-12 22:49:33 +00:00
background-color: transparent;
background-image: none;
2022-02-12 22:49:33 +00:00
width: 100%;
}
.select-style select:focus {
outline: none;
}
.select-style select::-ms-expand {
display: none;
}
.select-style :hover {
2022-02-12 22:49:33 +00:00
cursor: pointer;
}
.select-style option {
color: #000000;
padding: 0;
margin: 0;
}
.select-clear {
clear: both;
}
2022-02-22 09:32:52 +00:00
.footerLangSwitch,
.footerVariantSwitch,
.footerVisitedLinks,
.footerFooter {
display: none;
}
.showLangSwitch,
.showVariantSwitch,
.showVisitedLinks,
.showFooter {
display: initial;
}
2022-03-25 13:09:30 +00:00
@media screen and (max-width: 47.938em) {
#breadcrumbs .links {
2022-03-13 10:45:00 +00:00
display: none;
}
}
/* clears the 'X' from Chrome's search input */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
#sidebar ul.collapsible-menu input.toggle {
cursor: pointer;
display: block;
left: -1rem;
opacity: 0;
overflow: hidden;
position: absolute;
top: 0;
}
#sidebar ul.collapsible-menu label {
cursor: pointer;
display: inline;
height: 1rem;
left: 0;
margin-top: .25em;
position: absolute;
width: 1rem;
}
#sidebar .collapsible-menu input.toggle + label:after {
content: "▸";
}
#sidebar .collapsible-menu input.toggle:checked + label:after {
content: "▾";
}
#sidebar .collapsible-menu input.toggle + label + a + ul {
display: none;
}
#sidebar .collapsible-menu input.toggle:checked + label + a + ul {
display: inline;
}