From 059e77de53a2a8dec7a4cf3d65708c4d04078010 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Mon, 16 Aug 2021 12:19:20 -0300 Subject: move main css to its own file --- static/css/style.css | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ static/main.html | 75 ++-------------------------------------------------- 2 files changed, 74 insertions(+), 73 deletions(-) create mode 100644 static/css/style.css (limited to 'static') diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..bced2c1 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,72 @@ +a, a:link, a:visited, a:hover, a:active { + text-decoration: none +} + +a:link, a:visited, a:active { + color: black; +} + +a:hover { + color: #de0808; +} + +body { + background-color: #eef2fe; + color: black; +} + +body.nsfw { + background-color: #ffffee; + color: #820404 +} + +.popup-box { + border: 4px solid #d3caf0; + background-color: #eff5ff; +} + +.nsfw .popup-box { + border: 4px solid #f0e2d9; + background-color: #f9f9e0; +} + +.box { + background-color: #eff5ff; +} + +.nsfw .box { + background-color: #f9f9e0; +} + +.box-alt { + background-color: #d3caf0; +} + +.nsfw .box-alt { + background-color: #f0e2d9; +} + + +.quote { + color: #789922; +} + +.post { + background-color: #d5daf0; +} + +.nsfw .post { + background-color: #f0e0d6; +} + +:target > div > .post { + background-color: #d6bad0; +} + +.nsfw :target > div > .post { + background-color: #f0c0b0; +} + +.tripcode { + color: #117743; +} diff --git a/static/main.html b/static/main.html index 362b7b3..3f819dd 100644 --- a/static/main.html +++ b/static/main.html @@ -8,81 +8,10 @@ - + {{ template "header" . }} -
+