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