Files
hugo-blog/public/style.css
2025-08-21 09:42:37 +00:00

1462 lines
40 KiB
CSS

@charset "UTF-8";
/*!
Pure v2.1.0
Copyright 2013 Yahoo!
Licensed under the BSD License.
https://github.com/pure-css/pure/blob/master/LICENSE
*/
/*!
normalize.css v | MIT License | git.io/normalize
Copyright (c) Nicolas Gallagher and Jonathan Neal
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15;
/* 1 */
-webkit-text-size-adjust: 100%;
/* 2 */ }
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0; }
/**
* Render the `main` element consistently in IE.
*/
main {
display: block; }
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0; }
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
-webkit-box-sizing: content-box;
box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */ }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */ }
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent; }
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
/* 2 */ }
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b, strong {
font-weight: bolder; }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code, kbd, samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */ }
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%; }
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sub {
bottom: -0.25em; }
sup {
top: -0.5em; }
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none; }
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button, input, optgroup, select, textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
/* 1 */
line-height: 1.15;
/* 1 */
margin: 0;
/* 2 */ }
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button, input {
/* 1 */
overflow: visible; }
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button, select {
/* 1 */
text-transform: none; }
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button, [type="button"], [type="reset"], [type="submit"] {
-webkit-appearance: button; }
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0; }
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText; }
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em; }
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
-webkit-box-sizing: border-box;
box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */ }
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline; }
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto; }
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"], [type="radio"] {
-webkit-box-sizing: border-box;
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */ }
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
height: auto; }
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */ }
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */ }
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block; }
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item; }
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template, [hidden] {
display: none; }
/**
* Add the correct display in IE 10.
*/
/*csslint important:false*/
/* ==========================================================================
Pure Base Extras
========================================================================== */
/**
* Extra rules that Pure adds on top of Normalize.css
*/
html {
font-family: sans-serif; }
/**
* Always hide an element when it has the `hidden` HTML attribute.
*/
.hidden, [hidden] {
display: none !important; }
/**
* Add this class to an image to make it fit within it's fluid parent wrapper while maintaining
* aspect ratio.
*/
.pure-img {
max-width: 100%;
height: auto;
display: block; }
html[data-theme="light"] {
--color-text: #171717;
--color-text-secondary: #737373;
--color-text-footer: #737373;
--color-text-mark: #171717;
--color-text-active: #fff;
--color-text-disabled: #a3a3a3;
--color-border: #d4d4d4;
--color-border-collapsible-menu: #e5e5e5;
--color-background: #fff;
--color-background-active: #525252;
--color-background-hover: #f5f5f5;
--color-background-overlay: #ededed;
--color-background-inline-code: #f5f5f5;
--color-background-card: #fff;
--color-background-mark: #ffd70e;
--color-link: #2563eb;
--color-header-menu-item-inactive: #737373;
--color-header-menu-item-active: #000;
--color-header-menu-item-in-section: #525252; }
html[data-theme="dark"] {
--color-text: #ededed;
--color-text-secondary: #8b8b8b;
--color-text-footer: #a3a3a3;
--color-text-mark: #171717;
--color-text-active: #000;
--color-text-disabled: #737373;
--color-border: #737373;
--color-border-collapsible-menu: #636363;
--color-background: #333333;
--color-background-active: #e5e5e5;
--color-background-hover: #525252;
--color-background-overlay: #404040;
--color-background-inline-code: #525252;
--color-background-card: #404040;
--color-background-mark: #ffd70e;
--color-link: #93c5fd;
--color-header-menu-item-inactive: #a3a3a3;
--color-header-menu-item-active: #f5f5f5;
--color-header-menu-item-in-section: #dddddd; }
html {
color: var(--color-text);
background: var(--color-background); }
a {
color: var(--color-link);
text-decoration: none; }
html, button, input, select, textarea,
.pure-g [class*="pure-u"] {
font-family: system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji; }
code, kbd, pre {
font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,courier new,monospace; }
main {
margin-top: 2rem;
margin-bottom: 2rem;
margin-left: auto;
margin-right: auto;
margin-bottom: 2rem;
width: 93vw; }
@media screen and (min-width: 48rem) {
main {
margin-top: 2rem;
width: 80vw; } }
@media screen and (min-width: 64rem) {
main {
margin-top: 2rem;
width: 70vw; } }
@media screen and (min-width: 80rem) {
main {
margin-top: 2.5rem;
width: 50vw; } }
@media screen and (min-width: 120rem) {
main {
margin-top: 2.5rem;
width: 50vw; } }
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
margin-top: 2rem;
margin-bottom: 1rem; }
h1 {
font-size: 1.65rem;
line-height: 2.15rem; }
h2 {
font-size: 1.375rem;
line-height: 1.875rem; }
h3 {
font-size: 1.25rem;
line-height: 1.75rem; }
h4 {
font-size: 1.125rem;
line-height: 1.75rem; }
h5 {
font-size: 1rem;
line-height: 1.5rem; }
h6 {
font-size: 0.875rem;
line-height: 1.25rem; }
figure {
margin: 0; }
img {
max-width: 100%;
border-radius: 3px; }
input {
background-color: var(--color-background);
color: var(--color-text);
border: none; }
mark {
background-color: var(--color-background-mark);
color: var(--color-text-mark); }
details > summary {
cursor: pointer; }
details[open] > summary {
cursor: pointer; }
.content-margin {
margin-top: 2rem;
margin-bottom: 2rem; }
.hidden {
display: none; }
hr {
border-color: var(--color-border); }
.MJX_LiveRegion {
background-color: transparent !important; }
.MJX_HoverRegion {
background-color: transparent !important; }
.MJX_ToolTip {
background-color: transparent !important; }
article {
line-height: 1.7;
width: 100%; }
article hr {
margin-top: 2rem;
margin-bottom: 2rem; }
article p {
overflow-wrap: break-word; }
article li {
list-style-type: disc;
margin-top: .5rem;
margin-bottom: .5rem; }
article li p {
margin-top: 0;
margin-bottom: 0; }
article ul, article ol {
margin-top: 1rem;
margin-bottom: 1rem;
padding-left: 1.3rem; }
article ol li {
list-style-type: decimal; }
article ul, article ol {
margin-top: .5rem;
margin-bottom: .5rem; }
article ul li:first-child, article ol li:first-child {
margin-top: 0; }
article ul li:last-child, article ol li:last-child {
margin-bottom: 0; }
article blockquote {
padding-left: 1rem;
padding-right: 1rem;
margin-top: 1rem;
margin-bottom: 1rem;
margin-left: 0;
margin-right: 0;
border-left: 2px solid var(--color-border); }
article blockquote p:first-child {
margin-top: 0; }
article blockquote p:last-child {
margin-bottom: 0; }
article blockquote blockquote {
margin-top: 0;
margin-bottom: 0; }
article code {
/* Inline code style */
border-radius: .25rem;
padding: .2rem .375rem .2rem .375rem;
background-color: var(--color-background-inline-code);
white-space: pre-wrap;
word-wrap: break-word; }
article pre {
margin-top: 1rem;
margin-bottom: 1rem;
padding: 1rem;
overflow-x: auto;
border-radius: .5rem;
background-color: #272822;
color: #f7f7f7; }
article pre code {
/* Disable inline code style */
display: inherit;
border-radius: 0;
padding: 0;
background-color: transparent;
white-space: unset;
word-wrap: unset; }
article pre.mc-prism.hide code {
/* Smooth transition for prism.js */
opacity: 0; }
article pre.mc-prism code {
/* Smooth transition for prism.js */
opacity: 1;
transition: opacity 0.1s ease-in; }
article .code-toolbar .toolbar-item {
margin-left: 0.25rem;
margin-right: 0.25rem; }
article .highlight {
margin-top: 1rem;
margin-bottom: 1rem;
position: relative; }
article .highlight .code-toolbar {
padding: 0; }
article .highlight .code-toolbar pre {
padding: 1rem;
border-radius: 0.375rem; }
article .highlight > div,
article .highlight > pre {
padding: 0.75rem;
border-radius: 0.375rem;
overflow-x: auto; }
article .highlight > div pre,
article .highlight > pre pre {
padding: 0;
margin: 0;
border-radius: 0; }
article .highlight > div pre code,
article .highlight > pre pre code {
/* Disable inline code style */
border-radius: 0;
padding: 0;
background-color: transparent;
white-space: unset;
word-wrap: unset; }
article .copy-code-button {
font-size: 0.75rem;
line-height: 1rem;
position: absolute;
right: 0;
height: 1.5rem;
top: -1.5rem;
padding-left: 0.375rem;
padding-right: 0.375rem;
border-radius: .25rem;
cursor: pointer;
background-color: transparent;
display: flex;
align-items: center; }
article .copy-code-button:hover {
background-color: var(--color-background-hover); }
article table.mc-table {
margin-top: 1rem;
margin-bottom: 1rem;
table-layout: auto;
border-collapse: collapse;
display: block;
overflow-x: auto; }
article table.mc-table td, article table.mc-table th {
padding-left: .75rem;
padding-right: .75rem;
padding-top: .5rem;
padding-bottom: .5rem;
border: 1px solid var(--color-border); }
article figure {
margin-top: 1rem;
margin-bottom: 1rem;
text-align: center; }
article figure figcaption {
margin-top: .5rem;
margin-bottom: .5rem; }
article img {
margin-left: auto;
margin-right: auto;
display: block; }
article .header-anchor-link {
display: none;
color: var(--color-text); }
article .header-anchor-wrapper:hover .header-anchor-link {
display: inline; }
article section {
margin-top: 1rem;
margin-bottom: 1rem; }
html[data-theme='dark'] .twitter-tweet {
color: var(--color-text); }
html[data-theme='dark'] .twitter-tweet a {
color: var(--color-link); }
.bookcase-layout {
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fill, 8rem); }
.bookcase-layout .bookcase-item figure {
position: relative;
margin: 0; }
.bookcase-layout .bookcase-item figcaption {
font-size: 0.875rem;
line-height: 1.25rem;
text-align: center;
margin-top: .7rem; }
.bookcase-layout .bookcase-item figcaption a {
color: var(--color-text); }
.bookcase-layout .bookcase-item img, .bookcase-layout .bookcase-item .bookcase-item-overlay {
width: 8rem;
height: 12rem;
border-radius: 0.375rem;
object-fit: cover; }
.bookcase-layout .bookcase-item .bookcase-item-overlay {
position: absolute;
top: 0;
left: 0;
background-color: transparent;
opacity: 0.25; }
.bookcase-layout .bookcase-item .bookcase-item-overlay:hover {
background-color: var(--color-background-overlay); }
html[data-theme="light"] .bookcase-item-img-dark {
display: none; }
html[data-theme="light"] .bookcase-item img, html[data-theme="light"] .bookcase-item .bookcase-item-overlay {
box-shadow: 0 0 10px -1px rgba(0, 0, 0, 0.1); }
html[data-theme="dark"] .bookcase-item-img-light {
display: none; }
html[data-theme="dark"] .bookcase-item img, html[data-theme="dark"] .bookcase-item .bookcase-item-overlay {
box-shadow: 0 0 3px 0px rgba(135, 135, 135, 0.2); }
@media screen and (min-width: 48rem) {
.gallery-layout figure {
margin-left: -1.25rem;
margin-right: -1.25rem; } }
.gallery-layout figure img {
margin-left: auto;
margin-right: auto;
display: block; }
.gallery-layout figcaption {
margin-top: .5rem;
margin-bottom: .5rem;
font-size: 0.75rem;
line-height: 1rem;
font-style: italic;
text-align: center; }
.gallery-layout .gallery-item {
margin-bottom: 4rem; }
.gallery-layout .gallery-item-title {
margin: 1rem 0; }
.gallery-layout .gallery-item-title a {
color: var(--color-text);
border-bottom: 2px solid var(--color-border); }
.gallery-layout .gallery-item-title a:hover {
border-bottom-color: var(--color-text-secondary); }
.gallery-layout .gallery-item-title span {
font-size: 1.375rem;
line-height: 1.875rem;
font-weight: 700; }
.gallery-layout .gallery-item-content {
margin-top: 1rem;
margin-bottom: 1rem; }
.gallery-layout .gallery-item-statistic {
display: grid;
gap: 0.5rem;
grid-template-columns: max-content 1fr; }
.balloon-layout .balloon-card-item, .balloon-layout .balloon-title-item, .balloon-layout .balloon-head-item {
display: flex;
flex-direction: column; }
@media screen and (min-width: 48rem) {
.balloon-layout .balloon-card-item, .balloon-layout .balloon-title-item, .balloon-layout .balloon-head-item {
flex-direction: row; } }
.balloon-layout .balloon-card-item .balloon-card-item-line, .balloon-layout .balloon-title-item .balloon-title-item-line, .balloon-layout .balloon-head-item .balloon-head-item-desktop {
width: 7rem;
display: flex;
flex-direction: column;
position: relative;
align-items: center; }
@media screen and (max-width: 48rem) {
.balloon-layout .balloon-card-item .balloon-card-item-line, .balloon-layout .balloon-title-item .balloon-title-item-line, .balloon-layout .balloon-head-item .balloon-head-item-desktop {
display: none; } }
.balloon-layout .balloon-card-item .balloon-card-item-content, .balloon-layout .balloon-title-item .balloon-title-item-content, .balloon-layout .balloon-head-item .balloon-head-item-content {
display: flex;
flex: 1 1 0%;
align-items: center;
margin-left: -12px; }
@media screen and (max-width: 48rem) {
.balloon-layout .balloon-card-item .balloon-card-item-content, .balloon-layout .balloon-title-item .balloon-title-item-content, .balloon-layout .balloon-head-item .balloon-head-item-content {
margin-left: 0; } }
@media screen and (min-width: 48rem) {
.balloon-layout {
margin-left: -1.75rem; } }
.balloon-layout .balloon-head-item {
width: 100%;
gap: 20px; }
.balloon-layout .balloon-head-item .balloon-head-item-mobile {
width: 100%;
justify-content: center; }
@media screen and (min-width: 48rem) {
.balloon-layout .balloon-head-item .balloon-head-item-mobile {
display: none; } }
.balloon-layout .balloon-head-item .balloon-head-item-img-light, .balloon-layout .balloon-head-item .balloon-head-item-img-dark {
display: flex;
justify-content: center; }
.balloon-layout .balloon-head-item .balloon-head-item-img img {
width: 6rem;
height: 6rem; }
.balloon-layout .balloon-head-item .balloon-head-item-img .rounded {
border-radius: 9999px; }
.balloon-layout .balloon-head-item .balloon-head-item-content {
margin: 0; }
@media screen and (max-width: 48rem) {
.balloon-layout .balloon-head-item .balloon-head-item-content article {
text-align: center; }
.balloon-layout .balloon-head-item .balloon-head-item-content article .icon-group {
justify-content: center; }
.balloon-layout .balloon-head-item .balloon-head-item-content article .icon {
justify-content: center; } }
@media screen and (max-width: 48rem) {
.balloon-layout .balloon-title-item .balloon-title-item-content {
justify-content: center;
text-align: center; } }
.balloon-layout .balloon-card-item .balloon-card-item-content {
font-size: 0.875rem;
line-height: 1.25rem;
overflow: auto;
border-radius: 0.375rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
background-color: var(--color-background-card);
padding: 0 1.2rem; }
.balloon-layout .balloon-dot {
width: .8rem;
height: .8rem;
border-radius: 1rem;
margin: 0.25rem 0;
border: 2px solid var(--color-text); }
.balloon-layout .balloon-line-container {
display: flex;
flex: 1 1 0%;
justify-content: center; }
.balloon-layout .balloon-line-container .balloon-line {
background-color: var(--color-text); }
html[data-theme="dark"] .balloon-head-item .balloon-head-item-img-light {
display: none; }
html[data-theme="light"] .balloon-head-item .balloon-head-item-img-dark {
display: none; }
ul.list-layout {
list-style: none;
padding: 0; }
ul.list-layout li {
margin-bottom: .5rem;
line-height: 1.625;
display: list-item;
list-style-type: none; }
ul.list-layout li a {
color: var(--color-text);
border-bottom: 2px solid var(--color-border);
line-height: 1.7rem; }
ul.list-layout li a:hover {
border-bottom-color: var(--color-text-secondary); }
ul.list-layout li span {
font-size: 0.75rem;
line-height: 1rem;
color: var(--color-text-secondary); }
.postcard-layout a {
color: var(--color-text); }
.postcard-layout .postcard-item {
padding: 1rem;
background-color: var(--color-background-card);
border-radius: .375rem;
margin: 2rem 0;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.postcard-layout .postcard-item:hover {
background-color: var(--color-background-hover); }
.postcard-layout .postcard-item .postcard-title {
font-size: 1.25rem;
line-height: 1.75rem;
font-weight: 500; }
.postcard-layout .postcard-item .postcard-summary {
font-size: 0.75rem;
line-height: 1rem;
color: var(--color-text-secondary);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin: .5rem 0; }
.postcard-layout .postcard-item .postcard-metadata {
font-size: 0.75rem;
line-height: 1rem;
color: var(--color-text-secondary); }
.term-title {
display: flex;
align-items: center;
gap: 8px;
margin: 2rem 0; }
.term-title h1 {
margin: 0; }
.outline-button {
cursor: pointer;
border-radius: 0.4rem;
border: 1px solid var(--color-text-secondary);
background-color: transparent;
color: var(--color-text);
display: flex;
align-items: center;
justify-content: center;
padding: 0; }
.outline-button:hover {
background-color: var(--color-background-hover); }
html[data-theme="dark"] #dark_mode_btn {
display: none; }
html[data-theme="light"] #light_mode_btn {
display: none; }
header {
min-height: 3rem;
border-bottom: 1px solid var(--color-border);
position: sticky;
top: 0;
z-index: 10;
background-color: var(--color-background);
transition: transform 0.2s ease; }
header.hide {
transform: translateY(-100%); }
header #header_content {
min-height: 3rem;
margin-left: auto;
margin-right: auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
width: 93vw; }
@media screen and (min-width: 48rem) {
header #header_content {
width: 90vw; } }
@media screen and (min-width: 64rem) {
header #header_content {
width: 85vw; } }
@media screen and (min-width: 80rem) {
header #header_content {
width: 70vw; } }
@media screen and (min-width: 120rem) {
header #header_content {
width: 70vw; } }
header #header_content #header_left {
min-height: 3rem;
display: flex;
justify-content: space-between;
align-items: center; }
header #header_content #header_left .brand {
display: flex;
align-items: center; }
header #header_content #header_left .brand a {
font-size: 1.375rem;
line-height: 1.875rem;
font-weight: 700;
color: var(--color-text); }
header #header_content #header_left #sidebar_btn {
margin-right: 0.6rem; }
header #header_content #header_left #sidebar_btn #sidebar_btn_label {
display: flex; }
@media screen and (min-width: 64rem) {
header #header_content #header_left #sidebar_btn {
display: none; } }
header #header_content #header_right {
min-height: 3rem;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.5rem;
flex: 1;
margin-left: 0.5rem; }
header #header_content #header_right svg {
width: 1rem;
height: 1rem; }
header .header-menu-btn {
height: 2rem;
width: 2rem; }
header .header-menu > ul.pure-menu-list {
display: flex;
gap: 0.75rem; }
header .header-menu > ul.pure-menu-list .header-menu-dropdown > .pure-menu-link:after {
content: "▾"; }
header .header-menu > ul.pure-menu-list .header-menu-dropdown > ul.pure-menu-children {
left: 0;
top: calc(3rem + 2px);
width: inherit; }
header .header-menu > ul.pure-menu-list .header-menu-item {
height: 3rem;
display: flex;
align-items: center;
justify-content: center;
border-bottom: 2px solid transparent;
cursor: pointer; }
header .header-menu > ul.pure-menu-list .header-menu-item > .pure-menu-link {
font-weight: 700;
padding: 0;
height: 3rem;
line-height: 3rem; }
header .header-menu > ul.pure-menu-list .header-menu-item > .pure-menu-link:hover {
background-color: transparent; }
header .header-menu > ul.pure-menu-list .header-menu-item > a.pure-menu-link {
color: var(--color-header-menu-item-inactive); }
header .header-menu > ul.pure-menu-list .header-menu-item:hover {
border-bottom-color: var(--color-header-menu-item-active); }
header .header-menu > ul.pure-menu-list .header-menu-item:hover > a {
color: var(--color-header-menu-item-active); }
header .header-menu > ul.pure-menu-list .header-menu-item.active {
border-bottom-color: var(--color-header-menu-item-active); }
header .header-menu > ul.pure-menu-list .header-menu-item.active > a {
color: var(--color-header-menu-item-active); }
header .header-menu > ul.pure-menu-list .header-menu-item.insection {
border-bottom-color: var(--color-header-menu-item-in-section); }
header .header-menu > ul.pure-menu-list .header-menu-item.insection > a {
color: var(--color-header-menu-item-in-section); }
header #header_navbar {
margin-left: 1.5rem;
display: none; }
@media screen and (min-width: 64rem) {
header #header_navbar {
display: block; } }
header #header_navbar > ul.pure-menu-list .header-menu-item > .pure-menu-link {
margin-top: 0.3rem; }
header #translation_menu {
margin-right: 0.25rem; }
header #sidebar_btn {
width: 1.5rem;
height: 1.5rem; }
header #sidebar_btn_input:checked ~ #sidebar_canvas_overlay_wrapper #sidebar_canvas_overlay {
display: block; }
header #sidebar_canvas_overlay {
background-color: rgba(0, 0, 0, 0.75);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
display: none; }
header #sidebar {
position: fixed;
top: 0;
left: 0;
height: 100%;
z-index: 20;
background-color: var(--color-background);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: transform 0.2s;
transform: translateX(-100%);
overflow-y: auto;
width: 60%;
padding: 1.2rem; }
@media screen and (min-width: 35.5rem) {
header #sidebar {
width: 40%; } }
header #sidebar ul {
list-style: none;
padding-left: 0;
margin: 0 0 0 1.2rem; }
header #sidebar > ul {
margin: 0; }
header #sidebar > ul > li:first-child {
margin-top: 0; }
header #sidebar > ul > li:last-child {
margin-bottom: 0; }
header #sidebar li {
margin: 1.2rem 0; }
header #sidebar a {
color: var(--color-text); }
header #sidebar_btn_input:checked ~ #sidebar {
display: block;
transform: translateX(0); }
footer {
margin-top: 2rem;
margin-bottom: 2rem;
font-size: 0.75rem;
line-height: 1rem;
text-align: center;
color: var(--color-text-footer); }
/*!
Pure v2.1.0
Copyright 2013 Yahoo!
Licensed under the BSD License.
https://github.com/pure-css/pure/blob/master/LICENSE
*/
/*csslint adjoining-classes: false, box-model:false*/
.pure-menu {
-webkit-box-sizing: border-box;
box-sizing: border-box; }
.pure-menu-fixed {
position: fixed;
left: 0;
top: 0;
z-index: 3; }
.pure-menu-list, .pure-menu-item {
position: relative; }
.pure-menu-list {
list-style: none;
margin: 0;
padding: 0; }
.pure-menu-item {
padding: 0;
margin: 0;
height: 100%;
font-size: 0.875rem;
line-height: 1.25rem; }
.pure-menu-link, .pure-menu-heading {
display: block;
text-decoration: none;
white-space: nowrap; }
/* HORIZONTAL MENU */
.pure-menu-horizontal {
width: 100%;
white-space: nowrap; }
.pure-menu-horizontal .pure-menu-list {
display: inline-block; }
.pure-menu-horizontal .pure-menu-item, .pure-menu-horizontal .pure-menu-heading, .pure-menu-horizontal .pure-menu-separator {
display: inline-block;
vertical-align: middle; }
/* Initial menus should be inline-block so that they are horizontal */
/* Submenus should still be display: block; */
.pure-menu-item .pure-menu-item {
display: block; }
.pure-menu-children {
display: none;
position: absolute;
left: 100%;
top: 0;
margin: 0;
padding: 0;
z-index: 3; }
html[data-theme="dark"] .pure-menu-children {
box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.03); }
html[data-theme="light"] .pure-menu-children {
box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.08); }
.pure-menu-horizontal .pure-menu-children {
left: 0;
top: auto;
width: inherit; }
.pure-menu-allow-hover:hover > .pure-menu-children, .pure-menu-active > .pure-menu-children {
display: block;
position: absolute; }
/* Vertical Menus - show the dropdown arrow */
.pure-menu-has-children > .pure-menu-link:after {
padding-left: 0.15rem;
font-family: sans-serif;
content: "▸"; }
/* Horizontal Menus - show the dropdown arrow */
.pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after {
font-family: sans-serif;
content: "▾"; }
/* scrollable menus */
.pure-menu-scrollable {
overflow-y: scroll;
overflow-x: hidden; }
.pure-menu-scrollable .pure-menu-list {
display: block; }
.pure-menu-horizontal.pure-menu-scrollable {
white-space: nowrap;
overflow-y: hidden;
overflow-x: auto;
/* a little extra padding for this style to allow for scrollbars */
padding: .5em 0; }
.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list {
display: inline-block; }
/* misc default styling */
.pure-menu-separator {
background-color: #ccc;
height: 1px;
margin: .3em 0; }
.pure-menu-horizontal .pure-menu-children .pure-menu-separator {
background-color: #ccc;
height: 1px;
margin: .3em 0; }
.pure-menu-horizontal .pure-menu-separator {
width: 1px;
height: 1.3em;
margin: 0 0.3em; }
.pure-menu-horizontal .pure-menu-children .pure-menu-separator {
display: block;
width: auto; }
/* Need to reset the separator since submenu is vertical */
.pure-menu-heading {
text-transform: uppercase;
color: var(--color-text); }
.pure-menu-link {
color: var(--color-text);
font-size: 0.875rem;
line-height: 1.25rem; }
.pure-menu-children {
background-color: var(--color-background); }
.pure-menu-link, .pure-menu-heading {
padding: .5rem; }
.pure-menu-disabled {
opacity: .5; }
.pure-menu-disabled .pure-menu-link:hover {
background-color: transparent;
cursor: default; }
.pure-menu-active > .pure-menu-link {
background-color: var(--color-background-hover); }
.pure-menu-link:hover, .pure-menu-link:focus {
background-color: var(--color-background-hover); }
.pure-menu-selected > .pure-menu-link {
color: var(--color-header-menu-item-active); }
.pure-menu-selected > .pure-menu-link:visited {
color: var(--color-header-menu-item-active); }
#TableOfContents {
line-height: 1.5rem; }
#TableOfContents ul, #TableOfContents li {
list-style: none;
padding-left: 0;
margin: 0; }
#TableOfContents ul ul {
margin-left: .5rem; }
#TableOfContents li {
margin-top: .375rem; }
#TableOfContents a {
color: var(--color-text); }
#TableOfContents a:hover {
border-bottom: 2px solid var(--color-border); }
#TableOfContents .active > a {
border-bottom: 2px solid var(--color-border); }
article#collapsible_menu_changelogs {
line-height: 1.75rem;
display: grid;
gap: .5rem;
grid-template-columns: max-content 1fr;
margin-top: .5rem; }
.collapsible-menu-wrapper {
margin-top: 2rem;
margin-bottom: 2rem;
font-size: 0.875rem;
padding: 1rem;
border: 2px solid var(--color-border-collapsible-menu);
border-radius: .25rem; }
.collapsible-menu-wrapper .collapsible-menu-type span {
font-weight: 700;
line-height: 1.5rem; }
.collapsible-menu-wrapper summary.collapsible-menu-type span {
margin-left: .3rem; }
.collapsible-menu-wrapper .collapsible-menu {
margin-left: .5rem; }
.collapsible-menu-wrapper.right {
position: fixed;
max-height: calc(100vh - 7.5rem);
display: none;
top: 5.5rem;
margin: 0;
padding: 0 1rem;
border: none;
border-left: 2px solid var(--color-border-collapsible-menu);
border-radius: 0px;
overflow-y: auto; }
@media screen and (min-width: 80rem) {
.collapsible-menu-wrapper.right {
display: block;
width: 18vw;
left: 77vw; } }
@media screen and (min-width: 120rem) {
.collapsible-menu-wrapper.right {
display: block;
width: 18vw;
left: 77vw; } }
.emgithub-container {
margin-top: 1.5rem;
margin-bottom: 1.5rem; }
.emgithub-container .emgithub-code {
display: flex;
flex-direction: column;
justify-content: center; }
.emgithub-container .emgithub-code .emgithub-loading {
margin-left: auto;
margin-right: auto;
margin-top: 1rem;
margin-bottom: 1rem;
z-index: 1;
position: absolute;
left: 0;
right: 0;
width: 2rem; }
.emgithub-container .emgithub-code .emgithub-loading.hide {
display: none; }
.emgithub-container .emgithub-code .emgithub-loading svg {
width: 2rem;
height: 2rem;
animation: spin 1s linear infinite;
color: white;
fill: #969696; }
@keyframes spin {
from {
transform: rotate(0deg); }
to {
transform: rotate(360deg); } }
.emgithub-container .emgithub-code .emgithub-pre {
margin-top: 0;
margin-bottom: 0;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px; }
.emgithub-container .emgithub-code .emgithub-pre.loading {
min-height: 5rem; }
.emgithub-container .emgithub-code .emgithub-pre code {
tab-size: inherit; }
.emgithub-container .emgithub-toolbar {
font-size: 0.75rem;
line-height: 1rem;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0.75rem 0.75rem 0.625rem 0.75rem;
border-bottom-right-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
background-color: #171717; }
.emgithub-container .emgithub-toolbar a {
font-weight: 600;
color: white;
border: 0; }
.terms-cloud {
align-items: end;
display: flex;
flex-wrap: wrap;
row-gap: 0.75rem;
column-gap: 0.25rem; }
.term-item {
color: var(--color-text);
border-bottom: 2px solid var(--color-border);
margin-right: 0.375rem;
line-height: 1.1; }
.term-item:hover {
border-bottom-color: var(--color-text-secondary); }
.icon {
display: flex; }
.icon > * {
display: flex;
justify-content: center;
align-items: center; }
.icon a {
color: var(--color-text); }
.icon a:hover {
color: var(--color-text-secondary); }
.breadcrumbs {
font-weight: 700;
list-style-type: none;
padding: 0;
margin: 0; }
.breadcrumbs a {
color: var(--color-text);
border-bottom: 2px solid transparent; }
.breadcrumbs a:hover {
border-bottom-color: var(--color-text-secondary); }
.breadcrumbs li {
display: inline;
margin-right: 0.25rem; }
.color-block {
border-radius: 0.25rem;
padding: 0.75rem; }
.icon-group {
margin-top: 1rem;
margin-bottom: 1rem;
display: flex; }
#search_menu_wrapper {
display: flex;
justify-content: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 40;
background-color: rgba(0, 0, 0, 0.75); }
#search_menu_wrapper #search_menu {
position: fixed;
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
border-radius: 0;
background-color: var(--color-background); }
@media screen and (min-width: 35.5rem) {
#search_menu_wrapper #search_menu {
height: auto;
top: 6rem;
bottom: 6rem;
width: 30rem;
z-index: 50;
border-radius: 0.375rem; } }
#search_menu_wrapper #search_menu #search_menu_toolbar {
display: flex;
min-height: 2.5rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper {
display: flex;
flex-grow: 1; }
#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input {
padding-left: 1rem;
padding-right: 1rem;
flex-grow: 1;
border-top-left-radius: 0.375rem; }
#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input:focus {
outline: 2px solid transparent;
outline-offset: 2px; }
#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn {
display: flex;
align-items: center;
justify-content: center;
width: 2.5rem;
border-top-right-radius: 0.375rem;
cursor: pointer; }
#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn:hover {
background-color: var(--color-background-overlay); }
#search_menu_wrapper #search_menu #search_menu_results {
flex-grow: 1;
overflow-y: auto; }
#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item {
padding-left: 1rem;
padding-right: 1rem;
padding-top: 0.875rem;
padding-bottom: 0.875rem;
min-height: 2.5rem; }
#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item:hover {
background-color: var(--color-background-overlay); }
#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-title {
font-weight: 700;
line-height: 1.7rem;
color: var(--color-text); }
#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-content {
font-size: 0.75rem;
line-height: 1rem;
color: var(--color-text-secondary); }
.pagination {
font-size: 0.875rem;
line-height: 1.25rem;
padding: 0;
margin: 0;
list-style: none;
display: inline-flex;
width: 100%;
align-items: center;
justify-content: start;
flex-wrap: wrap;
gap: 0.5rem; }
.pagination button {
height: 1.75rem;
width: 1.75rem; }
.pagination .page-item.active button {
background-color: var(--color-background-active);
color: var(--color-text-active);
border-color: var(--color-background-active); }
.pagination .page-item.disabled button {
cursor: not-allowed;
color: var(--color-text-disabled);
border-color: var(--color-text-disabled); }
.pagination .page-item.disabled button:hover {
background-color: transparent; }
.postcard-layout .pagination {
justify-content: center; }
/*# sourceMappingURL=style.css.map */