revamp the website
[~bandali/bndl.org] / static / style.css
CommitLineData
cb742bb6 1body {
29f0d7b9
AB
2 background: #d9d8d1;
3 font: 18px/1.6 sans-serif;
4 margin: 0;
ef72be3e
AB
5}
6
29f0d7b9
AB
7body > header, body > nav, main, body > footer {
8 padding: 0 2em;
9998ccd0
AB
9}
10
4927af92 11body > header {
29f0d7b9 12 padding-top: 1em;
4927af92
AB
13}
14body > header h1 {
15 margin: 0;
29f0d7b9 16 font-size: 1em;
4927af92
AB
17}
18header a {
19 color: inherit;
20}
29f0d7b9
AB
21nav {
22 margin-bottom: 1em;
23}
4927af92
AB
24nav ul {
25 margin: 0;
26 padding: 0;
27}
28nav li {
29 display: inline;
30 text-transform: lowercase;
ef72be3e 31}
4927af92
AB
32nav li + li {
33 margin-left: 0.5em;
85314da0 34}
4927af92
AB
35nav a {
36 color: #333;
85314da0 37}
29f0d7b9
AB
38main {
39 background: #ebeae4;
40 padding-top: 1em;
41 padding-bottom: 1em;
ff620ce6 42}
29f0d7b9 43article header >:not(h1) {
60d388df
AB
44 font-size: 0.875em;
45}
4927af92
AB
46header > h1 + p {
47 margin-top: -1em;
2527e234 48}
ff620ce6 49footer {
85314da0 50 font-size: 0.84em;
29f0d7b9 51 margin-left: 0.4em;
ef72be3e 52}
29f0d7b9
AB
53
54main > * {
55 max-width: 43rem;
cb742bb6 56}
ff620ce6 57
ff620ce6
AB
58h1 {
59 font-size: 1.5em;
b7583bc7 60}
85314da0
AB
61h2 {
62 font-size: 1.25em;
63}
64h3 {
65 font-size: 1.125em;
cb742bb6 66}
ef72be3e
AB
67
68a {
4927af92 69 color: #036;
ff620ce6 70}
4927af92 71/*
ff620ce6 72a:hover, a:focus {
4927af92 73 color: #005a6a;
ff620ce6 74}
4927af92 75*/
ff620ce6 76a:active {
4927af92 77 outline-offset: 2px;
ff620ce6 78}
29f0d7b9
AB
79a.permalink {
80 color: #ddd;
81 font: 1.2em/1 "TeX Gyre Termes", serif;
82 text-decoration: none;
83 transition: color 150ms linear;
84 user-select: none;
85}
86a.permalink:hover, :hover > a.permalink, :target a.permalink {
87 color: #999;
88 transition: color 150ms linear;
cb742bb6 89}
ef72be3e
AB
90
91article h3 {
92 font-weight: normal;
cb742bb6 93 color: #777;
ef72be3e
AB
94}
95
ff620ce6
AB
96.notice {
97 background-color: #efefef;
98 text-align: center;
99 position: relative;
100}
101.notice::before {
102 content: "↪";
103 position: absolute;
104 left: 0.5em;
105 bottom: 0.05em;
106}
107.notice::after {
108 content: "↩";
109 position: absolute;
110 right: 0.5em;
111 bottom: 0.05em;
112}
113
573bd43b 114.center {
eb1aab37
AB
115 text-align: center;
116}
573bd43b
AB
117.justify {
118 text-align: justify;
119}
120
121details {
122 margin: 1em 0;
123 padding: 0.5em;
124}
125details summary {
126 cursor: pointer;
127}
eb1aab37 128
ea39cfbe
AB
129sup, sub {
130 position: relative;
131 top: -0.4em;
132 vertical-align: baseline;
133}
134sub {
135 top: 0.4em;
136}
137
fcc5b13a
AB
138/* TeX logos */
139.t-logo {
140 font-family: "Tex Gyre Termes", serif;
141 /* letter-spacing: 1px; */
142 white-space: nowrap;
143}
144.t-logo sup {
145 font-size: 0.85em;
146 letter-spacing: 1px;
147 margin-left: -0.36em;
148 margin-right: -0.15em;
149 text-transform: uppercase;
150 vertical-align: 0.15em;
151 top: 0;
152}
153.t-logo sub {
154 font-size: 1em;
155 margin-left: -0.1667em;
156 margin-right: -0.125em;
157 text-transform: uppercase;
158 vertical-align: -0.5ex;
159 top: 0;
160}
161
eb1aab37
AB
162blockquote#abstract {
163 font-size: 0.95em;
164 text-align: justify;
165}
166
842b89b2
AB
167pre {
168 display: inline-block;
169 margin: 0.5em 0;
170 min-width: 100%;
dd631811
AB
171 padding: 1em;
172}
173pre > code {
174 padding: 0;
175 background: initial;
176}
ef72be3e 177code {
127617a6 178 text-transform: none;
dd631811 179 padding: .2em .3em;
ef72be3e 180}
29f0d7b9
AB
181pre, code {
182 font-size: smaller;
183}
573bd43b
AB
184
185/* box effect */
c867ac90 186.box, details, pre, code {
29f0d7b9 187 background-color: #f4f4f4;
573bd43b
AB
188 border: 1px solid #e6e6e6;
189 border-radius: 4px;
190 box-sizing: border-box;
85314da0 191}
573bd43b
AB
192details pre {
193 border: none;
85314da0 194}
c867ac90
AB
195p.box {
196 font-size: 0.95em;
29f0d7b9 197 padding: 0.6em 0.9em;
c867ac90 198}
ef72be3e
AB
199
200table td {
f9e7c277 201 padding: 0.125em 0.3em;
ef72be3e 202}
842b89b2 203#publications td {
8c1ba2f2
AB
204 padding-top: 0.4em;
205 padding-bottom: 0.4em;
206}
ef72be3e
AB
207table td:first-child {
208 padding-left: 0;
209}
210table td:last-child {
211 padding-right: 0
212}
60d388df
AB
213.post-list {
214 width: 100%;
215}
e810d7d1 216.post-list tr:hover {
29f0d7b9 217 background: #efefe8;
e810d7d1 218}
7c12f0da 219.post-list td {
f9e7c277 220 padding: 0.25em 0;
7c12f0da 221}
60d388df
AB
222.post-list td:nth-child(2) {
223 text-align: right;
224}
ef72be3e 225
8c1ba2f2 226small, dd, .small, .bibtexnumber, .bibtexitem, .bibtex2html {
60d388df 227 font-size: 0.875em;
e080516c 228}
90169139
AB
229.muted {
230 color: #666;
231}
8c1ba2f2 232.inbox, .bibtex2html {
90169139
AB
233 margin-top: 2em;
234}
ff620ce6 235
4927af92 236li, dd {
ff620ce6
AB
237 margin-bottom: 0.25em;
238}
239
08d93db6 240.feed-icon {
29f0d7b9
AB
241 background-image: url(feed-12x12.png);
242 background-position: center right;
243 background-repeat: no-repeat;
244 padding-right: 15px;
08d93db6 245}
4927af92 246.smly {
08d93db6 247 display: inline-block;
4927af92
AB
248 transform: rotate(90deg);
249 margin-left: 0.2em;
08d93db6 250}
4927af92
AB
251.warn {
252 color: #a10029;
08d93db6 253}
2ff75a66
AB
254
255#bandali-bib > a {
256 display: block
257}