The old Pelican theme I used to use for mcol.xyz
git clone https://mcol.xyz/code/rice-theme
Log | Files | Refs | README

commit 3435c82f8d89d25b19391c362b0008822d834a27
parent 72efee194a13d4e12ede9c6d34e3109e19b415c9
Author: mcol <mcol@posteo.net>
Date:   Sun,  2 Aug 2020 12:40:18 +0100

adjust some link and text colors

Diffstat:
Mstatic/css/main.css | 52+++++++++++++++++++++++++++++++++++++---------------
1 file changed, 37 insertions(+), 15 deletions(-)

diff --git a/static/css/main.css b/static/css/main.css @@ -5,8 +5,9 @@ /* all colours are defined here */ :root { - --bg:#efebf4; /* purply white */ - --bg2:#f4f4f4; /* dark white */ + /*--bg:#efebf4; /* purply white */ + --bg:#f6f2f8; + --bg2:#f2f0f3; --text:#6e606c; /* grey */ --text2:#5D479D; /* purple */ @@ -25,8 +26,13 @@ zoom:1.0; } +@font-face { + font-family: lato; + src: url(/theme/webfonts/Lato-Regular.ttf); +} + body { - font-size: 1.4em; + font-size: 1.3em; color: var(--text); height: 98vh; display: flex; @@ -37,11 +43,12 @@ body { .win { font-family: "Lucida Console", Monaco, monospace; + color: var(--text2); width: 428px; height: 238px; - box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.1); + box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.15); border: 6px solid; - border-color: var(--text); + border-color: var(--text2); background-clip: padding-box; background-color: var(--bg2); overflow: hidden; @@ -49,14 +56,10 @@ body { flex-direction: column; } -.win:hover { - border-color: var(--text2); - color: var(--text2); -} - @media (hover: none) { /* for devices with no hover */ .win { border-color: var(--text2); + color: var(--text2); } } @@ -93,12 +96,12 @@ a { } a:hover { - background: var(--text); - color: var(--bg); + background: var(--text2); + color: var(--bg2); } -.win a:hover { - background: var(--text2); +h1 a:hover { + background: var(--text); } .fas { @@ -110,6 +113,15 @@ a:hover { #home1,#home2 { position: absolute; + border-color: var(--text); + color: var(--text); +} + +#home1:hover, +#home2:hover +{ + border-color: var(--text2); + color: var(--text2); } @keyframes blink{50%{opacity:0;}} @@ -170,6 +182,7 @@ a:hover { } #page { + font-family: lato, "Liberation Sans", "DejaVu Sans", sans-serif; height: 98vh; flex: 1 1 50%; overflow: auto; @@ -179,10 +192,19 @@ a:hover { padding: 5% 15% 3% 0; } -.art a { +.art a, +.art-info a +{ color: var(--text2); } +.art a:hover, +.art-info a:hover +{ + color: var(--bg2); +} + + pre { font-size: 1.1em; letter-spacing: .015em;