fix: use the right colors (overlay / surface) for the right usage

This commit is contained in:
Alexis Fourmaux 2025-05-13 17:53:24 +02:00
parent 7ecc381930
commit b39e61b474

View file

@ -28,7 +28,7 @@ article {
section { section {
&.title { &.title {
border-bottom-width: 1px; border-bottom-width: 1px;
border-bottom-color: var(--surface0); border-bottom-color: var(--overlay0);
border-bottom-style: solid; border-bottom-style: solid;
&>h1.title { &>h1.title {
@ -148,7 +148,7 @@ pre {
padding: 1.25rem; padding: 1.25rem;
border-radius: var(--standard-border-radius); border-radius: var(--standard-border-radius);
border-style: solid; border-style: solid;
border-color: var(--surface0); border-color: var(--overlay0);
border-width: 0.15rem; border-width: 0.15rem;
line-height: initial; line-height: initial;
overflow-x: scroll; overflow-x: scroll;
@ -185,14 +185,14 @@ th {
padding: 1rem 1.5rem; padding: 1rem 1.5rem;
border-style: solid; border-style: solid;
border-width: .1rem; border-width: .1rem;
border-color: var(--surface0); border-color: var(--overlay0);
text-align: start; text-align: start;
} }
th { th {
background-color: var(--base); background-color: var(--base);
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: medium;
font-size: small; font-size: small;
border: none border: none
} }
@ -230,11 +230,11 @@ tr:last-child>td {
} }
tr:nth-child(even) td { tr:nth-child(even) td {
background-color: var(--mantle); background-color: var(--surface0);
} }
hr { hr {
color: var(--surface0); color: var(--overlay0);
margin-top: 3rem; margin-top: 3rem;
margin-bottom: 3rem; margin-bottom: 3rem;
width: 50%; width: 50%;
@ -288,7 +288,7 @@ footer.footnotes {
font-size: .8rem; font-size: .8rem;
color: var(--subtext1); color: var(--subtext1);
margin-top: 3rem; margin-top: 3rem;
border-top: 1px solid var(--surface0); border-top: 1px solid var(--overlay0);
&>ol.footnotes-list>li { &>ol.footnotes-list>li {
margin-top: 1rem; margin-top: 1rem;