Update style

This commit is contained in:
ef3d0c3e 2024-08-28 15:08:09 +02:00
parent 1cd0e2ffc4
commit 1f9044baf6

View file

@ -137,11 +137,55 @@ a.inline-code {
content: ""; content: "";
} }
/* TOC */
.toc {
margin: auto;
margin-top: 1.8em;
width: 85%;
padding: 0.5em;
background-color: #1f1f1f;
}
.toc a {
text-decoration: none;
color: #0ff08b;
}
.toc ol {
margin: 0;
padding-left: 1.1em;
}
.toc span {
display: flex;
justify-content: center;
}
/* Sections */ /* Sections */
a.section-link { a.section-link {
display: none;
text-decoration: none; text-decoration: none;
} }
h1:hover a.section-link {
display: inline;
}
h2:hover a.section-link {
display: inline;
}
h3:hover a.section-link {
display: inline;
}
h4:hover a.section-link {
display: inline;
}
h5:hover a.section-link {
display: inline;
}
h6:hover a.section-link {
display: inline;
}
/* Code blocks */ /* Code blocks */
div.code-block-title { div.code-block-title {
background-color: #20202a; background-color: #20202a;