projects
/
~bandali
/
bndl.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a few tweaks
[~bandali/bndl.org]
/
static
/
style.css
diff --git
a/static/style.css
b/static/style.css
index
30caa64
..
8d43f66
100644
(file)
--- a/
static/style.css
+++ b/
static/style.css
@@
-5,26
+5,44
@@
body {
padding: 2em;
}
padding: 2em;
}
-nav, main, footer {
+
header,
nav, main, footer {
margin: auto;
max-width: 38rem;
}
margin: auto;
max-width: 38rem;
}
-nav {
- font-size: 0.84em;
+body > header {
+ margin-bottom: 0.25em;
+}
+body > header h1 {
+ margin: 0;
+ font-size: 100%;
+}
+header a {
+ color: inherit;
}
}
-main {
- margin-bottom: 2em;
+nav ul {
+ margin: 0;
+ padding: 0;
+}
+nav li {
+ display: inline;
+ text-transform: lowercase;
+}
+nav li + li {
+ margin-left: 0.5em;
}
}
-
p
{
-
margin: 1em 0
;
+
nav a
{
+
color: #333
;
}
}
-
header
{
+
nav, main
{
margin-bottom: 1.5em;
}
header >:not(h1) {
font-size: 0.875em;
}
margin-bottom: 1.5em;
}
header >:not(h1) {
font-size: 0.875em;
}
+header > h1 + p {
+ margin-top: -1em;
+}
footer {
border-top: 1px solid #bbb;
font-size: 0.84em;
footer {
border-top: 1px solid #bbb;
font-size: 0.84em;
@@
-37,13
+55,6
@@
footer p {
h1 {
font-size: 1.5em;
}
h1 {
font-size: 1.5em;
}
-h1 + address {
- margin-top: 0.75em;
-}
-address + p {
- margin: 0;
-}
-
h2 {
font-size: 1.25em;
}
h2 {
font-size: 1.25em;
}
@@
-52,25
+63,16
@@
h3 {
}
a {
}
a {
- color: #006cdc;
- padding: 0.3em 0;
- text-decoration: none;
+ color: #036;
}
}
+/*
a:hover, a:focus {
a:hover, a:focus {
- transition-property: background;
- transition-duration: 0.1s;
- background: #f2f8fa;
- color: #0054c0; /* #003ea4 */
-}
-a:active {
- color: #a10029;
+ color: #005a6a;
}
}
-/*
+*/
a:active {
a:active {
- color: #06d;
- box-shadow: 0 1px 1px #ddd;
+ outline-offset: 2px;
}
}
-*/
h4 {
margin: 0.75em auto;
h4 {
margin: 0.75em auto;
@@
-99,9
+101,18
@@
article h3 {
bottom: 0.05em;
}
bottom: 0.05em;
}
-code {
+pre, code {
+ background: #f6f6f6;
font: 1.15em monospace;
font: 1.15em monospace;
+ padding: 1em;
+}
+pre > code {
+ padding: 0;
+ background: initial;
+}
+code {
text-transform: none;
text-transform: none;
+ padding: .2em .3em;
}
strong {
font-weight: bold;
}
strong {
font-weight: bold;
@@
-111,7
+122,7
@@
em {
}
table td {
}
table td {
- padding: 0.
3em 0
;
+ padding: 0.
125em 0.3em
;
}
table td:first-child {
padding-left: 0;
}
table td:first-child {
padding-left: 0;
@@
-119,28
+130,23
@@
table td:first-child {
table td:last-child {
padding-right: 0
}
table td:last-child {
padding-right: 0
}
-
tbody tr:hover
{
- background: #f2f8fa; /* #f6f6f6; */
+
#notes
{
+ margin-top: 0.9em;
}
.post-list {
width: 100%;
}
}
.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;
}
.post-list td:nth-child(2) {
text-align: right;
}
-dt {
- margin-bottom: 0.15em;
-}
-dd {
- font-size: 0.875em;
- margin-left: 1.5em;
- margin-bottom: 0.75em;
-}
-dd:last-child {
- margin-bottom: 1em;
-}
-small {
+small, dd {
font-size: 0.875em;
}
.muted {
font-size: 0.875em;
}
.muted {
@@
-150,29
+156,23
@@
small {
margin-top: 2em;
}
margin-top: 2em;
}
-ul, ol {
- list-style: none;
- padding-left: 1.5em;
- position: relative;
-}
-
-li {
+li, dd {
margin-bottom: 0.25em;
}
margin-bottom: 0.25em;
}
-ul > li::before {
- content: '•';
- position: absolute;
- left: 0.5em;
+.feed-icon {
+ margin-right: 3px
}
}
-
-h2 + ul, h2 + dl, h2 + table {
- margin-top: 1em;
+.feed-icon-h2 {
+ margin-left: 5px;
+ position: relative;
+ top: 2px
}
}
-h2 + .post-list {
- margin-top: 0.7em;
+.smly {
+ display: inline-block;
+ transform: rotate(90deg);
+ margin-left: 0.2em;
+}
+.warn {
+ color: #a10029;
}
}
-
-sup, sub { font-size: 0.85em; }
-sup { vertical-align: super; }
-sub { vertical-align: sub; }