mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 17:53:07 +00:00
1614 lines
31 KiB
CSS
1614 lines
31 KiB
CSS
@charset "UTF-8";
|
|
|
|
@import "tags.css";
|
|
@import "tabs.css";
|
|
|
|
html {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
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%;
|
|
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%;
|
|
}
|
|
|
|
body:not(.print) #body-inner.narrow h1 {
|
|
font-size: 3.5rem;
|
|
}
|
|
@media only screen and (min-width: 48em) and (max-width: 59.938em) {
|
|
body:not(.print) #body-inner.narrow h1 {
|
|
font-size: 2.8rem;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 47.938em) {
|
|
body:not(.print) #body-inner.narrow h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
}
|
|
|
|
pre {
|
|
position: relative;
|
|
}
|
|
|
|
b,
|
|
strong,
|
|
label,
|
|
th {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.default-animation{
|
|
transition: all 0.35s ease;
|
|
}
|
|
|
|
#sidebar {
|
|
display: flex;
|
|
flex-basis: auto;
|
|
flex-direction: column;
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
font-size: 15.25px;
|
|
height: 100%;
|
|
left: 0;
|
|
line-height: 1.574;
|
|
min-height: 100%;
|
|
min-width: 300px;
|
|
max-width: 300px;
|
|
position: fixed;
|
|
width: 300px;
|
|
z-index: 80;
|
|
}
|
|
|
|
#header-wrapper {
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 4px;
|
|
text-align: center;
|
|
padding: 1rem;
|
|
position: relative;
|
|
}
|
|
#header a {
|
|
display: inline-block;
|
|
}
|
|
|
|
.searchbox {
|
|
border-radius: 4px;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
position: relative;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.searchbox > :first-child {
|
|
position: absolute;
|
|
left: 10px;
|
|
}
|
|
|
|
.searchbox > button {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
background-color: transparent;
|
|
border: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
top: 4px;
|
|
}
|
|
|
|
.searchbox > i {
|
|
top: 7px;
|
|
}
|
|
|
|
.searchbox span {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#sidebar .searchbox > :first-child,
|
|
#sidebar .searchbox button,
|
|
.searchbox span {
|
|
color: rgba( 255, 255, 255, .6 );
|
|
}
|
|
|
|
#sidebar .searchbox button:hover,
|
|
.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::placeholder {
|
|
color: rgba( 255, 255, 255, .4 );
|
|
}
|
|
|
|
#content-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1; /* fill rest of vertical space */
|
|
overflow: hidden;
|
|
position: relative; /* PS */
|
|
z-index: 100;
|
|
}
|
|
|
|
#sidebar .padding {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
#sidebar ul.topics {
|
|
margin: 0 1rem;
|
|
}
|
|
|
|
#sidebar ul.topics ul {
|
|
display: none;
|
|
}
|
|
|
|
#sidebar ul.topics li {
|
|
position: relative;
|
|
}
|
|
|
|
#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.collapsible-menu > li > .toggle,
|
|
#sidebar ul.topics > li > a {
|
|
font-size: 1.1rem;
|
|
line-height: 2rem;
|
|
}
|
|
|
|
#sidebar ul.topics > li > a b {
|
|
font-weight: 400;
|
|
}
|
|
|
|
#sidebar ul.topics > li > a .fa {
|
|
margin-top: 9px;
|
|
}
|
|
|
|
#sidebar ul.topics > li {
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
#sidebar ul.topics li > a {
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
#sidebar ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#sidebar ul li {
|
|
padding: 0;
|
|
}
|
|
|
|
#sidebar ul li.visited + span {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
#sidebar ul li a,
|
|
#sidebar ul li button {
|
|
display: block;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
#sidebar ul li a span {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#sidebar ul li > a,
|
|
#sidebar ul li > button {
|
|
padding: 4px 0;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
#sidebar ul li.visited > a .read-icon {
|
|
display: inline;
|
|
}
|
|
|
|
#sidebar .nav-title {
|
|
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-style: solid;
|
|
border-bottom-width: 1px;
|
|
margin: 1.5rem 1rem 1rem 1rem;
|
|
}
|
|
|
|
#body {
|
|
display: flex;
|
|
flex-basis: 100%;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
height: 100%;
|
|
margin-left: 300px;
|
|
min-height: 100%;
|
|
min-width: calc( 100% - 300px);
|
|
max-width: calc( 100% - 300px);
|
|
overflow-wrap: break-word; /* avoid x-scrolling of body if it is to large to fit */
|
|
position: relative; /* PS */
|
|
width: calc( 100% - 300px);
|
|
z-index: 70;
|
|
}
|
|
|
|
#body img,
|
|
#body img.center,
|
|
#body .video-container {
|
|
display: block;
|
|
margin: 1.5rem auto;
|
|
text-align: center;
|
|
}
|
|
|
|
#body img.left {
|
|
margin-left: 0;
|
|
}
|
|
|
|
#body img.right {
|
|
margin-right: 0;
|
|
}
|
|
|
|
#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( 200, 200, 200, .666 );
|
|
}
|
|
|
|
#body img.inline {
|
|
display: inline !important;
|
|
margin: 0 !important;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
#body-inner {
|
|
display: flex;
|
|
flex: auto;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
padding: 0 3.25rem 4rem 3.25rem;
|
|
position: relative; /* PS */
|
|
}
|
|
@media screen and (max-width: 59.938em) {
|
|
#body-inner {
|
|
padding: 0 2rem 15px 2rem;
|
|
}
|
|
}
|
|
@media screen and (max-width: 47.938em) {
|
|
#body-inner {
|
|
padding: 0 1.25rem 5px 1.25rem;
|
|
}
|
|
}
|
|
|
|
#body-inner:focus-visible{
|
|
/* remove focus indicator for programatically set focus */
|
|
outline: none;
|
|
}
|
|
|
|
#body h1 + hr {
|
|
margin-bottom: 2rem;
|
|
margin-top: -1rem;
|
|
}
|
|
|
|
/* we limit width if we have large screens */
|
|
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
|
|
#body .flex-block-wrapper {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
min-width: calc( 1300px - 300px - 2 * 3.25rem );
|
|
width: calc( 1300px - 300px - 2 * 3.25rem );
|
|
max-width: calc( 1300px - 300px - 2 * 3.25rem );
|
|
}
|
|
body:not(.print) #body .narrow .flex-block-wrapper {
|
|
min-width: calc( 1300px - 300px - 2 * 9.75rem );
|
|
width: calc( 1300px - 300px - 2 * 9.75rem );
|
|
max-width: calc( 1300px - 300px - 2 * 9.75rem );
|
|
}
|
|
}
|
|
|
|
body:not(.print) #body-inner.narrow {
|
|
padding: 2rem 9.75rem;
|
|
}
|
|
@media screen and (max-width: 59.938em) {
|
|
body:not(.print) #body-inner.narrow {
|
|
padding: 15px 6.5rem;
|
|
}
|
|
}
|
|
@media screen and (max-width: 47.938em) {
|
|
body:not(.print) #body-inner.narrow {
|
|
padding: 5px 3.25rem;
|
|
}
|
|
}
|
|
|
|
#body-inner div.article-subheading,
|
|
#body-inner .chapter.deprecated h3:first-of-type {
|
|
font-weight: 200;
|
|
margin-top: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
body:not(.print) #body-inner.narrow h1 {
|
|
border-bottom: 4px solid rgba( 134, 134, 134, .125 );
|
|
}
|
|
|
|
body:not(.print) #body-inner.narrow p {
|
|
font-size: 1.2rem;
|
|
text-align: justify;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: 200;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h2, h3, .article-subheading, h4, h5, h6 {
|
|
letter-spacing: -1px;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
h2, h3, h4, h5, h6 {
|
|
/* leave space for anchor to avoid overflow */
|
|
padding-inline-end: 2rem;
|
|
}
|
|
|
|
blockquote {
|
|
border-inline-start: 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: end;
|
|
}
|
|
|
|
/* colored boxes */
|
|
|
|
div.box {
|
|
--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);
|
|
-webkit-print-color-adjust: exact;
|
|
color-adjust: exact;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
div.box > .box-label {
|
|
font-weight: 500;
|
|
padding: .2rem .6rem;
|
|
}
|
|
|
|
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 */
|
|
|
|
div.attachments .box-content {
|
|
display: block;
|
|
margin: 0;
|
|
padding-inline-start: 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-size: 92%;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
code {
|
|
border-radius: 2px;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
-webkit-print-color-adjust: economy;
|
|
color-adjust: economy;
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
span > code.copy-to-clipboard-code {
|
|
border-bottom-right-radius: 2px;
|
|
border-top-right-radius: 2px;
|
|
border-right-width: 1px;
|
|
border-end-end-radius: 0;
|
|
border-start-end-radius: 0;
|
|
border-inline-end-width: 0;
|
|
}
|
|
|
|
pre {
|
|
border-radius: 2px;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
-webkit-print-color-adjust: economy;
|
|
color-adjust: economy;
|
|
line-height: 1.15;
|
|
padding: 1rem;
|
|
}
|
|
|
|
pre.pre-code,
|
|
pre:has( code ){
|
|
/* the :has() operator isn't available in FF yet, so we patch this by JS */
|
|
direction: ltr;
|
|
}
|
|
|
|
pre code {
|
|
background-color: inherit;
|
|
border: 0;
|
|
color: inherit;
|
|
-webkit-print-color-adjust: economy;
|
|
color-adjust: economy;
|
|
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,
|
|
#body-inner .article-subheading {
|
|
/* 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: 140;
|
|
}
|
|
|
|
.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: 150;
|
|
}
|
|
|
|
.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%;
|
|
}
|
|
|
|
#sidebar .highlightable {
|
|
padding: 1rem 0 1rem;
|
|
position: relative;
|
|
}
|
|
|
|
.lightbox-active #body {
|
|
overflow: visible;
|
|
}
|
|
|
|
.featherlight img {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
#topbar {
|
|
min-height: 3rem;
|
|
position: relative;
|
|
z-index: 170;
|
|
}
|
|
|
|
#topbar > div {
|
|
background-color: rgba( 134, 134, 134, .066 );
|
|
height: 100%;
|
|
}
|
|
|
|
.navigation,
|
|
#top-print-link,
|
|
#top-github-link {
|
|
display: block;
|
|
float: right;
|
|
}
|
|
|
|
.nav,
|
|
.print-link,
|
|
.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,
|
|
#top-github-link {
|
|
position: relative;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
#toc-menu{
|
|
cursor: pointer;
|
|
}
|
|
#toc-menu,
|
|
#sidebar-toggle-span {
|
|
border-right: thin solid rgba( 134, 134, 134, .333 );
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
#body #breadcrumbs {
|
|
display: inline-block;
|
|
float: left;
|
|
height: auto;
|
|
line-height: 1.4;
|
|
margin-bottom: 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
text-overflow: ellipsis;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
white-space: nowrap;
|
|
width: calc(100% - 5*3.25rem);
|
|
}
|
|
@media screen and (max-width: 47.938em) {
|
|
#body #breadcrumbs {
|
|
text-overflow: unset;
|
|
}
|
|
}
|
|
|
|
#sidebar-toggle-span {
|
|
display: none;
|
|
}
|
|
.progress {
|
|
left: 1rem;
|
|
top: 1rem;
|
|
}
|
|
@media screen and (max-width: 47.938em) {
|
|
.mobile-support #sidebar-toggle-span {
|
|
display: inline;
|
|
}
|
|
.progress {
|
|
left: 4.25rem;
|
|
}
|
|
}
|
|
|
|
#body #breadcrumbs .links {
|
|
display: inline;
|
|
padding: 0 .75rem;
|
|
}
|
|
@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;
|
|
}
|
|
|
|
#body #breadcrumbs .links meta {
|
|
display: none;
|
|
}
|
|
|
|
#body #breadcrumbs .links li:last-of-type {
|
|
cursor: text;
|
|
}
|
|
|
|
#body a[aria-disabled="true"] {
|
|
pointer-events: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media screen and (max-width: 59.938em) {
|
|
#sidebar {
|
|
min-width: 230px;
|
|
max-width: 230px;
|
|
width: 230px;
|
|
}
|
|
#body {
|
|
margin-left: 230px;
|
|
min-width: calc( 100% - 230px);
|
|
max-width: calc( 100% - 230px);
|
|
width: calc( 100% - 230px);
|
|
}
|
|
}
|
|
@media screen and (max-width: 47.938em) {
|
|
/* we don't support sidebar flyout in mobile */
|
|
.mobile-support #sidebar {
|
|
left: -230px;
|
|
}
|
|
.mobile-support #navshow{
|
|
display: inline;
|
|
}
|
|
.mobile-support #body {
|
|
margin-left: 0;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
.mobile-support.sidebar-flyout {
|
|
overflow: hidden;
|
|
}
|
|
.mobile-support.sidebar-flyout #sidebar {
|
|
left: 0;
|
|
z-index: 90;
|
|
}
|
|
.mobile-support.sidebar-flyout #body {
|
|
margin-left: 230px;
|
|
overflow: hidden;
|
|
}
|
|
.mobile-support.sidebar-flyout #sidebar-overlay{
|
|
background-color: rgba(134, 134, 134, 0.5);
|
|
bottom: 0;
|
|
cursor: pointer;
|
|
left: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 190;
|
|
}
|
|
}
|
|
|
|
.copy-to-clipboard-button {
|
|
border-radius: 0 2px 2px 0;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
cursor: pointer;
|
|
font-size: 92%;
|
|
padding-left: 22px;
|
|
}
|
|
|
|
span > .copy-to-clipboard-button {
|
|
border-start-start-radius: 0;
|
|
border-start-end-radius: 2px;
|
|
border-end-end-radius: 2px;
|
|
border-end-start-radius: 0;
|
|
}
|
|
|
|
.copy-to-clipboard-button > i {
|
|
font-size: 92%;
|
|
font-weight: 500;
|
|
margin-left: -22px;
|
|
}
|
|
|
|
.copy-to-clipboard-code + .copy-to-clipboard-button > i {
|
|
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;
|
|
padding: 5px 3px 5px 25px;
|
|
position: absolute;
|
|
right: 4px;
|
|
top: 4px;
|
|
}
|
|
|
|
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code + span.copy-to-clipboard-button {
|
|
display: none;
|
|
}
|
|
|
|
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code {
|
|
border-end-end-radius: 2px;
|
|
border-start-end-radius: 2px;
|
|
border-inline-end-width: 1px;
|
|
}
|
|
|
|
#homelinks {
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 4px;
|
|
padding: 7px 0;
|
|
}
|
|
|
|
option {
|
|
color: initial;
|
|
}
|
|
|
|
.expand{
|
|
margin-bottom: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.expand-label {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.expand-label > .fas {
|
|
font-size: .8rem;
|
|
width: .6rem;
|
|
}
|
|
|
|
.expand-content {
|
|
margin-top: .5rem;
|
|
}
|
|
|
|
/* expander collapsed, default */
|
|
.expand > .expand-label > .fa-chevron-down {
|
|
display: none;
|
|
}
|
|
.expand > .expand-label > .fa-chevron-left,
|
|
.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-left,
|
|
.expand.expand-expanded > .expand-label > .fa-chevron-right {
|
|
display: none;
|
|
}
|
|
|
|
/* 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-left,
|
|
.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;
|
|
}
|
|
|
|
/* turn off unsuitable expander for this reading direction */
|
|
.expand > .expand-label > .expand-rtl.direction-ltr,
|
|
.expand > .expand-label > .expand-ltr.direction-rtl {
|
|
display: none;
|
|
}
|
|
|
|
#body footer.footline{
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.footline i{
|
|
margin-left: .5rem;
|
|
}
|
|
.footline i:first-child{
|
|
margin-left: 0;
|
|
}
|
|
|
|
.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 );
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
#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 {
|
|
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 #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 {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* Table of contents */
|
|
|
|
.toc-flyout #toc-overlay{
|
|
bottom: 0;
|
|
cursor: pointer;
|
|
left: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 160;
|
|
}
|
|
|
|
.progress {
|
|
border: 0px solid rgba( 134, 134, 134, .166 );
|
|
box-shadow: 1px 2px 5px 1px rgba( 134, 134, 134, .2 );
|
|
height: 0;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
width: 0;
|
|
z-index: 180;
|
|
}
|
|
|
|
.toc-flyout .progress {
|
|
border-width: 1px;
|
|
height: auto;
|
|
opacity: 1;
|
|
width: auto;
|
|
}
|
|
|
|
.progress .toc-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: 90vh;
|
|
overflow: hidden;
|
|
padding: 15px 5px !important;
|
|
position: relative; /* PS */
|
|
}
|
|
|
|
#TableOfContents > ul > li > a {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.btn {
|
|
--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;
|
|
font-size: .9rem;
|
|
font-weight: 500;
|
|
line-height: 1.1;
|
|
margin-bottom: 0;
|
|
touch-action: manipulation;
|
|
-ms-user-select: none;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.btn > :where(button) {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
border-width: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.btn > * {
|
|
background-color: transparent;
|
|
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;
|
|
}
|
|
|
|
#body #body-inner .btn > *.highlight:after {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.btn > *:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.btn > *:hover,
|
|
.btn > *:focus {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* anchors */
|
|
.anchor {
|
|
cursor: pointer;
|
|
font-size: .5em;
|
|
margin-inline-start: .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, #body .article-subheading {
|
|
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;
|
|
}
|
|
|
|
rapi-doc {
|
|
/* adjust rapi-doc internals to fill out available space with render-style=view */
|
|
margin-left: calc( -8px - 24px );
|
|
width: calc( 100% + 8px + 24px + 8px );
|
|
}
|
|
@media (max-width: 767px) {
|
|
rapi-doc {
|
|
margin-left: calc( -12px );
|
|
width: calc( 100% + 12px + 4px );
|
|
}
|
|
}
|
|
|
|
rapi-doc::part(section-main-content) {
|
|
/* override variables for adapting rapidoc design to theme */
|
|
--font-mono: var(--INTERNAL-CODE-font);
|
|
--font-size-mono: 15px;
|
|
--font-regular: var(--INTERNAL-MAIN-font);
|
|
--font-size-regular: 16.25px;
|
|
font-weight: 300 !important;
|
|
}
|
|
|
|
rapi-doc::part(section-overview-title) {
|
|
color: var(--INTERNAL-MAIN-TITLES-H2-color);
|
|
font-size: 2.55rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
rapi-doc::part(btn) {
|
|
/* makes download button large enough to not overflow default text */
|
|
width: unset !important;
|
|
}
|
|
|
|
rapi-doc::part(section-endpoint-head-method) {
|
|
/* makes method marker large enough to not overflow on text DELETE */
|
|
font-size: 11px;
|
|
}
|
|
|
|
.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 :hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.select-style option {
|
|
color: #000000;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.select-clear {
|
|
clear: both;
|
|
}
|
|
|
|
.footerLangSwitch,
|
|
.footerVariantSwitch,
|
|
.footerVisitedLinks,
|
|
.footerFooter {
|
|
display: none;
|
|
}
|
|
|
|
.showLangSwitch,
|
|
.showVariantSwitch,
|
|
.showVisitedLinks,
|
|
.showFooter {
|
|
display: initial;
|
|
}
|
|
|
|
.footerVisitedLinks > * {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
width: 100%;
|
|
}
|
|
|
|
@media screen and (max-width: 47.938em) {
|
|
#breadcrumbs .links {
|
|
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 {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
cursor: pointer;
|
|
height: 2rem;
|
|
left: 1rem;
|
|
padding-top: .35rem;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
|
|
#sidebar ul.collapsible-menu > li > input.toggle {
|
|
padding-top: .25rem;
|
|
}
|
|
|
|
#sidebar .collapsible-menu input.toggle:before {
|
|
content: "\f054";
|
|
font-family: "Font Awesome 5 Free";
|
|
font-size: .8rem;
|
|
font-weight: 900;
|
|
margin-left: -1rem;
|
|
padding-bottom: .65rem;
|
|
padding-left: .2rem;
|
|
padding-right: .2rem;
|
|
padding-top: .6rem;
|
|
}
|
|
|
|
#sidebar .collapsible-menu input.toggle:checked:before {
|
|
content: "\f078";
|
|
padding-left: .1rem;
|
|
padding-right: .1rem;
|
|
}
|
|
|
|
#sidebar .collapsible-menu input.toggle + label.toggle + a + ul {
|
|
display: none;
|
|
}
|
|
|
|
#sidebar .collapsible-menu input.toggle:checked + label.toggle + a + ul {
|
|
display: inline;
|
|
}
|
|
|
|
.math.align-left > mjx-container{
|
|
text-align: left !important;
|
|
}
|
|
|
|
.math.align-center > mjx-container{
|
|
text-align: center !important;
|
|
}
|
|
|
|
.math.align-right > mjx-container{
|
|
text-align: right !important;
|
|
}
|
|
|
|
.scrollbar-measure {
|
|
/* https://davidwalsh.name/detect-scrollbar-width */
|
|
height: 100px;
|
|
overflow: scroll;
|
|
position: absolute;
|
|
width: 100px;
|
|
top: -9999px;
|
|
}
|
|
|
|
.a11y-only {
|
|
/* idea taken from https://www.filamentgroup.com/lab/a11y-form-labels.html */
|
|
clip: rect(1px,1px,1px,1px);
|
|
overflow: hidden;
|
|
position: absolute;
|
|
height: 1px;
|
|
transform: translateY(-100%);
|
|
transition: transform .5s cubic-bezier(.18,.89,.32,1.28);
|
|
white-space: nowrap;
|
|
width: 1px;
|
|
}
|
|
|
|
/* filament style for making action visible on focus - not adepted yet
|
|
.a11y-only:focus {
|
|
position: fixed;
|
|
height: auto;
|
|
overflow: visible;
|
|
clip: auto;
|
|
white-space: normal;
|
|
margin: 0 0 0 -100px;
|
|
top: -.3em;
|
|
left: 50%;
|
|
text-align: center;
|
|
width: 200px;
|
|
background: #fff;
|
|
color: #368512;
|
|
padding: .8em 0 .7em;
|
|
font-size: 16px;
|
|
z-index: 5000;
|
|
text-decoration: none;
|
|
border-bottom-right-radius: 8px;
|
|
border-bottom-left-radius: 8px;
|
|
outline: 0;
|
|
transform: translateY(0%);
|
|
}
|
|
*/
|
|
|
|
.mermaid-container .align-right > * {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.mermaid-container .align-center > * {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.mermaid-container .align-left > * {
|
|
display: block;
|
|
margin-left: 0;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.searchform {
|
|
display: flex;
|
|
}
|
|
|
|
.searchform input {
|
|
flex: 1 0 60%;
|
|
border-radius: 4px;
|
|
border: 2px solid rgba( 134, 134, 134, .125 );
|
|
background: rgba( 134, 134, 134, .125 );
|
|
display: block;
|
|
margin: 0;
|
|
margin-inline-end: .5rem;
|
|
}
|
|
|
|
.searchform .btn {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.searchhint {
|
|
margin-top: 1rem;
|
|
height: 1.5rem;
|
|
}
|
|
|
|
#searchresults a.autocomplete-suggestion {
|
|
display: block;
|
|
font-size: 1.3rem;
|
|
font-weight: 500;
|
|
line-height: 1.5rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
#searchresults a.autocomplete-suggestion:after {
|
|
height: 0;
|
|
}
|
|
|
|
#searchresults .autocomplete-suggestion > .context {
|
|
font-size: 1rem;
|
|
font-weight: 300;
|
|
margin-top: .66rem;
|
|
}
|