/*@font-face {
  font-family: "Sometype Mono";
  src: url("/fonts/Sometype_Mono/SometypeMono-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  font-optical-sizing: auto;
}

@font-face {
  font-family: "Sometype Mono";
  src: url("/fonts/Sometype_Mono/SometypeMono-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  font-optical-sizing: auto;
}*/

#preamble,
#content {
    max-width: 60em;
    margin: 0 auto;
}

img {
    max-width: 95%;
}

pre,
code {
    font-family: "Sometype Mono", monospace;
}

.title {
    text-align: center;
}

.linenr {
    color: var(--text-secondary);
    user-select: none;
    font-size: 0.8em;
    margin-right: 0.2em;
    font-style: italic;
}

.org-keyword {
    font-weight: 500;
    color: var(--accent-color);
}
.org-string {
    color: var(--text-secondary);
}
.org-comment,
.org-comment-delimiter {
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.85;
}
.org-function-name {
    color: var(--text-primary);
    font-weight: 500;
}
.org-type {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--border-color);
}
.org-constant {
    color: var(--accent-color);
    font-style: italic;
}
.org-builtin {
    color: var(--accent-color);
}

#table-of-contents {
    
}
#table-of-contents h2 {
    font-size: 1.2em;
}

.org-src-container {
    position: relative;
    background-color: var(--surface-card);
    border: 2px solid var(--border-color);
}

.org-src-container pre {
    padding: 0 0.5em;
    margin: 0;
    overflow-x: scroll;
    overflow-y: hidden;
}

.org-src-container>pre:before {
    display: block;
    position: absolute;
    background-color: var(--border-color);
    top: 0;
    right: 0;
    padding: 0 0.5em;
    border-bottom-left-radius: 8px;
    border: 0;
    color: var(--text-secondary);
}

.org-src-container>pre.src-sh:before {
    content: "sh";
}
.org-src-container>pre.src-bash:before {
    content: "bash";
}
.org-src-container>pre.src-toml:before {
    content: "toml";
}
.org-src-container>pre.src-kak:before {
    content: "kak";
}
.org-src-container>pre.src-text:before {
    content: "text";
}
.org-src-container>pre.src-py:before {
    content: "python";
}
