From bfbbecd07a05b8080fb73dc2e15dceac7e5e7034 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 1 Oct 2022 12:03:53 +0300 Subject: new style --- extras/html/style.css | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'extras/html/style.css') diff --git a/extras/html/style.css b/extras/html/style.css index ea6184f..eba3fa5 100644 --- a/extras/html/style.css +++ b/extras/html/style.css @@ -22,20 +22,25 @@ line-height: 1.5em; margin: 0; padding: 0; - background-color: #f8f8f8; - color: #222; + background-color: #000000; + color: #ffffef; } body { font-family: text, monospace; width: 99%; - max-width: 800px; + max-width: 1024px; margin: 2em auto 0; padding: 0 20px; display: block; + border-style: solid; + border-width: 1px; + border-color: #ffffef; + margin-bottom: 50px; } h1, h2, h3 { + color: #ffffff; font-weight: bold; margin-top: 1em; margin-bottom: 0.75em; @@ -54,18 +59,18 @@ h3 { } a { - color: #248; + color: #9CFF00; font-weight: 600; text-decoration: none; } a:hover { - background-color: #9CFF00; + background-color: #555555; text-decoration: underline; } a:visited { - color: #248; + color: #9CFF00; } a.textlink:before { @@ -118,10 +123,11 @@ img { max-width: 100%; display: block; margin: auto; - border: 1px solid #9CFF00; + border: 1px solid #333333; } pre { + color: #ffffff; font-family: code, monospace; padding: 0; overflow-x: scroll; @@ -131,6 +137,7 @@ pre { } span.inlinecode { + color: #ffffff; font-family: code, monospace; filter: invert(1) grayscale(1); -webkit-filter: invert(1) grayscale(1); -- cgit v1.2.3 From 11bff2275e102b8ebb4749c2f1e9acaaa9232f9f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 1 Oct 2022 12:07:15 +0300 Subject: use dark grey as bg color --- extras/html/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/html/style.css') diff --git a/extras/html/style.css b/extras/html/style.css index eba3fa5..6c3669c 100644 --- a/extras/html/style.css +++ b/extras/html/style.css @@ -22,7 +22,7 @@ line-height: 1.5em; margin: 0; padding: 0; - background-color: #000000; + background-color: #101010; color: #ffffef; } -- cgit v1.2.3 From afdf0aef83ec4951c922ddbb59be30bc93d0ee32 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 1 Oct 2022 12:13:09 +0300 Subject: fix pre overflow --- extras/html/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/html/style.css') diff --git a/extras/html/style.css b/extras/html/style.css index 6c3669c..6fb54af 100644 --- a/extras/html/style.css +++ b/extras/html/style.css @@ -130,7 +130,7 @@ pre { color: #ffffff; font-family: code, monospace; padding: 0; - overflow-x: scroll; + overflow-x: auto; scrollbar-width: none; border-left: 2px solid #9CFF00; padding-left: 12px; -- cgit v1.2.3 From b093fcea08edb5f859399eb8921edb208986d05c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 12 Nov 2022 09:57:28 +0200 Subject: simplify default style --- extras/html/style.css | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'extras/html/style.css') diff --git a/extras/html/style.css b/extras/html/style.css index 6fb54af..eab41b7 100644 --- a/extras/html/style.css +++ b/extras/html/style.css @@ -22,12 +22,12 @@ line-height: 1.5em; margin: 0; padding: 0; - background-color: #101010; - color: #ffffef; + background-color: #ffffef; + color: #000000; } body { - font-family: text, monospace; + font-family: monospace; width: 99%; max-width: 1024px; margin: 2em auto 0; @@ -35,12 +35,12 @@ body { display: block; border-style: solid; border-width: 1px; - border-color: #ffffef; + border-color: #232323; margin-bottom: 50px; } h1, h2, h3 { - color: #ffffff; + color: #000000; font-weight: bold; margin-top: 1em; margin-bottom: 0.75em; @@ -59,7 +59,7 @@ h3 { } a { - color: #9CFF00; + color: #39aa00; font-weight: 600; text-decoration: none; } @@ -70,7 +70,7 @@ a:hover { } a:visited { - color: #9CFF00; + color: #39aa00; } a.textlink:before { @@ -127,18 +127,17 @@ img { } pre { - color: #ffffff; - font-family: code, monospace; + color: #000000; + font-family: monospace; padding: 0; overflow-x: auto; scrollbar-width: none; - border-left: 2px solid #9CFF00; padding-left: 12px; } span.inlinecode { - color: #ffffff; - font-family: code, monospace; + color: #000000; + font-family: monospace; filter: invert(1) grayscale(1); -webkit-filter: invert(1) grayscale(1); } -- cgit v1.2.3