132 lines
2.6 KiB
CSS
132 lines
2.6 KiB
CSS
@import "tailwindcss/base";
|
|
@import "tailwindcss/components";
|
|
@import "tailwindcss/utilities";
|
|
|
|
/* Links */
|
|
|
|
a {
|
|
display: inline-block;
|
|
text-decoration: underline;
|
|
width: fit-content;
|
|
}
|
|
|
|
/* Table of contents */
|
|
|
|
#TOC li {
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
#TOC .h3 {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
#TOC .h4 {
|
|
margin-left: 2rem;
|
|
}
|
|
|
|
/* Headers */
|
|
|
|
h1, h2, h3, h4 {
|
|
padding: 0.5rem 0;
|
|
width: fit-content;
|
|
}
|
|
|
|
h1 {
|
|
border-bottom: 1px dashed white;
|
|
font-size: 1.25rem;
|
|
line-height: 1.75rem;
|
|
}
|
|
|
|
h2, h3, h4 {
|
|
border-bottom: 1px dotted white;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.125rem;
|
|
line-height: 1.75rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
}
|
|
|
|
/* Figures */
|
|
|
|
figure {
|
|
text-align: center;
|
|
}
|
|
|
|
figure img {
|
|
margin: 0 auto;
|
|
max-width: 768px;
|
|
}
|
|
|
|
/* Footnote */
|
|
|
|
#footnotes {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
#footnotes ol {
|
|
padding-top: 1rem;
|
|
padding-left: 1rem;
|
|
list-style-type: decimal;
|
|
}
|
|
|
|
/* Syntax highlighting */
|
|
|
|
code {
|
|
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
|
|
font-size: 85%;
|
|
margin: 0;
|
|
}
|
|
|
|
pre {
|
|
border-left: 1px solid gray;
|
|
padding-left: 1rem;
|
|
margin: 1em 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
pre code {
|
|
padding: 0;
|
|
overflow: visible;
|
|
overflow-wrap: normal;
|
|
}
|
|
|
|
.sourceCode {
|
|
background-color: transparent;
|
|
overflow: visible;
|
|
}
|
|
|
|
code span.al { color: #ffcfaf; } /* Alert */
|
|
code span.an { color: #7f9f7f; font-weight: bold; } /* Annotation */
|
|
code span.at { } /* Attribute */
|
|
code span.bn { color: #dca3a3; } /* BaseN */
|
|
code span.bu { } /* BuiltIn */
|
|
code span.cf { color: #f0dfaf; } /* ControlFlow */
|
|
code span.ch { color: #dca3a3; } /* Char */
|
|
code span.cn { color: #dca3a3; font-weight: bold; } /* Constant */
|
|
code span.co { color: #7f9f7f; } /* Comment */
|
|
code span.cv { color: #7f9f7f; font-weight: bold; } /* CommentVar */
|
|
code span.do { color: #7f9f7f; } /* Documentation */
|
|
code span.dt { color: #dfdfbf; } /* DataType */
|
|
code span.dv { color: #dcdccc; } /* DecVal */
|
|
code span.er { color: #c3bf9f; } /* Error */
|
|
code span.ex { } /* Extension */
|
|
code span.fl { color: #c0bed1; } /* Float */
|
|
code span.fu { color: #efef8f; } /* Function */
|
|
code span.im { } /* Import */
|
|
code span.in { color: #7f9f7f; font-weight: bold; } /* Information */
|
|
code span.kw { color: #f0dfaf; } /* Keyword */
|
|
code span.op { color: #f0efd0; } /* Operator */
|
|
code span.ot { color: #efef8f; } /* Other */
|
|
code span.pp { color: #ffcfaf; font-weight: bold; } /* Preprocessor */
|
|
code span.sc { color: #dca3a3; } /* SpecialChar */
|
|
code span.ss { color: #cc9393; } /* SpecialString */
|
|
code span.st { color: #cc9393; } /* String */
|
|
code span.va { } /* Variable */
|
|
code span.vs { color: #cc9393; } /* VerbatimString */
|
|
code span.wa { color: #7f9f7f; font-weight: bold; } /* Warning */
|