various updates
[~bandali/bndl.org] / static / style.css
... / ...
CommitLineData
1body {
2 /* background: #fffffa; */
3 font-family: sans-serif;
4 line-height: 1.6;
5 padding: 2em;
6}
7
8header, nav, main, footer {
9 margin: auto;
10 max-width: 38rem;
11}
12
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;
30}
31nav li + li {
32 margin-left: 0.5em;
33}
34nav a {
35 color: #333;
36}
37nav, main {
38 margin-bottom: 1.5em;
39}
40header >:not(h1) {
41 font-size: 0.875em;
42}
43header > h1 + p {
44 margin-top: -1em;
45}
46footer {
47 border-top: 1px solid #bbb;
48 font-size: 0.84em;
49 padding-top: 1em;
50}
51footer p {
52 margin: 0;
53}
54
55h1 {
56 font-size: 1.5em;
57}
58h2 {
59 font-size: 1.25em;
60}
61h3 {
62 font-size: 1.125em;
63}
64
65a {
66 color: #036;
67}
68/*
69a:hover, a:focus {
70 color: #005a6a;
71}
72*/
73a:active {
74 outline-offset: 2px;
75}
76
77h4 {
78 margin: 0.75em auto;
79}
80
81article h3 {
82 font-weight: normal;
83 color: #777;
84}
85
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
104.center-text {
105 text-align: center;
106}
107
108sup, sub {
109 position: relative;
110 top: -0.4em;
111 vertical-align: baseline;
112}
113sub {
114 top: 0.4em;
115}
116
117blockquote#abstract {
118 font-size: 0.95em;
119 text-align: justify;
120}
121
122pre, code {
123 background: #f6f6f6;
124 font: 1.15em monospace;
125}
126pre {
127 display: inline-block;
128 margin: 0.5em 0;
129 min-width: 100%;
130 padding: 1em;
131}
132pre:first-of-type {
133 margin-top: 0;
134}
135pre > code {
136 padding: 0;
137 background: initial;
138}
139code {
140 text-transform: none;
141 padding: .2em .3em;
142}
143strong {
144 font-weight: bold;
145}
146em {
147 font-style: italic;
148}
149
150table td {
151 padding: 0.125em 0.3em;
152}
153#publications td {
154 padding-top: 0.4em;
155 padding-bottom: 0.4em;
156}
157table td:first-child {
158 padding-left: 0;
159}
160table td:last-child {
161 padding-right: 0
162}
163#notes {
164 margin-top: 0.9em;
165}
166.post-list {
167 width: 100%;
168}
169.post-list tr:hover {
170 background: #fafafa;
171}
172.post-list td {
173 padding: 0.25em 0;
174}
175.post-list td:nth-child(2) {
176 text-align: right;
177}
178
179small, dd, .small, .bibtexnumber, .bibtexitem, .bibtex2html {
180 font-size: 0.875em;
181}
182.muted {
183 color: #666;
184}
185.inbox, .bibtex2html {
186 margin-top: 2em;
187}
188.justify {
189 text-align: justify;
190}
191
192li, dd {
193 margin-bottom: 0.25em;
194}
195
196.feed-icon {
197 margin-right: 3px
198}
199.feed-icon-h2 {
200 margin-left: 5px;
201 position: relative;
202 top: 2px
203}
204.smly {
205 display: inline-block;
206 transform: rotate(90deg);
207 margin-left: 0.2em;
208}
209.warn {
210 color: #a10029;
211}