mirror of
https://github.com/xtzws/isaac.run.git
synced 2025-12-16 21:10:32 +01:00
Added badges to footer, updated CSP to allow that, and added dark-mode media query (yay!)
This commit is contained in:
parent
aa1e764164
commit
81b63f6b9b
3 changed files with 64 additions and 3 deletions
|
|
@ -12,6 +12,11 @@
|
|||
--isaac-red: #C52947;
|
||||
--minimal-background: antiqueWhite;
|
||||
--lec-brown: rgb(81, 52, 36);
|
||||
|
||||
--evil-blue: #011222;
|
||||
--evil-lightblue: #97C9D7;
|
||||
--evil-red: #9D1735;
|
||||
--evil-ferrariblue: #85C9FF;
|
||||
}
|
||||
|
||||
::selection {
|
||||
|
|
@ -72,6 +77,7 @@ tr:hover {background-color: var(--logy-lightblue);}
|
|||
|
||||
p {
|
||||
font-weight: 450;
|
||||
line-height: 1.5;
|
||||
margin-block: 1lh;
|
||||
}
|
||||
|
||||
|
|
@ -89,6 +95,7 @@ a {
|
|||
max-width: 31px;
|
||||
display: block;
|
||||
margin-inline: auto;
|
||||
margin-top: 1em;
|
||||
margin-block-end: -1lh;
|
||||
}
|
||||
.clmain {
|
||||
|
|
@ -110,3 +117,31 @@ mark {
|
|||
hr {
|
||||
border: 1px solid var(--lec-brown);
|
||||
}
|
||||
|
||||
.badges img {
|
||||
image-rendering: pixelated;
|
||||
width: 88px;
|
||||
height: 31px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.badges {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
gap: 4px
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
background-color: var(--evil-blue);
|
||||
color: var(--evil-lightblue);
|
||||
}
|
||||
hr {
|
||||
border: 1px solid var(--evil-lightblue);
|
||||
}
|
||||
a {color: var(--logy-lightblue);}
|
||||
h1,h3 {text-decoration-color: var(--evil-red);}
|
||||
h2 {text-decoration-color: var(--evil-ferrariblue);}
|
||||
::selection {color: var(--evil-blue);}
|
||||
mark {color: var(--evil-blue);}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue