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 {
|
ol, ul {
|
||||||
list-style: disc;
|
|
||||||
li {
|
li {
|
||||||
margin-bottom: 0.4rem;
|
margin-bottom: 0.4rem;
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
|
@ -42,6 +41,10 @@ ol, ul {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: disc;
|
||||||
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background-color: var(--color-black);
|
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 {
|
pre {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
@ -77,7 +87,9 @@ pre {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
font-family: var(--font--mono);
|
font-family: var(--font--mono);
|
||||||
code {
|
code {
|
||||||
font-family: var(--font--mono);
|
padding: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue