155 lines
2.2 KiB
CSS
155 lines
2.2 KiB
CSS
/* Main content */
|
|
body {
|
|
font-family: monospace;
|
|
margin: 0;
|
|
background: #080e08;
|
|
color: #f6f6f6;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
h1, h2 {
|
|
color: #4af626;
|
|
}
|
|
|
|
main {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 10px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Header */
|
|
header {
|
|
background: #3a7920;
|
|
color: #f6f6f6;
|
|
min-height: 50px;
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#header-content {
|
|
max-width: 800px;
|
|
margin: auto;
|
|
width: 100%;
|
|
align-content: center;
|
|
flex-direction: row;
|
|
display: flex;
|
|
padding: 10px;
|
|
}
|
|
|
|
#header-content h1 {
|
|
color: #f6f6f6;
|
|
margin: auto auto auto 1rem;
|
|
}
|
|
|
|
/* Header nav */
|
|
|
|
nav {
|
|
margin: auto 0 auto auto;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
nav a {
|
|
display: block;
|
|
padding: 10px;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
padding: 10px;
|
|
max-width: 800px;
|
|
width: 100%;
|
|
background: #3a7920;
|
|
color: #f6f6f6;
|
|
|
|
margin: auto auto 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Misc styling */
|
|
a:link {
|
|
color: #2cacb0;
|
|
}
|
|
|
|
a:visited {
|
|
color: #b4778f;
|
|
}
|
|
|
|
footer a:link, footer a:visited, header a:link, header a:visited {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
color: white;
|
|
}
|
|
|
|
footer a:hover, header a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
span.copyleft {
|
|
display: inline-block;
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
/* Form */
|
|
label.field-with-error {
|
|
color: red;
|
|
}
|
|
|
|
/* Tables */
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
th, td {
|
|
padding: 5px;
|
|
}
|
|
th {
|
|
border-bottom: solid 2px currentColor;
|
|
}
|
|
|
|
td:first-child {
|
|
border-right: solid 2px currentColor;
|
|
border-left: none;
|
|
}
|
|
td {
|
|
border-right: solid 2px currentColor;
|
|
border-left: solid 2px currentColor;
|
|
}
|
|
td:last-child {
|
|
border-right: none;
|
|
border-left: solid 2px currentColor;
|
|
}
|
|
|
|
/* Responsive */
|
|
.responsive-wrapper {
|
|
overflow-x: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Light mode */
|
|
@media (prefers-color-scheme: light) {
|
|
body {
|
|
background: #fcfffc;
|
|
color: #211c1b;
|
|
}
|
|
|
|
h1, h2 {
|
|
color: #4c982a;
|
|
}
|
|
|
|
a:link {
|
|
color: #1f7b7e;
|
|
}
|
|
|
|
a:visited {
|
|
color: #7c5263;
|
|
}
|
|
}
|