From f4d74193828712d17aa5b5e6878f8d15b20e1883 Mon Sep 17 00:00:00 2001 From: jyamihud Date: Sat, 16 Apr 2022 23:09:43 +0300 Subject: [PATCH] Fixed the annoying buttons --- default.css | 19 +++++------ modules/render.py | 81 +++++++---------------------------------------- 2 files changed, 21 insertions(+), 79 deletions(-) diff --git a/default.css b/default.css index 9be6230..92d8fb8 100644 --- a/default.css +++ b/default.css @@ -96,15 +96,16 @@ input[type=text] { color: #311a46; font-weight: bold; } -button { - padding: 12px 20px; - margin: 8px 0; - box-sizing: border-box; - border: 0px solid black; - background-color: #b058c6; - color: #311a46; - font-weight: bold; +button, .button { + padding: 12px 20px; + margin: 8px 0; + box-sizing: border-box; + border: 0px solid black; + background-color: #b058c6; + color: #311a46; + font-weight: bold; } +.button { line-height: 3 } summary { color: #b058c6; font-weight: bold; @@ -113,7 +114,7 @@ summary:hover, summary:hover > h1 { color: white; cursor: pointer; } -button:hover, input:hover, button:focus, input:focus { +button:hover, input:hover, button:focus, input:focus, .button:hover, .button:focus { background-color: #3798DD; color: white; } diff --git a/modules/render.py b/modules/render.py index 3e53650..e3c89d4 100644 --- a/modules/render.py +++ b/modules/render.py @@ -84,28 +84,11 @@ def html(page, json): # Links page = page + """ - - - """ - - page = page + """ - - + """ - page = page + "" linksfilter = {"git":"source"} links = json.get("links", {}) for website in links: @@ -115,16 +98,10 @@ def html(page, json): page = page + """ - - + """+linksfilter.get(website,website).upper()+""" + """ - page = page + "
-
- -
-
" - page = page + """ - - - +

- - - - - - - - - - - -
- -
- -
- -
- -
- - - - - - - -
- -
- -
- -
+ HOME + SOURCE CODE + FAQ + BUG? + MISSING? + MISTAKE? + STATS