html, input, textarea {
font-family: "Source Serif", "Georgia", "Dingbats", "Noto Emoji", serif;
font-size: 16px;
}
button, select {
font-family: "Source Sans", "Verdana", "Dingbats", "Noto Emoji", sans-serif;
font-size: 16px;
}
html, body { margin: 0; }
h1 { margin-left: -2px; }
h2 { margin-left: -1px; }
a { color: blue; }
.w { white-space: nowrap; }
.r { text-align: right; }
header {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 2px solid brown;
padding-right: 1em;
}
header img {
display: block;
margin: 4px 0 -2px 2px;
}
header nav {
display: flex;
flex-wrap: wrap;
justify-content: end;
}
header nav a { display: block; margin: 0 16px; color: black; }
header nav a:hover { color: blue; }
article { margin: 2em; }
article p, article dl, article ul { max-width: 50rem; }
img.avatar {
float: left; margin: 0 20px 5px 0;
box-shadow: 2px 2px 4px 0px rgba(0,0,0,.5);
width: 80px;
height: 80px;
}
div.logo {
float: left;
margin: 0 20px 5px 0;
min-width: 150px;
height: 200px;
}
div.logo img {
box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5);
}
table {
min-width: min(50rem,100%);
border-collapse: collapse;
border: 1px solid black;
}
thead, tfoot {
background-color: gainsboro;
border: 1px solid black;
}
th, td {
vertical-align: top;
text-align: left;
padding: 5px 10px;
}
tbody tr:nth-child(2n) {
background-color: whitesmoke;
}
table a:not(:hover) { text-decoration: none; color: black; }
td.command a { text-decoration: underline; color: blue; }
td.is_active { background-color: lemonchiffon; }
input[type="checkbox"] {
margin-right: 7px;
}
input[type="text"], input[type="password"], textarea {
padding: 5px;
margin: 5px 0;
border: 1px solid black;
}
input:focus, textarea:focus {
outline: 2px solid lightsteelblue;
}
button, select {
margin: 5px 10px 5px 0;
padding: 1px 10px;
background-color: gainsboro;
vertical-align: top;
border: 2px solid;
border-color: white darkgray darkgray white;
outline: 1px solid black;
}
button:enabled:active:hover, select:active {
border-color: darkgray white white darkgray;
padding: 2px 9px 0px 11px;
}
button:disabled {
color: gray;
border-color: gainsboro;
outline-color: gray;
}
.error { color: brown; font-style: italic; white-space: pre-wrap; }
.warning { color: brown; }
p.warning::before { content: "\26a0"; }
div.post {
max-width: 50em;
margin-top: 24px;
border: 1px solid black;
}
div.post > div.head {
display: flex;
justify-content: space-between;
padding: 5px 10px;
background-color: gainsboro;
border-bottom: 1px solid black;
}
div.post > div.head a { font-weight: bold; }
div.post > div.head a:not(:hover) { color: black; text-decoration: none; }
div.post > div.body { padding: 15px; white-space: pre-wrap; }
div.post + div.edit { max-width: 50em; margin-top: 5px; text-align:right; }
article hr { max-width: 50rem; margin-right: auto; margin-left: 0; }
article hr { border: none; border-top: 2px dotted brown; }
article hr + p { font-style: italic; }