further tweak style and fix indentation
[~bandali/bndl.org] / static / style.css
CommitLineData
cb742bb6 1body {
60d388df 2 /* background: #fffffa; */
ff620ce6
AB
3 font-family: sans-serif;
4 line-height: 1.6;
85314da0 5 padding: 2em;
ef72be3e
AB
6}
7
ff620ce6 8nav, main, footer {
9998ccd0 9 margin: auto;
ff620ce6 10 max-width: 38rem;
9998ccd0
AB
11}
12
ff620ce6
AB
13nav {
14 font-size: 0.84em;
ef72be3e 15}
ff620ce6 16main {
85314da0
AB
17 margin-bottom: 2em;
18}
19p {
20 margin: 1em 0;
21}
22header {
85314da0 23 margin-bottom: 1.5em;
ff620ce6 24}
60d388df
AB
25header >:not(h1) {
26 font-size: 0.875em;
27}
2527e234
AB
28header > p {
29 margin: 0;
30}
ff620ce6
AB
31footer {
32 border-top: 1px solid #bbb;
85314da0 33 font-size: 0.84em;
ff620ce6 34 padding-top: 1em;
ef72be3e 35}
ff620ce6
AB
36footer p {
37 margin: 0;
cb742bb6 38}
ff620ce6 39
ff620ce6
AB
40h1 {
41 font-size: 1.5em;
b7583bc7 42}
85314da0
AB
43h1 + address {
44 margin-top: 0.75em;
45}
85314da0
AB
46
47h2 {
48 font-size: 1.25em;
49}
50h3 {
51 font-size: 1.125em;
cb742bb6 52}
ef72be3e
AB
53
54a {
f9e7c277 55 color: #004caa;
7a1f56a9
AB
56 padding: 0.3em 0;
57 text-decoration: underline #ccc;
ff620ce6
AB
58}
59a:hover, a:focus {
7a1f56a9 60 text-decoration: underline #666;
ff620ce6
AB
61}
62a:active {
63 color: #a10029;
7a1f56a9 64 outline: 0;
ff620ce6 65}
ff620ce6
AB
66
67h4 {
68 margin: 0.75em auto;
cb742bb6 69}
ef72be3e
AB
70
71article h3 {
72 font-weight: normal;
cb742bb6 73 color: #777;
ef72be3e
AB
74}
75
ff620ce6
AB
76.notice {
77 background-color: #efefef;
78 text-align: center;
79 position: relative;
80}
81.notice::before {
82 content: "↪";
83 position: absolute;
84 left: 0.5em;
85 bottom: 0.05em;
86}
87.notice::after {
88 content: "↩";
89 position: absolute;
90 right: 0.5em;
91 bottom: 0.05em;
92}
93
ef72be3e 94code {
85314da0 95 font: 1.15em monospace;
127617a6 96 text-transform: none;
ef72be3e 97}
85314da0
AB
98strong {
99 font-weight: bold;
100}
101em {
102 font-style: italic;
103}
ef72be3e
AB
104
105table td {
f9e7c277 106 padding: 0.125em 0.3em;
ef72be3e
AB
107}
108table td:first-child {
109 padding-left: 0;
110}
111table td:last-child {
112 padding-right: 0
113}
22cb271b
AB
114#notes {
115 margin-top: 0.9em;
116}
60d388df
AB
117.post-list {
118 width: 100%;
119}
e810d7d1 120.post-list tr:hover {
f9e7c277 121 background: #fafafa;
e810d7d1 122}
7c12f0da 123.post-list td {
f9e7c277 124 padding: 0.25em 0;
7c12f0da 125}
60d388df
AB
126.post-list td:nth-child(2) {
127 text-align: right;
128}
ef72be3e 129
e080516c 130dt {
ff620ce6 131 margin-bottom: 0.15em;
e080516c 132}
b7583bc7 133dd {
60d388df 134 font-size: 0.875em;
b7583bc7 135 margin-left: 1.5em;
ff620ce6 136 margin-bottom: 0.75em;
b7583bc7 137}
85314da0
AB
138dd:last-child {
139 margin-bottom: 1em;
140}
90169139 141small {
60d388df 142 font-size: 0.875em;
e080516c 143}
90169139
AB
144.muted {
145 color: #666;
146}
147.inbox {
148 margin-top: 2em;
149}
ff620ce6
AB
150
151ul, ol {
152 list-style: none;
153 padding-left: 1.5em;
154 position: relative;
155}
156
157li {
158 margin-bottom: 0.25em;
159}
160
161ul > li::before {
162 content: '•';
163 position: absolute;
164 left: 0.5em;
165}
166
cd68557a 167h2 + ul, h2 + dl, h2 + table, h1 + table {
85314da0 168 margin-top: 1em;
60d1cae9 169}
22cb271b 170table + h2, h2 + h3, ul + h3 {
60d388df
AB
171 margin-top: 0.7em;
172}
7c12f0da
AB
173p + table {
174 margin-top: -0.3em;
175}
85314da0
AB
176
177sup, sub { font-size: 0.85em; }
178sup { vertical-align: super; }
179sub { vertical-align: sub; }