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 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2.125rem;
|
||||
margin-bottom: 1.125rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
@ -131,17 +133,14 @@ h5 {
|
|||
|
||||
h6 {
|
||||
font-size: 1.3rem;
|
||||
bottom-padding: 2rem;
|
||||
}
|
||||
|
||||
h7 {
|
||||
font-size: 1.25rem;
|
||||
bottom-padding: 2rem;
|
||||
}
|
||||
|
||||
h8 {
|
||||
font-size: 1.2rem;
|
||||
bottom-padding: 2rem;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
|
@ -150,24 +149,32 @@ blockquote {
|
|||
overflow-x: auto;
|
||||
}
|
||||
|
||||
p, ul, ol, li, table {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: calc( 1rem + 1ex );
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 0.2rem;
|
||||
table {
|
||||
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 {
|
||||
margin-top: 0.625rem;
|
||||
margin-top: 0.25ex;
|
||||
}
|
||||
|
||||
ul, ol, table {
|
||||
margin-bottom: calc( 0.5rem + 0.5ex );
|
||||
li {
|
||||
margin-top: 0.5ex;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
p, ul, ol, dl, table {
|
||||
|
|
Loading…
Reference in New Issue