projects
/
~bandali
/
bndl.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9998ccd
)
fix some spacing issues
author
Amin Bandali
<bandali@gnu.org>
Wed, 31 Jul 2019 04:00:52 +0000
(
00:00
-0400)
committer
Amin Bandali
<bandali@gnu.org>
Wed, 31 Jul 2019 04:18:44 +0000
(
00:18
-0400)
style.css
patch
|
blob
|
blame
|
history
diff --git
a/style.css
b/style.css
index
9d3f78e
..
c6d59fc
100644
(file)
--- a/
style.css
+++ b/
style.css
@@
-13,9
+13,10
@@
main {
max-width: 38em;
}
max-width: 38em;
}
-
body
> header {
- margin-bottom:
2em !important
;
+
main
> header {
+ margin-bottom:
1em
;
}
}
+
#title {
font-size: 2.1em;
font-weight: normal;
#title {
font-size: 2.1em;
font-weight: normal;
@@
-73,7
+74,8
@@
nav li:last-child:after {
main {
display: grid;
grid-template-columns: auto 38em auto;
main {
display: grid;
grid-template-columns: auto 38em auto;
- grid-gap: 1em;
+ grid-column-gap: 1.5em;
+ grid-row-gap: 1em;
}
main > h3 {
}
main > h3 {
@@
-87,10
+89,10
@@
main > header, main > section {
grid-column: 2;
}
grid-column: 2;
}
-main > h3:first-of-type, section:first-of-type > p, section:first-of-type ul {
+main > h3, ul:first-child {
+ margin-top: 0;
margin-bottom: 0;
}
margin-bottom: 0;
}
-
-main > h3:last-of-type, section:last-of-type > p, section:last-of-type ul {
+p:first-child {
margin-top: 0;
}
margin-top: 0;
}