1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
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 a { margin: 0 1em; 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;
}
img.logo {
float: left;
margin: 0 20px 5px 0;
box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5);
height: 200px;
}
table {
min-width: min(50rem,100%);
border-collapse: collapse;
}
th, td {
border: 1px solid black;
padding: 3px 1ex;
}
th {
text-align: left;
background-color: gainsboro;
}
td.body {
white-space: pre-wrap;
padding: 10px 10px;
}
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 {
outline: 2px solid lightsteelblue;
}
button, select {
margin: 5px 10px 5px 0;
padding: 1px 10px;
background-color: gainsboro;
vertical-align: top;
border: 2px outset white;
outline: 1px solid black;
}
button:enabled:active:hover, select:active {
border: 2px inset white;
padding: 2px 9px 0px 11px;
}
button:disabled {
color: gray;
border: 2px solid gainsboro;
outline: 1px solid gray;
}
p.error { color: brown; font-style: italic; white-space: pre-wrap; }
p.warning { color: brown; }
p.warning::before { content: "\26a0"; }
div.post {
margin-bottom: 2em;
max-width: 50em;
display: grid;
grid-template:
"from time" auto
"body body" 1fr
"xxxx edit" auto
/ 1fr auto
}
div.post div.from {
grid-area: from;
background-color: gainsboro;
padding: 5px 10px;
border-top: 1px solid black;
border-left: 1px solid black;
font-weight: bold;
}
div.post div.time {
grid-area: time;
background-color: gainsboro;
padding: 5px;
border-top: 1px solid black;
border-right: 1px solid black;
}
div.post div.body {
grid-area: body;
border: 1px solid black;
padding: 15px;
white-space: pre-wrap;
}
div.post div.edit{
grid-area: edit;
padding: 5px;
text-align:right;
}
div.post div.from a:not(:hover) {color:black;text-decoration:none}
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; }
|