Update styles

- Fix style that affected `ol` and `ul` tags when only `ul` should have
been targeted.
- Added style for `code` outside of `pre`.
This commit is contained in:
Foster Hangdaan 2023-08-02 20:44:01 -04:00
parent 9176cc8312
commit db36f9cc7c
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -33,7 +33,6 @@ img {
}
ol, ul {
list-style: disc;
li {
margin-bottom: 0.4rem;
&:last-of-type {
@ -42,6 +41,10 @@ ol, ul {
}
}
ul {
list-style: disc;
}
hr {
height: 1px;
background-color: var(--color-black);
@ -67,6 +70,13 @@ section {
}
}
code {
padding: 0.1em 0.3em;
border-radius: 3px;
background-color: var(--color-bg--layer-01);
font-family: var(--font--mono);
}
pre {
padding: 1rem;
border-radius: 5px;
@ -77,7 +87,9 @@ pre {
word-wrap: break-word;
font-family: var(--font--mono);
code {
font-family: var(--font--mono);
padding: 0;
border-radius: 0;
background-color: transparent;
}
}