Improve display of code and quotes
This commit is contained in:
parent
c6b6002ee8
commit
8bf3438746
1 changed files with 25 additions and 1 deletions
|
@ -102,10 +102,12 @@ code {
|
|||
.codehilite {
|
||||
border-radius: .5ex;
|
||||
background-color: var(--background2);
|
||||
border: 1px solid var(--background3);
|
||||
}
|
||||
|
||||
.codehilite pre {
|
||||
padding: 1em;
|
||||
padding: 0;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
section.comments {
|
||||
|
@ -152,6 +154,28 @@ tr:hover {
|
|||
vertical-align: 15%;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background-color: var(--background2);
|
||||
margin: 0;
|
||||
padding: 1px .5em 1px 1.5em;
|
||||
border-left: 6px solid var(--background3);
|
||||
}
|
||||
|
||||
details {
|
||||
padding: .6rem 1rem;
|
||||
background: var(--background2);
|
||||
border: 1px solid var(--background3);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
details .codehilite {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* FORMS */
|
||||
.helptext {
|
||||
color: var(--main3);
|
||||
|
|
Reference in a new issue