From 8ce31d0df63bc76c91e55ab40d0fc80de74a9f04 Mon Sep 17 00:00:00 2001 From: dabikers' admin Date: Tue, 2 Jan 2024 20:11:25 -0600 Subject: Create new color palate, make links pretty in nopiracy --- css/base.css | 28 +++++++++++++++++++++++----- css/nopiracy.css | 26 ++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 5 deletions(-) (limited to 'css') diff --git a/css/base.css b/css/base.css index 15597d2..475785e 100644 --- a/css/base.css +++ b/css/base.css @@ -20,6 +20,16 @@ :root { --bheight: 3vw; + + --cblack: #000000; + --cwhite: #ffffff; + --cgray: #312f2b; + + /* Color palate for the site */ + --cebony: #2e2920; + --ctaupe: #e9e6e2; + --corange: #f9c070; + --ctan: #8e4c30; } * { @@ -27,6 +37,11 @@ margin: 0; } +body { + background-color: var(--cgray); + color: var(--ctaupe); +} + li { list-style-type: '- '; } @@ -38,6 +53,10 @@ ul { padding-right: 2vw; } /* Looks good for the links */ +a { + color: var(--corange); +} + .vertcontain { display: flex; flex-flow: column nowrap; @@ -50,7 +69,6 @@ ul { padding: 1vw; margin: 1vw; margin-bottom: 5vw; /* Not knowing about this was fucking annoying */ - } #top-bar { @@ -65,8 +83,8 @@ ul { height: 5vw; - background-color: black; - color: white; + background-color: var(--cblack); + color: var(--cwhite); position: -webkit-sticky; position: sticky; @@ -105,8 +123,8 @@ ul { position: fixed; bottom: 0; - background-color: black; - color: white; + background-color: var(--cblack); + color: var(--cwhite); list-style-type: none; diff --git a/css/nopiracy.css b/css/nopiracy.css index 58db5c8..f328fa4 100644 --- a/css/nopiracy.css +++ b/css/nopiracy.css @@ -1,3 +1,29 @@ +:root { + --conions: #9c47c7; + --ci2p: #ffc434; + --cwarning: rgb(255, 0, 0); +} + +li a.tor::before, li a.i2p::before, li a.bad::before { + content: "["; +} + +li a.tor::after, li a.i2p::after, li a.bad::after { + content: "]" +} + +a.tor { + color: var(--conions); +} + +a.i2p { + color: var(--ci2p); +} + +a.bad { + color: var(--cwarning); +} + .sbscontainer { display: flex; flex-direction: row; -- cgit v1.2.3