theme: style: unify styling of headings
parent
9b018b559d
commit
48dd6cbabc
|
@ -80,6 +80,32 @@ body {
|
|||
margin-left: calc(100% - 40px);
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
h1, h2, h3, h4, h5 {
|
||||
margin: 0 0 0.5em 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Sidebar */
|
||||
.sidebar {
|
||||
float: left;
|
||||
|
@ -190,12 +216,6 @@ body {
|
|||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.post-list .post h1 {
|
||||
font-size: 1.2em;
|
||||
margin: 0 0 0.5em 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.post-list .post h1 a {
|
||||
color: inherit;
|
||||
transition: color 0.2s ease-in-out;
|
||||
|
|
Loading…
Reference in New Issue