Refined styling for better readability

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-03-18 23:39:11 +01:00
parent abb4c3b6b8
commit c4f4986fe4

View File

@ -43,9 +43,15 @@ body {
font-size: 16px;
}
p {
p, ul {
margin-top: 10px;
line-height: 1.5em;
line-height: 1.55em;
}
li > ul {
margin-top: 0;
margin-left: 15px;
list-style-type: circle;
}
img {
@ -95,8 +101,13 @@ nav > a:not(#home_link) {
h1, h2, h3, h4, h5, h6 {
font-family: 'JetBrains Mono', sans-serif;
font-weight: bold;
margin-top: 10px;
margin-bottom: 5px;
margin-top: 20px;
margin-bottom: 10px;
}
ul {
list-style: disc;
list-style-position: inside;
}
h1 {
@ -137,6 +148,7 @@ em, i {
footer {
font-size: 14px;
margin-bottom: 100px;
}
pre {
@ -148,14 +160,15 @@ pre > code {
padding: 10px;
display: inline-block;
width: 100%;
overflow: auto;
line-height: 1.35em;
}
code {
padding: 5px;
padding: 2px 5px 2px 5px;
border-radius: 5px;
background-color: var(--light_bg);
font-family: 'IBM Plex Mono', monospace;
line-height: 1.2em;
}
@media screen and (max-width: 992px) {