From 955e3ade941b77d45993b0e0a90525c21fa7549d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 23 Jun 2024 21:15:29 +0100 Subject: [PATCH] light theme i feel like changing the theme. it's too dark. i guess it's june right now, so let's make it a light theme instead of dark. totally done on a whim. Signed-off-by: Leah Rowe --- site/global.css | 24 +++++++++++++++--------- site/template.de.include | 2 +- site/template.include | 2 +- site/template.it.include | 2 +- site/template.uk.include | 2 +- site/template.zh-cn.include | 2 +- 6 files changed, 20 insertions(+), 14 deletions(-) diff --git a/site/global.css b/site/global.css index ce8b686..5fe6313 100644 --- a/site/global.css +++ b/site/global.css @@ -2,6 +2,9 @@ * This CSS is released under Creative Commons Zero 1.0 Universal license: * https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt */ + +h1,h2,h3,h4{font-weight:normal; font-size:2em} + .specs { float: right; @@ -14,7 +17,7 @@ } -@media (max-width:89em) +@media (max-width:90em) { html { @@ -31,21 +34,24 @@ html { - background: #280b22; - color: #eee; + color: #280b22; + background: #f0f0f0; font-family: sans-serif; line-height: 1.4; - text-shadow: 1px 1px #000; +} +hr { + color: #eee; } -code,pre, #TOC, a:hover +code,pre, #TOC, a:hover, img { - background: #4e324e; + background: #d9d6d6; + border-radius:0.25em; } a { - color: #fcc; + color: #4e324e; } img,video,iframe,pre @@ -81,12 +87,12 @@ html, ul, #TOC { .title-logo{display:none} div.title,h1.title { - background:url("/favicon.ico") no-repeat; + background:url("https://av.libreboot.org/logo/logo.png") no-repeat; background-size:auto 99%; min-height:2em } div.title {background-position:right} - h1.title {padding:0 4em} + h1.title {padding:0 4em; font-size:2.5em; font-weight:normal;} #TOC { float: left; diff --git a/site/template.de.include b/site/template.de.include index 106168d..608bd32 100644 --- a/site/template.de.include +++ b/site/template.de.include @@ -53,7 +53,7 @@ $if(title)$

$title$

diff --git a/site/template.include b/site/template.include index 6a5d9cc..0472d70 100644 --- a/site/template.include +++ b/site/template.include @@ -53,7 +53,7 @@ $if(title)$

$title$

diff --git a/site/template.it.include b/site/template.it.include index 4a257bf..c05181f 100644 --- a/site/template.it.include +++ b/site/template.it.include @@ -53,7 +53,7 @@ $if(title)$

$title$

diff --git a/site/template.uk.include b/site/template.uk.include index 3592267..da1c2b0 100644 --- a/site/template.uk.include +++ b/site/template.uk.include @@ -53,7 +53,7 @@ $if(title)$

$title$

diff --git a/site/template.zh-cn.include b/site/template.zh-cn.include index 805614a..fdf1232 100644 --- a/site/template.zh-cn.include +++ b/site/template.zh-cn.include @@ -53,7 +53,7 @@ $if(title)$

$title$