121 lines
1.7 KiB
CSS
121 lines
1.7 KiB
CSS
body {
|
|
background-attachment: fixed;
|
|
background-image: linear-gradient(180deg, #282a33, #202020);
|
|
color: #f9f9f9;
|
|
margin: 1em auto;
|
|
max-width: 80ch;
|
|
padding: 10px;
|
|
text-align: center;
|
|
font-family: sans-serif;
|
|
}
|
|
body img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
}
|
|
body video {
|
|
display: block;
|
|
height: auto;
|
|
max-width: 100%;
|
|
}
|
|
header {
|
|
text-align: center;
|
|
}
|
|
a {
|
|
color: #f9f9f9;
|
|
}
|
|
nav {
|
|
text-align: center;
|
|
}
|
|
nav a {
|
|
padding: 5px 10px;
|
|
}
|
|
nav a img {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: inline-block;
|
|
margin: 0 4px 0 0;
|
|
}
|
|
hr {
|
|
margin: 2em 0px;
|
|
}
|
|
article {
|
|
background-color: #282a33;
|
|
padding: 20px;
|
|
border-radius: 25px;
|
|
text-align: left;
|
|
}
|
|
article * {
|
|
line-height: 1.6;
|
|
}
|
|
article img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
border-radius: 25px;
|
|
}
|
|
article audio {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
}
|
|
code, pre {
|
|
font-family: monospace;
|
|
background-color: #202020;
|
|
padding: 2px 4px;
|
|
}
|
|
pre {
|
|
page-break-inside: avoid;
|
|
line-height: 1.6;
|
|
margin-bottom: 1.6em;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
display: block;
|
|
word-wrap: break-word;
|
|
border-radius: 25px;
|
|
padding: 1em 1.5em;
|
|
}
|
|
#TOC {
|
|
position: relative;
|
|
}
|
|
#TOC:before {
|
|
content: 'Table of Contents';
|
|
display: block;
|
|
font-weight: bold;
|
|
padding: 5px;
|
|
position: relative;
|
|
}
|
|
.date {
|
|
color: grey;
|
|
}
|
|
.container {
|
|
max-width: 800px;
|
|
margin: auto;
|
|
}
|
|
li {
|
|
cursor: pointer; padding: 5px;
|
|
}
|
|
li.active {
|
|
font-weight: bold; color: green;
|
|
}
|
|
button {
|
|
margin: 5px; padding: 6px 12px;
|
|
}
|
|
#playerContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
#audioPlayer {
|
|
flex:1;
|
|
}
|
|
footer {
|
|
text-align: center;
|
|
}
|