Make <pre> the same colour as other text

This commit is contained in:
madison 2026-04-13 14:14:15 +01:00
parent c0b8cef3af
commit 4879d3bdf5

View file

@ -12,9 +12,10 @@
--colour-s: rgb(255, 153, 255); --colour-s: rgb(255, 153, 255);
--colour-sbg: rgba(102, 0, 102, 0.3); --colour-sbg: rgba(102, 0, 102, 0.3);
--colour-sbga: rgba(255, 153, 255, 0.3); --colour-sbga: rgba(255, 153, 255, 0.3);
--colour-text: mistyrose;
} }
body { body {
color: mistyrose; color: var(--colour-text);
font-family: 'Courier New'; font-family: 'Courier New';
margin-left: 20%; margin-left: 20%;
margin-right: 20%; margin-right: 20%;
@ -82,7 +83,7 @@ ul.inline li {
display: inline-block; display: inline-block;
} }
pre { pre {
color: white; color: var(--colour-text);
font-family: 'Courier New'; font-family: 'Courier New';
} }
.centred-text { .centred-text {