Improve display of code and quotes

This commit is contained in:
Gabriel Augendre 2020-12-24 12:50:25 +01:00
parent c6b6002ee8
commit 8bf3438746
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -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);