summaryrefslogtreecommitdiffhomepage
path: root/apioforum/static/style.css
blob: 90b3b83247dd77c8bb2f81d2e24d43741f5ab4d8 (plain)
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
body { font-family: sans-serif }

.post { margin: 0px; }
.post:nth-child(even) { background-color: #eee }
.post:nth-child(odd)  { background-color: #ddd }
.post {
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-top: 1px solid black;
}
.post:last-of-type { border-bottom: 1px solid black; }

.post-heading {
    color: grey;
    font-size: smaller;
}
.post-content > * { margin-bottom: 0 }
.post-content > *:nth-child(1) { margin-top: 2px }

img { max-width: 100% }

.post-heading-b { float: right; margin-right: 0.5em }

nav ul { list-style-type: none; margin: 0px; padding: 0px }
nav { width:max-content; padding: 5px; margin: 2px; border: 1px solid black }
nav li { margin-left: 15px; margin-bottom: 10px; margin-right: 10px }
nav li {display: inline }
nav li:first-of-type { margin-left:0.5em }
nav { float: right }
nav a { color: blue; text-decoration: none }

.flashmsg { border: 1px solid black; background-color: yellow; width: max-content; padding: 5px; }

.threadlisting:nth-child(even) { background-color: #eee }
.threadlisting:nth-child(odd) { background-color: #ddd }

.threadlisting { display: flex; flex-flow: row wrap; text-align: center }
.threadlisting-part { flex: 1 0px; display: table-cell; vertical-align: middle; }
.threadlisting-part-title { flex: 3 0px }
@media all and (max-width: 800px) {
    .threadlisting-part-title { flex: 2 100%; }
    .threadlisting { margin-bottom: 5px; }
}

.threadlisting-part-id { flex: 0.4 0px; }

.threadlisting-part { border: 1px solid black }

.actionbutton::before {
    content: "[";
    color: grey;
}
.actionbutton::after {
    content: "]";
    color: grey;
}