projects
/
~bandali
/
bndl.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add post-specific copyright years
[~bandali/bndl.org]
/
static
/
style.css
diff --git
a/static/style.css
b/static/style.css
index
ea05296
..
475d41d
100644
(file)
--- a/
static/style.css
+++ b/
static/style.css
@@
-1,4
+1,5
@@
body {
body {
+ /* background: #fffffa; */
font-family: sans-serif;
line-height: 1.6;
padding: 2em;
font-family: sans-serif;
line-height: 1.6;
padding: 2em;
@@
-19,9
+20,14
@@
p {
margin: 1em 0;
}
header {
margin: 1em 0;
}
header {
- font-size: 0.875em;
margin-bottom: 1.5em;
}
margin-bottom: 1.5em;
}
+header >:not(h1) {
+ font-size: 0.875em;
+}
+header > p {
+ margin: 0;
+}
footer {
border-top: 1px solid #bbb;
font-size: 0.84em;
footer {
border-top: 1px solid #bbb;
font-size: 0.84em;
@@
-37,9
+43,6
@@
h1 {
h1 + address {
margin-top: 0.75em;
}
h1 + address {
margin-top: 0.75em;
}
-address + p {
- margin: 0;
-}
h2 {
font-size: 1.25em;
h2 {
font-size: 1.25em;
@@
-49,25
+52,17
@@
h3 {
}
a {
}
a {
- color: #295bad;
- text-decoration: none;
+ color: #004caa;
+ padding: 0.3em 0;
+ text-decoration: underline #ccc;
}
a:hover, a:focus {
}
a:hover, a:focus {
- transition-property: background;
- transition-duration: 0.1s;
- background: #f2f8fa;
- padding: 0.25em 0;
- color: #0745ad;
+ text-decoration: underline #666;
}
a:active {
color: #a10029;
}
a:active {
color: #a10029;
+ outline: 0;
}
}
-/*
-a:active {
- color: #06d;
- box-shadow: 0 1px 1px #ddd;
-}
-*/
h4 {
margin: 0.75em auto;
h4 {
margin: 0.75em auto;
@@
-96,9
+91,18
@@
article h3 {
bottom: 0.05em;
}
bottom: 0.05em;
}
+pre, code {
+ background: #f3f3f3;
+ padding: 1em;
+}
+pre > code {
+ padding: 0;
+ background: initial;
+}
code {
font: 1.15em monospace;
text-transform: none;
code {
font: 1.15em monospace;
text-transform: none;
+ padding: .2em .3em;
}
strong {
font-weight: bold;
}
strong {
font-weight: bold;
@@
-108,7
+112,7
@@
em {
}
table td {
}
table td {
- padding: 0 0.3em;
+ padding: 0
.125em
0.3em;
}
table td:first-child {
padding-left: 0;
}
table td:first-child {
padding-left: 0;
@@
-116,20
+120,41
@@
table td:first-child {
table td:last-child {
padding-right: 0
}
table td:last-child {
padding-right: 0
}
+#notes {
+ margin-top: 0.9em;
+}
+.post-list {
+ width: 100%;
+}
+.post-list tr:hover {
+ background: #fafafa;
+}
+.post-list td {
+ padding: 0.25em 0;
+}
+.post-list td:nth-child(2) {
+ text-align: right;
+}
dt {
margin-bottom: 0.15em;
}
dd {
dt {
margin-bottom: 0.15em;
}
dd {
- font-size: 0.
9
em;
+ font-size: 0.
875
em;
margin-left: 1.5em;
margin-bottom: 0.75em;
}
dd:last-child {
margin-bottom: 1em;
}
margin-left: 1.5em;
margin-bottom: 0.75em;
}
dd:last-child {
margin-bottom: 1em;
}
-.plinks {
- font-size: 0.9em;
+small {
+ font-size: 0.875em;
+}
+.muted {
+ color: #666;
+}
+.inbox {
+ margin-top: 2em;
}
ul, ol {
}
ul, ol {
@@
-148,9
+173,15
@@
ul > li::before {
left: 0.5em;
}
left: 0.5em;
}
-h2 + ul, h
3 + ul, h2 + dl, h3 + dl
{
+h2 + ul, h
2 + dl, h2 + table, h1 + table, pre + h2
{
margin-top: 1em;
}
margin-top: 1em;
}
+table + h2, h2 + h3, ul + h3 {
+ margin-top: 0.7em;
+}
+p + table {
+ margin-top: -0.3em;
+}
sup, sub { font-size: 0.85em; }
sup { vertical-align: super; }
sup, sub { font-size: 0.85em; }
sup { vertical-align: super; }