various updates
[~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
4927af92 8header, nav, main, footer {
9998ccd0 9 margin: auto;
ff620ce6 10 max-width: 38rem;
9998ccd0
AB
11}
12
4927af92
AB
13body > header {
14 margin-bottom: 0.25em;
15}
16body > header h1 {
17 margin: 0;
18 font-size: 100%;
19}
20header a {
21 color: inherit;
22}
23nav ul {
24 margin: 0;
25 padding: 0;
26}
27nav li {
28 display: inline;
29 text-transform: lowercase;
ef72be3e 30}
4927af92
AB
31nav li + li {
32 margin-left: 0.5em;
85314da0 33}
4927af92
AB
34nav a {
35 color: #333;
85314da0 36}
4927af92 37nav, main {
85314da0 38 margin-bottom: 1.5em;
ff620ce6 39}
60d388df
AB
40header >:not(h1) {
41 font-size: 0.875em;
42}
4927af92
AB
43header > h1 + p {
44 margin-top: -1em;
2527e234 45}
ff620ce6
AB
46footer {
47 border-top: 1px solid #bbb;
85314da0 48 font-size: 0.84em;
ff620ce6 49 padding-top: 1em;
ef72be3e 50}
ff620ce6
AB
51footer p {
52 margin: 0;
cb742bb6 53}
ff620ce6 54
ff620ce6
AB
55h1 {
56 font-size: 1.5em;
b7583bc7 57}
85314da0
AB
58h2 {
59 font-size: 1.25em;
60}
61h3 {
62 font-size: 1.125em;
cb742bb6 63}
ef72be3e
AB
64
65a {
4927af92 66 color: #036;
ff620ce6 67}
4927af92 68/*
ff620ce6 69a:hover, a:focus {
4927af92 70 color: #005a6a;
ff620ce6 71}
4927af92 72*/
ff620ce6 73a:active {
4927af92 74 outline-offset: 2px;
ff620ce6 75}
ff620ce6
AB
76
77h4 {
78 margin: 0.75em auto;
cb742bb6 79}
ef72be3e
AB
80
81article h3 {
82 font-weight: normal;
cb742bb6 83 color: #777;
ef72be3e
AB
84}
85
ff620ce6
AB
86.notice {
87 background-color: #efefef;
88 text-align: center;
89 position: relative;
90}
91.notice::before {
92 content: "↪";
93 position: absolute;
94 left: 0.5em;
95 bottom: 0.05em;
96}
97.notice::after {
98 content: "↩";
99 position: absolute;
100 right: 0.5em;
101 bottom: 0.05em;
102}
103
eb1aab37
AB
104.center-text {
105 text-align: center;
106}
107
ea39cfbe
AB
108sup, sub {
109 position: relative;
110 top: -0.4em;
111 vertical-align: baseline;
112}
113sub {
114 top: 0.4em;
115}
116
eb1aab37
AB
117blockquote#abstract {
118 font-size: 0.95em;
119 text-align: justify;
120}
121
dd631811 122pre, code {
4927af92
AB
123 background: #f6f6f6;
124 font: 1.15em monospace;
842b89b2
AB
125}
126pre {
127 display: inline-block;
128 margin: 0.5em 0;
129 min-width: 100%;
dd631811
AB
130 padding: 1em;
131}
842b89b2
AB
132pre:first-of-type {
133 margin-top: 0;
134}
dd631811
AB
135pre > code {
136 padding: 0;
137 background: initial;
138}
ef72be3e 139code {
127617a6 140 text-transform: none;
dd631811 141 padding: .2em .3em;
ef72be3e 142}
85314da0
AB
143strong {
144 font-weight: bold;
145}
146em {
147 font-style: italic;
148}
ef72be3e
AB
149
150table td {
f9e7c277 151 padding: 0.125em 0.3em;
ef72be3e 152}
842b89b2 153#publications td {
8c1ba2f2
AB
154 padding-top: 0.4em;
155 padding-bottom: 0.4em;
156}
ef72be3e
AB
157table td:first-child {
158 padding-left: 0;
159}
160table td:last-child {
161 padding-right: 0
162}
22cb271b
AB
163#notes {
164 margin-top: 0.9em;
165}
60d388df
AB
166.post-list {
167 width: 100%;
168}
e810d7d1 169.post-list tr:hover {
f9e7c277 170 background: #fafafa;
e810d7d1 171}
7c12f0da 172.post-list td {
f9e7c277 173 padding: 0.25em 0;
7c12f0da 174}
60d388df
AB
175.post-list td:nth-child(2) {
176 text-align: right;
177}
ef72be3e 178
8c1ba2f2 179small, dd, .small, .bibtexnumber, .bibtexitem, .bibtex2html {
60d388df 180 font-size: 0.875em;
e080516c 181}
90169139
AB
182.muted {
183 color: #666;
184}
8c1ba2f2 185.inbox, .bibtex2html {
90169139
AB
186 margin-top: 2em;
187}
ea39cfbe
AB
188.justify {
189 text-align: justify;
190}
ff620ce6 191
4927af92 192li, dd {
ff620ce6
AB
193 margin-bottom: 0.25em;
194}
195
08d93db6
AB
196.feed-icon {
197 margin-right: 3px
198}
199.feed-icon-h2 {
200 margin-left: 5px;
201 position: relative;
202 top: 2px
203}
4927af92 204.smly {
08d93db6 205 display: inline-block;
4927af92
AB
206 transform: rotate(90deg);
207 margin-left: 0.2em;
08d93db6 208}
4927af92
AB
209.warn {
210 color: #a10029;
08d93db6 211}