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:
parent
9176cc8312
commit
db36f9cc7c
1 changed files with 14 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue