mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
CSS: Improve formatting of list elements
This commit is contained in:
@@ -169,6 +169,10 @@ a.anchorjs-link:hover {
|
|||||||
margin-bottom: .2rem;
|
margin-bottom: .2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#toc-aside li, #toc-inline li {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
aside#all-posts-link {
|
aside#all-posts-link {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
|
|||||||
@@ -111,6 +111,14 @@ ul, ol, dl {
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin-top: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li > ul > li:first-child {
|
||||||
|
margin-top: .2rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* Nested lists */
|
/* Nested lists */
|
||||||
li ul, li ol, li dl {
|
li ul, li ol, li dl {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user