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

1962 lines
38 KiB
CSS
Raw Normal View History

@charset "UTF-8";
2018-11-29 08:34:55 +00:00
@import "tags.css";
/* until browsers don't let us set length values based on dppx, we
need a way to calculate them ourself */
:root {
--dpr: 1;
--bpx: 1;
}
@media (min-resolution: 105dpi) {
:root {
--dpr: 1.1;
--bpx: 1.1;
}
}
@media (min-resolution: 115dpi) {
:root {
--dpr: 1.2;
--bpx: 1.2;
}
}
@media (min-resolution: 120dpi) {
:root {
--dpr: 1.25;
--bpx: 1.25;
}
}
@media (min-resolution: 128dpi) {
:root {
--dpr: 1.333;
--bpx: 1.333;
}
}
@media (min-resolution: 144dpi) {
:root {
--dpr: 1.5;
--bpx: 1.5;
}
}
@media (min-resolution: 160dpi) {
:root {
--dpr: 1.666;
--bpx: 1.666;
}
}
@media (min-resolution: 168dpi) {
:root {
--dpr: 1.75;
--bpx: 1.75;
}
}
@media (min-resolution: 192dpi) {
:root {
--dpr: 2;
--bpx: 1;
}
}
@media (min-resolution: 240dpi) {
:root {
--dpr: 2.5;
--bpx: 1.25;
}
}
@media (min-resolution: 288dpi) {
:root {
--dpr: 3;
--bpx: 1;
}
}
@media (min-resolution: 384dpi) {
:root {
--dpr: 4;
--bpx: 1;
}
}
@media (min-resolution: 480dpi) {
:root {
--dpr: 5;
--bpx: 1.25;
}
}
@media (min-resolution: 576dpi) {
:root {
--dpr: 6;
--bpx: 1.5;
}
}
@media (min-resolution: 768dpi) {
:root {
--dpr: 8;
--bpx: 1;
}
}
2018-11-29 08:34:55 +00:00
2022-03-13 10:49:26 +00:00
html {
height: 100%;
width: 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: 1.015625rem;
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
b,
strong,
label,
th {
2016-03-25 18:10:51 +00:00
font-weight: 600;
}
2022-02-10 23:59:40 +00:00
ul {
list-style: disc;
}
dt {
font-style: italic;
}
dd {
display: list-item;
list-style: circle;
}
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;
font-size: .953125rem;
height: 100%;
2023-02-09 23:34:47 +00:00
inset-inline-start: 0;
2022-02-14 19:34:18 +00:00
line-height: 1.574;
min-height: 100%;
min-width: 18.75rem;
max-width: 18.75rem;
2022-02-14 19:34:18 +00:00
position: fixed;
width: 18.75rem;
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
2022-11-17 16:29:01 +00:00
.searchbox > :first-child {
2023-02-09 23:34:47 +00:00
inset-inline-start: .5rem;
position: absolute;
2022-11-17 16:29:01 +00:00
}
.searchbox > button {
-webkit-appearance: none;
appearance: none;
background-color: transparent;
border: 0;
margin: 0;
padding: 0;
top: .25rem;
2022-11-17 16:29:01 +00:00
}
.searchbox > i {
top: .5rem;
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 span {
cursor: pointer;
2023-02-09 23:34:47 +00:00
inset-inline-end: .5rem;
position: absolute;
top: .25rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#sidebar .searchbox > :first-child,
#sidebar .searchbox button,
.searchbox span {
opacity: .65;
}
#sidebar .searchbox button:hover,
2016-03-25 18:10:51 +00:00
.searchbox span:hover {
opacity: 1;
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: 1.875rem;
background: transparent;
border: 0;
2023-02-09 23:34:47 +00:00
padding-bottom: 0;
padding-inline-end: 1.6rem;
padding-inline-start: 1.8rem;
padding-top: 0;
margin: 0;
2016-03-25 18:10:51 +00:00
font-weight: 300;
}
2022-02-10 23:59:40 +00:00
.searchbox input::placeholder {
opacity: .45;
}
2022-02-14 19:34:18 +00:00
#content-wrapper {
--ps-rail-hover-color: rgba( 176, 176, 176, .25 );
2022-02-14 19:34:18 +00:00
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 */
2022-07-02 12:00:23 +00:00
z-index: 100;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#sidebar .padding {
2016-03-25 18:10:51 +00:00
padding: 0 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 {
2023-02-17 14:07:57 +00:00
margin-inline-end: 1rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#sidebar ul li .read-icon {
display: none;
font-size: .8125rem;
inset-inline-end: 1rem;
2023-02-17 14:07:57 +00:00
margin: .25rem 0 0 0;
min-width: 1rem;
position: absolute;
2022-02-10 23:59:40 +00:00
}
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;
2023-02-17 14:07:57 +00:00
letter-spacing: -.02175em;
2022-02-10 23:59:40 +00:00
line-height: 110% !important;
margin: 1rem 0 1rem 0;
2023-02-09 23:34:47 +00:00
padding-inline-start: 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%;
margin-inline-start: 18.75rem;
min-height: 100%;
min-width: calc( 100% - 18.75rem);
max-width: calc( 100% - 18.75rem);
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% - 18.75rem);
2022-07-02 12:00:23 +00:00
z-index: 70;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2023-02-04 15:01:42 +00:00
#body img:not(.lightbox-image),
2022-10-08 19:38:42 +00:00
#body img.center,
2022-02-10 23:59:40 +00:00
#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
2022-10-08 19:38:42 +00:00
#body img.left {
margin-left: 0;
}
#body img.right {
margin-right: 0;
}
2022-02-10 23:59:40 +00:00
#body img.border,
#body .video-container.border {
border: 2px solid rgba( 134, 134, 134, .125 );
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
#body img.shadow,
#body .video-container.shadow {
2023-02-17 14:07:57 +00:00
box-shadow: 0 10px 30px rgba( 176, 176, 176, .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;
padding: 0 3.25rem 4rem 3.25rem;
2022-02-28 00:19:32 +00:00
position: relative; /* PS */
2016-03-25 18:10:51 +00:00
}
@media screen and (max-width: 60rem) {
2022-02-17 23:09:06 +00:00
#body-inner {
padding: 0 2rem 1rem 2rem;
2016-03-25 18:10:51 +00:00
}
}
@media screen and (max-width: 48rem) {
2022-02-17 23:09:06 +00:00
#body-inner {
padding: 0 1.25rem .375rem 1.25rem;
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
#body .flex-block-wrapper {
margin-left: auto;
margin-right: auto;
max-width: calc( 81.25rem - 18.75rem - 2 * 3.25rem );
2023-02-14 20:39:31 +00:00
width: 100%;
}
body:not(.print) #body .narrow .flex-block-wrapper {
max-width: calc( 81.25rem - 18.75rem - 2 * 9.75rem );
}
/* we limit width if we have large screens */
@media screen and ( min-width: 81.25rem ){ /* #sidebar/width + ./max-width */
#body .flex-block-wrapper {
width: calc( 81.25rem - 18.75rem - 2 * 3.25rem );
2022-03-13 10:45:00 +00:00
}
body:not(.print) #body .narrow .flex-block-wrapper {
width: calc( 81.25rem - 18.75rem - 2 * 9.75rem );
}
}
body:not(.print) #body-inner.narrow {
2022-07-02 22:26:55 +00:00
padding: 2rem 9.75rem;
2016-03-25 18:10:51 +00:00
}
@media screen and (max-width: 60rem) {
body:not(.print) #body-inner.narrow {
padding: 1rem 6.5rem;
2022-02-28 00:19:32 +00:00
}
}
@media screen and (max-width: 48rem) {
body:not(.print) #body-inner.narrow {
padding: .375rem 3.25rem;
2022-02-28 00:19:32 +00:00
}
}
2022-02-10 23:59:40 +00:00
2022-07-04 22:19:27 +00:00
#body-inner div.article-subheading,
#body-inner .chapter.deprecated 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:not(.print) #body-inner.narrow 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
2022-12-02 19:44:53 +00:00
mark {
color: rgba( 0, 0, 0, 1 );
2022-12-02 19:44:53 +00:00
}
h1 {
font-size: 3.25rem;
font-weight: 200;
margin: 0.85rem 0 1rem 0;
/* big titles cause a horizontal scrollbar - fixing this by wrapping text */
overflow-wrap: break-word;
overflow-x: hidden;
2016-03-25 18:10:51 +00:00
text-align: center;
text-rendering: optimizeLegibility;
2016-03-25 18:10:51 +00:00
text-transform: uppercase;
}
2022-02-10 23:59:40 +00:00
body:not(.print) #body-inner.narrow h1 {
border-bottom: 4px solid rgba( 134, 134, 134, .125 );
font-size: 3.5rem;
}
2023-02-14 20:16:39 +00:00
@media only screen and (min-width: 48rem) and (max-width: 60rem) {
body:not(.print) #body-inner.narrow h1 {
font-size: 2.8rem;
}
}
@media only screen and (max-width: 48rem) {
body:not(.print) #body-inner.narrow h1 {
font-size: 2.5rem;
}
}
h2 {
font-size: 2.2rem;
font-weight: 500;
}
h3, .article-subheading {
font-size: 1.8rem;
font-weight: 500;
}
h4 {
font-size: 1.85rem;
font-weight: 300;
}
h5 {
font-size: 1.6rem;
font-weight: 300;
}
h6 {
font-size: 1.3rem;
font-weight: 300;
}
2022-07-04 22:19:27 +00:00
h2, h3, .article-subheading, h4, h5, h6 {
2023-02-17 14:07:57 +00:00
letter-spacing: -.0625rem;
margin: 2rem 0 1rem 0;
/* big titles cause a horizontal scrollbar - fixing this by wrapping text */
overflow-wrap: break-word;
overflow-x: hidden;
text-rendering: optimizeLegibility;
}
h2, h3, h4, h5, h6 {
/* leave space for anchor to avoid overflow */
padding-inline-end: 2rem;
}
blockquote {
border-inline-start: .6rem 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 {
font-size: 1.06640625rem;
2022-02-10 23:59:40 +00:00
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: .5rem;
2022-11-01 01:00:50 +00:00
text-align: end;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
/* colored boxes */
2022-12-01 00:37:09 +00:00
.cstyle {
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;
2022-12-01 00:37:09 +00:00
}
div.box {
2021-09-28 22:02:34 +00:00
margin: 1.5rem 0;
2023-05-23 17:55:13 +00:00
border-style: solid;
border-width: 1px;
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-top: 1rem;
padding-bottom: 1rem;
padding-left: 1rem;
padding-right: 1rem;
}
#body table th > :first-child,
#body table th > :first-child :first-child,
#body table td > :first-child,
#body table td > :first-child :first-child,
#body div.box > .box-content > :first-child,
#body div.box > .box-content > :first-child :first-child,
#body div.expand > .expand-content-text > :first-child,
#body div.expand > .expand-content-text > :first-child :first-child,
#body div.tab-content > .tab-content-text > :first-child,
#body div.tab-content > .tab-content-text > :first-child :first-child {
margin-top: 0;
}
#body table th > :last-child,
#body table th > :last-child :last-child,
#body table td > :last-child,
#body table td > :last-child :last-child,
#body div.box > .box-content > :last-child,
#body div.box > .box-content > :last-child :last-child,
#body div.expand > .expand-content-text > :last-child,
#body div.expand > .expand-content-text > :last-child :last-child,
#body div.tab-content > .tab-content-text > :last-child,
#body div.tab-content > .tab-content-text > :last-child :last-child {
margin-bottom: 0;
}
/* attachments shortcode */
2017-08-01 20:25:17 +00:00
div.attachments .box-content {
display: block;
margin: 0;
2022-11-01 01:00:50 +00:00
padding-inline-start: 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: .8125rem;
2023-02-17 14:07:57 +00:00
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
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: .8125rem;
2017-08-01 20:37:40 +00:00
font-style: italic;
}
2022-02-10 23:59:40 +00:00
.children-h2 p,
.children-h3 p {
font-size: .8125rem;
2023-02-17 14:07:57 +00:00
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
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: .934375rem;
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;
2023-02-09 23:34:47 +00:00
white-space: nowrap;
}
code.copy-to-clipboard-code {
2022-11-01 01:00:50 +00:00
border-end-end-radius: 0;
border-start-end-radius: 0;
border-inline-end-width: 0;
}
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;
position: relative;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
/* pre:has( code ), */
/* the :has() operator isn't available in FF yet, so we patch this by JS */
pre.pre-code {
2022-11-01 01:00:50 +00:00
direction: ltr;
text-align: left;
2022-11-01 01:00:50 +00:00
}
2016-03-25 18:10:51 +00:00
pre code {
background-color: inherit;
2022-11-01 01:00:50 +00:00
border: 0;
color: inherit;
2022-03-13 10:45:00 +00:00
-webkit-print-color-adjust: economy;
color-adjust: economy;
font-size: .9375rem;
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
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 rgba( 119, 119, 119, 1 );
2022-02-15 19:00:00 +00:00
border-radius: 3px;
color: rgba( 255, 255, 255, 1 );
2022-02-15 19:00:00 +00:00
content: attr(aria-label);
2016-03-25 18:10:51 +00:00
display: none;
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-size: .6875rem;
font-weight: normal;
2022-02-15 19:00:00 +00:00
-webkit-font-smoothing: subpixel-antialiased;
letter-spacing: normal;
line-height: 1.5;
2022-02-15 19:00:00 +00:00
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-07-02 12:00:23 +00:00
z-index: 140;
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-07-02 12:00:23 +00:00
z-index: 150;
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, .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, .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 {
border-left-color: rgba( 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 {
border-right-color: rgba( 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
#topbar {
2016-03-25 18:10:51 +00:00
min-height: 3rem;
position: relative;
2022-07-02 12:00:23 +00:00
z-index: 170;
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
}
html[dir="rtl"] .navigation,
html[dir="rtl"] #top-print-link,
html[dir="rtl"] #top-github-link {
float: left;
}
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 {
2023-02-09 23:34:47 +00:00
border-inline-start: thin solid rgba( 134, 134, 134, .333 );
2022-02-17 23:09:06 +00:00
padding-left: 1rem;
padding-right: 1rem;
}
2023-02-09 23:34:47 +00:00
html[dir="rtl"] .nav i {
transform: scaleX(-1);
}
2022-02-17 23:09:06 +00:00
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 {
2023-02-09 23:34:47 +00:00
border-inline-end: thin solid rgba( 134, 134, 134, .333 );
2022-03-13 10:45:00 +00:00
padding-left: 1rem;
padding-right: 1rem;
2022-02-17 23:09:06 +00:00
}
2022-02-10 23:59:40 +00:00
#body #breadcrumbs {
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
}
html[dir="rtl"] #body #breadcrumbs {
float: right;
}
@media screen and (max-width: 48rem) {
#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 {
2023-02-09 23:34:47 +00:00
inset-inline-start: 1rem;
2022-02-17 23:09:06 +00:00
top: 1rem;
}
@media screen and (max-width: 48rem) {
2022-02-28 00:19:32 +00:00
.mobile-support #sidebar-toggle-span {
2022-02-14 19:34:18 +00:00
display: inline;
}
2023-02-09 23:34:47 +00:00
.progress {
inset-inline-start: 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;
}
@media screen and (max-width: 48rem) {
#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
@media screen and (max-width: 60rem) {
2016-03-25 18:10:51 +00:00
#sidebar {
min-width: 14.375rem;
max-width: 14.375rem;
width: 14.375rem;
2016-03-25 18:10:51 +00:00
}
#body {
margin-inline-start: 14.375rem;
min-width: calc( 100% - 14.375rem);
max-width: calc( 100% - 14.375rem);
width: calc( 100% - 14.375rem);
2016-03-25 18:10:51 +00:00
}
}
@media screen and (max-width: 48rem) {
/* we don't support sidebar flyout in mobile */
2023-02-09 23:34:47 +00:00
.mobile-support #sidebar {
inset-inline-start: -14.375rem;
}
2022-02-28 00:19:32 +00:00
.mobile-support #navshow{
display: inline;
}
.mobile-support #body {
min-width: 100%;
max-width: 100%;
width: 100%;
2016-03-25 18:10:51 +00:00
}
2023-02-09 23:34:47 +00:00
.mobile-support #body {
margin-inline-start: 0;
}
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 {
2023-02-09 23:34:47 +00:00
inset-inline-start: 0;
2022-07-02 12:00:23 +00:00
z-index: 90;
2016-03-25 18:10:51 +00:00
}
2022-02-28 00:19:32 +00:00
.mobile-support.sidebar-flyout #body {
margin-inline-start: 14.375rem;
2016-03-25 18:10:51 +00:00
overflow: hidden;
}
2022-03-13 10:45:00 +00:00
.mobile-support.sidebar-flyout #sidebar-overlay{
background-color: rgba( 134, 134, 134, .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-07-02 12:00:23 +00:00
z-index: 190;
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 {
2023-02-09 23:34:47 +00:00
border-start-start-radius: 0;
border-start-end-radius: 2px;
border-end-end-radius: 2px;
border-end-start-radius: 0;
border-style: solid;
border-width: 1px;
cursor: pointer;
2023-02-09 23:34:47 +00:00
font-size: .934375rem;
2016-03-25 18:10:51 +00:00
}
2022-02-10 23:59:40 +00:00
2022-11-01 01:00:50 +00:00
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 {
2023-02-09 23:34:47 +00:00
font-size: .859625rem;
2022-02-10 23:59:40 +00:00
font-weight: 500;
}
.copy-to-clipboard-code + .copy-to-clipboard-button > i {
2022-02-10 23:59:40 +00:00
padding-left: 5px;
padding-right: 5px;
}
2022-11-01 01:00:50 +00:00
pre > .copy-to-clipboard-button {
background-color: rgba( 160, 160, 160, .2 );
border-radius: 2px;
border-style: solid;
border-width: 1px;
2023-02-09 23:34:47 +00:00
inset-inline-end: 4px;
padding: 5px 3px;
position: absolute;
top: 4px;
2016-03-25 18:10:51 +00:00
}
2022-11-01 01:00:50 +00:00
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code + span.copy-to-clipboard-button {
display: none;
}
2022-11-01 01:00:50 +00:00
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code {
border-start-end-radius: 2px;
2023-02-09 23:34:47 +00:00
border-end-end-radius: 2px;
2022-11-01 01:00:50 +00:00
border-inline-end-width: 1px;
}
2022-02-10 23:59:40 +00:00
#homelinks {
border-bottom-style: solid;
border-bottom-width: 4px;
2023-02-17 14:07:57 +00:00
padding: .5rem 0;
}
2019-11-15 10:43:44 +00:00
option {
color: initial;
}
2021-07-16 21:07:15 +00:00
.expand {
2021-08-27 16:21:12 +00:00
margin-bottom: 1rem;
margin-top: 1rem;
position: relative;
}
.expand > input {
-webkit-appearance: none;
appearance: none;
cursor: pointer;
2021-08-27 16:21:12 +00:00
}
.expand > label {
2021-07-16 21:07:15 +00:00
cursor: pointer;
display: inline;
font-weight: 300;
inset-inline-start: 0;
line-height: 1.1;
margin-top: .2rem;
position: absolute;
}
.expand > label:after {
content: "";
display: block;
height: 1px;
width: 0%;
transition: width 0.5s ease;
}
.expand > label:hover:after {
width: 100%;
2021-07-16 21:07:15 +00:00
}
.expand > label > .fas {
font-size: .8rem;
width: .6rem;
}
.expand > .expand-content {
2023-05-23 18:03:06 +00:00
margin-inline-start: 1rem;
margin-top: .5rem;
}
/* closed expander */
.expand > input + label + div {
display: none;
}
.expand > input + label > .fa-chevron-down {
display: none;
}
.expand > input + label > .fa-chevron-right {
display: inline-block;
}
/* open expander */
.expand > input:checked + label + div {
display: block;
}
.expand > input:checked + label > .fa-chevron-down {
display: inline-block;
}
.expand > input:checked + label > .fa-chevron-right {
display: none;
}
2023-02-09 00:02:06 +00:00
/* adjust expander for RTL reading direction */
html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
transform: scaleX(-1);
2022-11-01 01:00:50 +00:00
}
#body footer.footline{
margin-top: 2rem;
}
.headline i,
.footline i{
2023-02-09 23:34:47 +00:00
margin-inline-start: .5rem;
}
.headline i:first-child,
.footline i:first-child{
2023-02-09 23:34:47 +00:00
margin-inline-start: 0;
}
.mermaid-container {
2021-08-27 16:21:12 +00:00
margin-bottom: 1.7rem;
margin-top: 1.7rem;
}
.mermaid > svg {
border: 1px solid transparent;
/* remove inline height from generated diagram */
height: initial !important;
}
2022-02-10 23:59:40 +00:00
2023-02-05 10:13:03 +00:00
.mermaid.zoom > svg {
cursor: pointer;
}
.mermaid.zoom > 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;
2022-07-02 12:00:23 +00:00
z-index: 160;
2022-02-28 00:19:32 +00:00
}
2022-03-13 10:49:26 +00:00
.progress {
2023-02-17 14:07:57 +00:00
border: 0 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-07-02 12:00:23 +00:00
z-index: 180;
}
2022-03-13 10:49:26 +00:00
.toc-flyout .progress {
border-width: 1px;
height: auto;
opacity: 1;
width: auto;
}
2022-11-01 01:00:50 +00:00
.progress .toc-wrapper {
2022-02-15 19:00:00 +00:00
background-color: rgba( 134, 134, 134, .066 );
}
.progress ul {
list-style: none;
margin: 0;
padding: 0 1rem;
2022-02-15 19:00:00 +00:00
}
#TableOfContents {
--ps-rail-hover-color: rgba( 176, 176, 176, .25 );
font-size: .8125rem !important;
2022-06-05 22:44:04 +00:00
max-height: 90vh;
overflow: hidden;
padding: 1rem .375rem !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
border-radius: 4px;
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-11-17 16:29:01 +00:00
line-height: 1.1;
2022-05-29 19:30:20 +00:00
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-11-17 16:29:01 +00:00
.btn > :where(button) {
-webkit-appearance: none;
appearance: none;
border-width: 0;
margin: 0;
padding: 0;
}
.btn > * {
background-color: transparent;
2022-05-29 19:30:20 +00:00
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;
}
.btn > *:after {
/* avoid breakage if no content is given */
content: "\200b"
}
2022-11-17 16:29:01 +00:00
#body #body-inner .btn > *.highlight:after {
2022-03-13 10:45:00 +00:00
background-color: transparent;
}
2022-02-15 19:00:00 +00:00
2022-11-17 16:29:01 +00:00
.btn > *:focus {
2022-05-29 19:30:20 +00:00
outline: none;
}
2022-02-15 19:00:00 +00:00
2022-11-17 16:29:01 +00:00
.btn > *:hover,
.btn > *:focus {
2022-05-29 19:30:20 +00:00
text-decoration: none;
}
/* anchors */
.anchor {
2022-03-13 10:45:00 +00:00
cursor: pointer;
font-size: .5em;
2022-11-01 01:00:50 +00:00
margin-inline-start: .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 h1 + h2,
#body h1 + h3,
#body h1 + h4,
#body h1 + h5,
#body h1 + h6,
#body h2 + h3,
#body h2 + h4,
#body h2 + h5,
#body h2 + h6,
#body h3 + h4,
#body h3 + h5,
#body h3 + h6,
#body h4 + h5,
#body h4 + h6,
#body h5 + h6 {
margin-top: 1rem;
}
.select-container i {
padding-top: .25em;
}
.select-container i,
.select-container span {
display: block;
float: left;
2022-02-12 22:49:33 +00:00
}
2023-02-09 23:34:47 +00:00
html[dir="rtl"] .select-container i,
html[dir="rtl"] .select-container span {
float: right;
}
2022-02-12 22:49:33 +00:00
#sidebar ul select {
padding-left: 0;
padding-right: 0;
}
.select-style {
border: 0;
2023-02-17 14:07:57 +00:00
border-radius: 0;
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 :hover {
2022-02-12 22:49:33 +00:00
cursor: pointer;
}
.select-style option {
color: rgba( 0, 0, 0, 1 );
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-11-05 19:34:57 +00:00
.footerVisitedLinks > * {
-webkit-appearance: none;
appearance: none;
background: transparent;
cursor: pointer;
2023-02-09 23:34:47 +00:00
text-align: start;
2022-11-05 19:34:57 +00:00
text-decoration: none;
width: 100%;
}
@media screen and (max-width: 48rem) {
#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; }
2022-07-02 12:00:23 +00:00
.math.align-left > mjx-container{
text-align: left !important;
}
2022-11-05 12:00:22 +00:00
.math.align-center > mjx-container{
text-align: center !important;
}
2022-07-02 12:00:23 +00:00
.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;
}
2022-10-04 19:53:55 +00:00
.a11y-only {
/* idea taken from https://www.filamentgroup.com/lab/a11y-form-labels.html */
2022-10-05 23:09:58 +00:00
clip: rect(1px,1px,1px,1px);
overflow: hidden;
2022-10-04 19:53:55 +00:00
position: absolute;
height: 1px;
transform: translateY(-100%);
transition: transform .5s cubic-bezier(.18,.89,.32,1.28);
white-space: nowrap;
2022-10-05 23:09:58 +00:00
width: 1px;
2022-10-04 19:53:55 +00:00
}
/* 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: rgba( 255, 255, 255, 1 );
color: rgba( 54, 133, 18, 1 );
2022-10-04 19:53:55 +00:00
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%);
}
*/
2022-11-05 12:00:22 +00:00
.mermaid-container .align-right > * {
display: block;
margin-left: auto;
margin-right: 0;
}
2022-11-05 12:00:22 +00:00
.mermaid-container .align-center > * {
display: block;
margin-left: auto;
margin-right: auto;
}
2022-11-05 12:00:22 +00:00
.mermaid-container .align-left > * {
display: block;
margin-left: 0;
margin-right: auto;
}
2022-11-17 21:12:18 +00:00
.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 input::-webkit-input-placeholder,
.searchform input::placeholder {
color: rgba( 134, 134, 134, 1 );
opacity: .666;
}
2022-11-17 21:12:18 +00:00
.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;
}
2022-12-01 00:37:09 +00:00
.badge {
border-radius: 3px;
display: inline-block;
font-size: .8rem;
2022-12-01 00:37:09 +00:00
font-weight: 500;
vertical-align: middle;
}
.badge > * {
border-radius: 3px;
border-style: solid;
border-width: 1px;
display: inline-block;
padding: 0 .25rem
}
.badge > .badge-title {
background-color: rgba( 16, 16, 16, 1 );
2022-12-01 00:37:09 +00:00
border-inline-end: 0;
border-start-end-radius: 0;
border-end-end-radius: 0;
color: rgba( 240, 240, 240, 1 );
2022-12-01 00:37:09 +00:00
filter: contrast(2);
opacity: .75;
}
.badge.badge-with-title > .badge-content {
border-start-start-radius: 0;
border-end-start-radius: 0;
}
.badge-content:after {
/* avoid breakage if no content is given */
content: "\200b";
}
/* task list and its checkboxes */
article ul > li:has(> input[type="checkbox"]) {
list-style: none;
margin-inline-start: -1rem;
}
article ul > li:has(> input[type="checkbox"])::before {
content: "\200B"; /* accessibilty for Safari https://developer.mozilla.org/en-US/docs/Web/CSS/list-style */
}
/* https://moderncss.dev/pure-css-custom-checkbox-style/ */
article ul > li > input[type="checkbox"] {
-webkit-appearance: none;
appearance: none;
/* For iOS < 15 */
border: 0.15em solid currentColor;
border-radius: 0.15em;
display: inline-grid;
font: inherit;
height: 1.15em;
margin: 0;
place-content: center;
transform: translateY(-0.075em);
width: 1.15em;
}
article ul > li > input[type="checkbox"]::before {
box-shadow: inset 1em 1em var(--INTERNAL-PRIMARY-color);
clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
content: "";
height: 0.65em;
transform: scale(0);
transform-origin: bottom left;
transition: 120ms transform ease-in-out;
width: 0.65em;
/* Windows High Contrast Mode fallback must be last */
background-color: CanvasText;
}
article ul > li > input[type="checkbox"]:checked::before {
transform: scale(1);
}
/* CSS Lightbox https://codepen.io/gschier/pen/kyRXVx */
.lightbox {
align-items: center;
background: rgba( 0, 0, 0, .8 );
bottom: 0;
display: none;
justify-content: center;
left: 0;
position: fixed;
right: 0;
text-align: center;
top: 0;
white-space: nowrap;
z-index: 1999;
}
.lightbox:target {
display: flex;
}
.lightbox img {
max-height: 95%;
max-width: 95%;
overflow: auto;
padding: min(2vh, 2vw);
}
/* basic menu list styles (non-collapsible) */
#sidebar ul > li > a {
display: block;
position: relative;
}
#sidebar ul.space > li > * {
padding-bottom: .125rem;
padding-top: .125rem;
}
#sidebar ul.space > li > ul {
padding-bottom: 0;
padding-top: 0;
}
#sidebar ul.morespace > li > * {
padding-bottom: .25rem;
padding-top: .25rem;
}
#sidebar ul.morespace > li > ul {
padding-bottom: 0;
padding-top: 0;
}
#sidebar ul.enlarge > li > a {
font-size: 1.1rem;
line-height: 2rem;
}
#sidebar ul.enlarge > li > a > .read-icon {
margin-top: .5rem;
}
#sidebar ul.enlarge > li > ul > li:last-child {
padding-bottom: 1rem;
}
#sidebar ul ul {
padding-inline-start: 1rem;
}
/* collapsible menu style overrides */
#sidebar ul.collapsible-menu > li {
position: relative;
}
#sidebar ul.collapsible-menu > li > input {
-webkit-appearance: none;
appearance: none;
cursor: pointer;
display: inline-block;
margin-left: 0;
margin-right: 0;
margin-top: .65rem;
position: absolute;
width: 1rem;
z-index: 1;
}
#sidebar ul.collapsible-menu.enlarge > li > input {
margin-top: .9rem;
}
#sidebar ul.collapsible-menu > li > label {
cursor: pointer;
display: inline-block;
inset-inline-start: 0;
margin-bottom: 0; /* nucleus */
padding-inline-start: .125rem;
position: absolute;
width: 1rem;
z-index: 2;
}
#sidebar ul.collapsible-menu.enlarge > li > label {
font-size: 1.1rem;
line-height: 2rem;
}
#sidebar ul.collapsible-menu > li > label:after {
content: "";
display: block;
height: 1px;
transition: width 0.5s ease;
width: 0%;
}
#sidebar ul.collapsible-menu > li > label:hover:after {
width: 100%;
}
#sidebar ul.collapsible-menu > li > label > .fas {
font-size: .8rem;
width: .6rem;
}
#sidebar ul.collapsible-menu > li > a {
display: inline-block;
width: 100%;
}
/* menu states for not(.collapsible-menu) */
#sidebar ul ul {
display: none;
}
#sidebar ul > li.parent > ul,
#sidebar ul > li.active > ul,
#sidebar ul > li.alwaysopen > ul {
display: block;
}
/* closed menu */
#sidebar ul.collapsible-menu > li > input + label ~ ul {
display: none;
}
#sidebar ul.collapsible-menu > li > input + label > .fa-chevron-down {
display: none;
}
#sidebar ul.collapsible-menu > li > input + label > .fa-chevron-right {
display: inline-block;
}
/* open menu */
#sidebar ul.collapsible-menu > li > input:checked + label ~ ul {
display: block;
}
#sidebar ul.collapsible-menu > li > input:checked + label > .fa-chevron-down {
display: inline-block;
}
#sidebar ul.collapsible-menu > li > input:checked + label > .fa-chevron-right {
display: none;
}
/* adjust menu for RTL reading direction */
html[dir="rtl"] #sidebar ul.collapsible-menu > li > label > i.fa-chevron-right {
transform: scaleX(-1);
}
.columnize{
column-count: 2;
}
@media screen and (min-width: 79.25rem) {
.columnize{
column-count: 3;
}
}
#body .tab-panel{
margin-bottom: 1.5rem;
margin-top: 1.5rem;
}
#body .tab-nav{
display: flex;
flex-wrap: wrap;
}
2023-06-06 17:54:12 +00:00
#body .tab-nav-title{
font-size: .9rem;
font-weight: 500;
line-height: 1.42857143;
padding: .2rem 0;
margin-inline-start: .6rem;
}
#body .tab-nav-button{
2023-06-06 16:15:08 +00:00
-webkit-appearance: none;
appearance: none;
background-color: transparent;
border: 1px solid transparent;
display: block;
font-size: .9rem;
font-weight: 300;
line-height: 1.42857143;
margin-inline-start: .6rem;
}
#body .tab-nav-button.active{
border-radius: 2px 2px 0 0;
cursor: default;
}
2023-06-06 16:15:08 +00:00
#body .tab-nav-button > *{
position: relative;
}
#body .tab-nav-button.active > *{
border-radius: 1px 1px 0 0;
}
#body .tab-nav-button > * > *{
border-bottom-style: solid;
2023-06-06 16:15:08 +00:00
border-bottom-width: .2rem;
padding: .2rem .6rem 0 .6rem;
}
#body .tab-nav-button.active > * > *{
border-bottom-color: transparent;
font-weight: 500;
}
2023-06-06 16:15:08 +00:00
#body .tab-nav-button > * > .tab-nav-hidden{
font-weight: 500;
visibility: hidden;
}
#body .tab-nav-button > * > .tab-nav-text{
position: absolute;
top: 0;
}
#body .tab-content{
border-style: solid;
border-width: 1px;
display: none;
/* if setting a border to 1px, a browser instead sets it to 1dppx which is not
usable as a unit yet, so we have to calculate it ourself */
margin-top: calc( -1px / var(--bpx) );
z-index: 10;
}
#body .tab-content.active{
display: block;
}
#body .tab-content-text{
padding: 1rem;
}
/* remove margin if only a single code block is contained in the tab */
#body .tab-content.tab-panel-style.code > .tab-content-text{
padding: 0;
}
/* remove border from a code block if single */
#body .tab-content-text > div.highlight:only-child > pre,
#body .tab-content-text > pre.pre-code:only-child{
border: 0;
}