355 lines
4.8 KiB
CSS
355 lines
4.8 KiB
CSS
:root {
|
|
--foreground: #586e75;
|
|
--background: #fdf6e3;
|
|
--html-border: #eee8d5;
|
|
--html-background: #268bd2;
|
|
--body-background: linear-gradient(to bottom, #2aa198, #268bd2);
|
|
--blockquote-text: #657b83;
|
|
--blockquote-border: #eee8d5;
|
|
--button-primary: #fdf6e3;
|
|
--button-secondary: #eee8d5;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--foreground: #93a1a1;
|
|
--background: #002b36;
|
|
--html-border: #073642;
|
|
--html-background: #6c71c4;
|
|
--body-background: linear-gradient(to bottom, #268bd2, #6c71c4);
|
|
--blockquote-text: #839496;
|
|
--blockquote-border: #073642;
|
|
--button-primary: #073642;
|
|
--button-secondary: #002b36;
|
|
}
|
|
}
|
|
|
|
|
|
html {
|
|
color: var(--foreground);
|
|
background: var(--html-background);
|
|
font-family: serif;
|
|
font-size: 14pt;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--body-background);
|
|
}
|
|
|
|
main {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 48em;
|
|
|
|
margin: 0 auto;
|
|
padding-left: 50pt;
|
|
padding-right: 50pt;
|
|
padding-top: 50pt;
|
|
padding-bottom: 50pt;
|
|
|
|
hyphens: auto;
|
|
overflow-wrap: break-word;
|
|
text-rendering: optimizeLegibility;
|
|
font-kerning: normal;
|
|
|
|
background-color: var(--background);
|
|
border-left: solid 3pt var(--html-border);
|
|
border-right: solid 3pt var(--html-border);
|
|
}
|
|
|
|
#tv-screen {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
#page-header {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
max-width: 60em;
|
|
|
|
margin: 0 auto;
|
|
padding: 4pt;
|
|
|
|
background: url("images/shark-top-small.png");
|
|
background-size: contain;
|
|
border: solid 3pt var(--html-border);
|
|
}
|
|
|
|
#page-header a {
|
|
color: var(--foreground);
|
|
padding: 4pt;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.page-header-button {
|
|
background: linear-gradient(to bottom, var(--button-primary) 0%, var(--button-secondary) 100%);
|
|
border: 1pt solid var(--blockquote-border);
|
|
border-radius: 4pt;
|
|
}
|
|
|
|
.page-header-button:active {
|
|
background: linear-gradient(to bottom, var(--button-secondary) 0%, var(--button-primary) 100%);
|
|
}
|
|
|
|
.rss-button {
|
|
color: #fdf6e3 !important;
|
|
background: linear-gradient(to bottom, #fb9d3a 0%, #d95c29 100%);
|
|
border: 1pt solid #f2994f;
|
|
border-radius: 4pt;
|
|
}
|
|
|
|
.rss-button:active {
|
|
background: linear-gradient(to bottom, #d95c29 0%, #fb9d3a 100%);
|
|
}
|
|
|
|
#articles ul {
|
|
padding-left: 0;
|
|
}
|
|
|
|
#articles li {
|
|
list-style: none;
|
|
}
|
|
|
|
.articles-header {
|
|
margin: 8pt 0 4pt 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.articles-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 4pt;
|
|
}
|
|
|
|
.articles-title {
|
|
font-size: 14pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.articles-author {
|
|
font-style: italic;
|
|
}
|
|
|
|
.articles-summary {
|
|
margin: 0;
|
|
}
|
|
|
|
.articles-date {
|
|
text-align: right;
|
|
}
|
|
|
|
#page-footer {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
justify-content: center;
|
|
max-width: 60em;
|
|
|
|
margin: 0 auto;
|
|
padding: 4pt;
|
|
|
|
background: url("images/shark-top-small.png");
|
|
background-size: contain;
|
|
border: solid 3pt var(--html-border);
|
|
}
|
|
|
|
#page-footer nav {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
main {
|
|
font-size: 0.9em;
|
|
padding: 12pt;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.8em;
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
html {
|
|
background-color: white;
|
|
}
|
|
|
|
body {
|
|
background-color: transparent;
|
|
color: black;
|
|
border: none;
|
|
font-size: 12pt;
|
|
}
|
|
|
|
p,
|
|
h2,
|
|
h3 {
|
|
orphans: 3;
|
|
widows: 3;
|
|
}
|
|
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
a {
|
|
color: black;
|
|
}
|
|
|
|
#page {
|
|
border: none;
|
|
}
|
|
|
|
#page-header,
|
|
#page-footer {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
p {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
a {
|
|
color: #268bd2;
|
|
}
|
|
|
|
a:not(:hover) {
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:visited {
|
|
color: #6c71c4;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
svg {
|
|
height: auto;
|
|
max-width: 100%;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
margin-top: 1.4em;
|
|
}
|
|
|
|
h5,
|
|
h6 {
|
|
font-size: 1em;
|
|
font-style: italic;
|
|
}
|
|
|
|
h6 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
ol,
|
|
ul {
|
|
padding-left: 1.7em;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
li>ol,
|
|
li>ul {
|
|
margin-top: 0;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 1em 0 1em 1.7em;
|
|
padding-left: 1em;
|
|
border-left: 2pt solid var(--blockquote-border);
|
|
color: var(--blockquote-text);
|
|
}
|
|
|
|
code {
|
|
font-family: monospace;
|
|
font-size: 85%;
|
|
margin: 0;
|
|
hyphens: manual;
|
|
}
|
|
|
|
pre {
|
|
margin: 1em 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
pre code {
|
|
padding: 0;
|
|
overflow: visible;
|
|
overflow-wrap: normal;
|
|
}
|
|
|
|
.sourceCode {
|
|
background-color: transparent;
|
|
overflow: visible;
|
|
}
|
|
|
|
hr {
|
|
background-color: var(--foreground);
|
|
border: none;
|
|
height: 1pt;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
table {
|
|
margin: 1em 0;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
display: block;
|
|
font-variant-numeric: lining-nums tabular-nums;
|
|
}
|
|
|
|
table caption {
|
|
margin-bottom: 0.75em;
|
|
}
|
|
|
|
tbody {
|
|
margin-top: 0.5em;
|
|
border-top: 1pt solid var(--foreground);
|
|
border-bottom: 1pt solid var(--foreground);
|
|
}
|
|
|
|
th {
|
|
border-top: 1pt solid var(--foreground);
|
|
padding: 0.25em 0.5em 0.25em 0.5em;
|
|
}
|
|
|
|
td {
|
|
padding: 0.125em 0.5em 0.25em 0.5em;
|
|
}
|
|
|
|
header {
|
|
margin-bottom: 4em;
|
|
text-align: center;
|
|
}
|
|
|
|
#TOC li {
|
|
list-style: none;
|
|
}
|
|
|
|
#TOC ul {
|
|
padding-left: 1.3em;
|
|
}
|
|
|
|
#TOC>ul {
|
|
padding-left: 0;
|
|
}
|
|
|
|
#TOC a:not(:hover) {
|
|
text-decoration: none;
|
|
}
|