mirror of https://github.com/zcash/zips.git
CSS vertical spacing tweaks.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
afd297c243
commit
2a6e5ae9e7
|
@ -103,10 +103,12 @@ h5, h6, h7, h8 {
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 2.125rem;
|
font-size: 2.125rem;
|
||||||
|
margin-bottom: 1.125rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
|
@ -131,17 +133,14 @@ h5 {
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
bottom-padding: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h7 {
|
h7 {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
bottom-padding: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h8 {
|
h8 {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
bottom-padding: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
@ -150,24 +149,32 @@ blockquote {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
p, ul, ol, li, table {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: 1rem;
|
margin-top: 0;
|
||||||
|
margin-bottom: calc( 1rem + 1ex );
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
table {
|
||||||
margin-bottom: 0.2rem;
|
margin-top: 0.5rem;
|
||||||
|
margin-bottom: calc( 1rem + 1ex );
|
||||||
|
}
|
||||||
|
|
||||||
|
ul, ol {
|
||||||
|
margin-top: -0.4rem;
|
||||||
|
margin-bottom: calc( 0.5rem + 1ex );
|
||||||
|
}
|
||||||
|
|
||||||
|
li ol {
|
||||||
|
margin-top: 0.25ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul {
|
li ul {
|
||||||
margin-top: 0.625rem;
|
margin-top: 0.25ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul, ol, table {
|
li {
|
||||||
margin-bottom: calc( 0.5rem + 0.5ex );
|
margin-top: 0.5ex;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
p, ul, ol, dl, table {
|
p, ul, ol, dl, table {
|
||||||
|
|
Loading…
Reference in New Issue