Change the style slightly

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-09-02 15:07:30 +02:00
parent 21be1af971
commit ce07f9465f
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -28,7 +28,7 @@ ul {
code { code {
background-color: #eee; background-color: #eee;
border: 0.01rem solid #999; border: 1px solid #999;
padding: 0rem 0.1rem 0rem 0.1rem; padding: 0rem 0.1rem 0rem 0.1rem;
} }
@ -49,11 +49,19 @@ blockquote {
font-family: "Ubuntu Mono"; font-family: "Ubuntu Mono";
} }
pre { .note {
background-color: #eee; background-color: #eee;
border: 1px solid #999; border: 1px solid #999;
display: block; display: block;
padding: 0.5rem; padding: 0.5rem;
}
pre {
background-color: #111;
color: #fff;
border: 1px solid #999;
display: block;
padding: 0.5rem;
font-family: "Ubuntu Mono"; font-family: "Ubuntu Mono";
overflow-x: auto; overflow-x: auto;
@ -62,6 +70,7 @@ pre {
#table-of-contents { #table-of-contents {
position: sticky; position: sticky;
top: 0; top: 0;
padding-top: 0.5rem;
} }
#content :is(h1, h2, h3, h4, h5, h6) { #content :is(h1, h2, h3, h4, h5, h6) {
@ -77,10 +86,6 @@ pre {
color: black; color: black;
} }
#content.textual {
margin: 0.5rem 0 0 0;
}
#organizer { #organizer {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -94,7 +99,7 @@ pre {
.sidebar { .sidebar {
flex-basis: auto; flex-basis: auto;
padding: 0 0.5rem 0 0.5rem; padding: 0.5rem 0.5rem 0 0.5rem;
} }
@media only screen and (orientation: landscape) { @media only screen and (orientation: landscape) {
@ -104,6 +109,7 @@ pre {
#content { #content {
flex-basis: 80%; flex-basis: 80%;
margin: 0 0 0 0;
} }
.sidebar { .sidebar {
@ -111,6 +117,10 @@ pre {
} }
} }
#content.textual {
margin: 0.5rem 2rem 0 2rem;
}
.card-toplevel { .card-toplevel {
display: flex; display: flex;
flex-direction: column; flex-direction: column;