1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +00:00

Style more things and split hr from footer

This commit is contained in:
RGBCube 2024-03-04 14:59:32 +03:00
parent 5180fc70bd
commit 67d5fa028e
No known key found for this signature in database

View file

@ -135,6 +135,7 @@ layout: base.vto
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
.hljs-attr { color: lightblue; } .hljs-attr { color: lightblue; }
.hljs-built_in { color: firebrick; }
.hljs-keyword { color: firebrick; } .hljs-keyword { color: firebrick; }
.hljs-number { color: mediumslateblue; } .hljs-number { color: mediumslateblue; }
.hljs-string { color: limegreen; } .hljs-string { color: limegreen; }
@ -143,7 +144,8 @@ layout: base.vto
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
.hljs-attr { color: dodgerblue; } .hljs-attr { color: darkblue; }
.hljs-built_in { color: darkred; }
.hljs-keyword { color: darkred; } .hljs-keyword { color: darkred; }
.hljs-number { color: darkslateblue; } .hljs-number { color: darkslateblue; }
.hljs-string { color: darkgreen; } .hljs-string { color: darkgreen; }
@ -152,9 +154,11 @@ layout: base.vto
} }
/* The end */ /* The end */
footer { hr {
border-top: 0.15rem solid var(--foreground); border: 0.15rem solid var(--foreground);
}
footer {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -177,5 +181,6 @@ layout: base.vto
{{ content }} {{ content }}
<hr>
<footer>Copyright {{ new Date().getFullYear() }} © RGBCube</footer> <footer>Copyright {{ new Date().getFullYear() }} © RGBCube</footer>
</div> </div>