@media not screen and (min-width: 60em) {
body {
margin: 0;
}
#navigation nav {
display: none;
}
#navigation:target a#show_nav {
display: none;
}
#navigation:target nav {
display: block;
}
#content #files {
margin-top: 0.5em;
}
#readme div.vidcontainer > video {
width: 320px;
height: 180px;
}
}
@media screen and (min-width: 60em) {
body {
min-width: 90em;
}
#sidebar,
#content {
float: left;
}
footer {
clear: both;
}
#content {
max-width: 75%;
}
#navigation a#show_nav {
display: none;
}
#content #readme,
#content #files {
margin: 0.5em;
}
#readme figure.float,
#readme div.float {
float: right;
}
}
html {
min-height: 100%;
}
body {
background-image: url(background-light.svg);
background-size: 173px 100px;
background-repeat: repeat;
font-family: sans-serif;
}
h1 {
font-family: serif;
font-variant: small-caps;
text-shadow: 3px 3px 3px #808080;
margin: 0.25em;
}
h2 {
margin: 0.25em 0.25em 0.5em 0.25em;
}
a:link {
text-decoration: none;
color: #00e;
}
a:visited {
text-decoration: none;
color: #00e;
}
a:hover {
text-decoration: underline;
color: #00e;
}
a.selected {
font-weight: bold;
}
table {
border-collapse: collapse;
}
#sidebar #navigation,
#sidebar #advertisement,
#content {
margin: 0.5em;
padding: 0.5em;
background-color: rgba(255,255,255,0.5);
border-radius: 0.5em;
box-shadow: 3px 3px 3px #808080;
}
#content #readme,
#content #files {
padding: 0.5em;
background-color: #fff;
border-radius: 0.5em;
overflow-x: auto;
}
#content #readme {
padding: 1em;
}
#navigation nav ul {
margin: 0;
padding-left: 1.5em;
list-style-type: disc;
}
#readme th,
#readme td {
padding-left: 0.5em;
padding-right: 0.5em;
}
#readme td.number {
text-align: right;
}
#readme figure {
margin-left: 1em;
margin-right: 1em;
overflow-x: auto;
}
#readme figure figcaption {
font-size: small;
}
#readme span.desc {
font-size: small;
color: #888;
}
#readme code {
white-space: pre;
}
#readme code.command {
font-weight: bold;
}
#readme code.filename {
background-color: #f3f3f3;
}
#readme pre {
max-width: 80em;
overflow-x: auto;
}
#readme pre.file {
background-color: #f3f3f3;
border: 1px dashed #888;
}
#readme pre > code,
#readme pre > samp {
display: block;
padding: 1em;
background-color: #f3f3f3;
overflow-x: auto;
}
#readme dl.file dt {
float: left;
padding: 0.25em;
padding-right: 0.5em;
background-color: #f3f3f3;
font-weight: bold;
}
#readme dl.file dt::before {
content: "\1f4c4 ";
}
#readme dl.file dd {
clear: both;
margin: 0;
}
#readme div.table {
overflow-x: auto;
}
#readme table.cellborders th,
#readme table.cellborders td {
border: 1px solid #888;
}
#readme input,
#readme textarea {
width: 100%;
box-sizing: border-box;
}
#readme table.chrono td.date {
text-align: center;
padding-top: 1em;
padding-bottom: 1em;
}
#readme table.buildscripts tbody.buildscript {
border-top: 0.5em solid transparent;
border-bottom: 0.5em solid transparent;
}
#readme table.buildscripts td.home {
font-size: small;
}
#readme table.buildscripts td.desc pre {
margin: 0;
}
#readme ul.dirtree {
list-style-type: none;
}
#readme ul.dirtree ul {
list-style-type: none;
margin-left: 0.5em;
padding-left: 1em;
border-left: 1px solid #ccc;
}
#readme ul.dirtree li.file:before {
content: "\1f4c4 ";
}
#readme ul.dirtree li.folder:before {
content: "\1f4c1 ";
}
#readme ul.changelog {
list-style-type: none;
padding: 0;
}
#readme ul.changelog > li {
padding-bottom: 0.5em;
}
#readme ul.changelog ul {
list-style-type: disc;
}
#readme div.vidcontainer {
float: left;
margin: 0.5em;
border-radius: 0.5em;
border: 1px solid #ccc;
padding: 1em;
box-shadow: 3px 3px 3px #ccc;
}
#readme div.vidcontainer > p.vidcaption {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
#readme div.vidcontainer > p.vidmtime {
font-size: x-small;
color: #888;
margin: 0;
}
#files table.files tbody.file {
border-top: 0.25em solid transparent;
border-bottom: 0.25em solid transparent;
}
#files table.files td {
padding-left: 0.5em;
padding-right: 0.5em;
}
#files table.files td.fileapps {
font-size: small;
}
#files table.files td.filedate {
text-align: center;
font-size: small;
}
#files table.files td.filesize {
text-align: right;
font-size: small;
}
#files table.files td.filepreview pre {
margin: 0;
}
#contact {
position: fixed;
bottom: 0.5em;
right: 0.5em;
font-size: x-large;
}
#contact a {
padding: 0.25em;
background-color: rgba(255,255,255,0.5);
border-radius: 1em;
}
#contact a:hover {
text-decoration: none;
}
#contact span.dot {
display: inline-block;
position: relative;
bottom: 0.75em;
right: 0.5em;
width: 0.5em;
height: 0.5em;
background-color: #e00;
border-radius: 50%;
}
@media (prefers-color-scheme: dark) {
/* html { filter: invert(1) hue-rotate(180deg); } */
body {
background-image: url(background-dark.svg);
color: #fff;
}
a:link {
color: #88f;
}
a:visited {
color: #88f;
}
a:hover {
color: #88f;
}
#sidebar #navigation,
#sidebar #advertisement,
#content {
background-color: rgba(0,0,0,0.5);
}
#content #readme,
#content #files {
background-color: #000;
}
#readme code.filename {
background-color: #0c0c0c;
}
#readme pre.file {
background-color: #0c0c0c;
}
#readme pre > code,
#readme pre > samp {
background-color: #0c0c0c;
}
#readme dl.file dt {
background-color: #0c0c0c;
}
#readme ul.dirtree ul {
border-left: 1px solid #333;
}
#readme div.vidcontainer {
border: 1px solid #333;
box-shadow: 3px 3px 3px #333;
}
#contact a {
background-color: rgba(0,0,0,0.5);
}
#contact span.dot {
background-color: #f88;
}
}