forked from polyinfo/infosite-data
147 lines
1.9 KiB
CSS
147 lines
1.9 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
background-color: #111;
|
|
color: #dba;
|
|
padding: 0;
|
|
font-family: sans-serif;
|
|
scroll-padding-top: 200px;
|
|
}
|
|
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
a {
|
|
color: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
div {
|
|
display: block;
|
|
}
|
|
|
|
div.topstick {
|
|
position: sticky;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: min(40px, 5vw);
|
|
background-color: #222;
|
|
z-index: 1000;
|
|
}
|
|
|
|
div.content {
|
|
margin: auto;
|
|
padding-top: 20px;
|
|
padding-bottom: 20vh;
|
|
width: min(95vw, 900px);
|
|
}
|
|
|
|
table {
|
|
margin: 1em;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table.h th {
|
|
text-align: right;
|
|
}
|
|
|
|
table td, table th {
|
|
margin: 0;
|
|
padding: 0.4em;
|
|
border: 1px dotted #888;
|
|
}
|
|
|
|
img {
|
|
margin: 10px;
|
|
float: right;
|
|
width: 400px;
|
|
}
|
|
|
|
img.napchart {
|
|
filter: invert(100%) hue-rotate(200deg) saturate(200%);
|
|
}
|
|
|
|
input {
|
|
font-size: 1.1em;
|
|
background-color: #000;
|
|
color: #fff;
|
|
padding: 0.5em;
|
|
border-radius: 4px;
|
|
border: 1px solid #888;
|
|
}
|
|
|
|
a.tabhelp {
|
|
width: 0;
|
|
height: 0;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
}
|
|
|
|
a.tabhelp:focus {
|
|
width: initial;
|
|
height: initial;
|
|
display: inline;
|
|
overflow: initial;
|
|
}
|
|
|
|
div.box {
|
|
display: block;
|
|
border: 2px solid grey;
|
|
background-color: #333;
|
|
color: #ecb;
|
|
margin: 2em 1em 2em 1em;
|
|
padding: 0.5em 2em 1.5em 2em;
|
|
}
|
|
|
|
div.box.warn {
|
|
border-color: #aa3;
|
|
background-color: #441;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
img {
|
|
width: 100%;
|
|
}
|
|
input {
|
|
display: block;
|
|
margin-top: 3px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
a {
|
|
color: #000;
|
|
}
|
|
html {
|
|
background-color: #eee;
|
|
color: #124;
|
|
}
|
|
div.topstick {
|
|
background-color: #ccc;
|
|
}
|
|
img.napchart {
|
|
filter: initial;
|
|
}
|
|
input {
|
|
background-color: #fff;
|
|
color: #000;
|
|
}
|
|
div.box {
|
|
background-color: #ccc;
|
|
color: #013;
|
|
}
|
|
div.box.warn {
|
|
border-color: #aa3;
|
|
background-color: #ffa;
|
|
}
|
|
}
|
|
|
|
|