Rewrote colors to use variables

This commit is contained in:
Firq 2023-03-05 21:58:01 +01:00
parent f53cc0b31a
commit e5669d33ab
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
16 changed files with 34 additions and 58 deletions
src/components

View file

@ -19,8 +19,8 @@ const icon: string = `background: url('/fgosite/ta_icons/${image}.webp')`
<style>
article {
background-color: rgb(27, 27, 27);
border-color: #1e1e1e;
background-color: var(--c-darkergray);
border-color: var(--c-darkgray);
padding: 10px;
text-align: center;
transition: transform var(--speed) var(--ease);
@ -40,7 +40,7 @@ article > div {
article:hover h2 {
color: white;
background-color: #1e1e1e;
background-color: var(--c-darkgray);
font-size: 18px;
display: inline-block;
vertical-align: bottom;