From 4e2ad66d48628a6272a850548d5221a72bc5d6c8 Mon Sep 17 00:00:00 2001 From: Equus Date: Mon, 24 Apr 2017 13:49:36 +0200 Subject: [PATCH 1/2] Fixes board list on chrome --- stylesheets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylesheets/style.css b/stylesheets/style.css index eb83e581..9b668795 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -540,7 +540,7 @@ table.mod.config-editor input[type="text"] { width: 98%; } -.desktop-style div.boardlist:nth-child(1) { +.desktop-style div.boardlist:not(.bottom) { position: fixed; top: 0; left: 0; From a2efa13985273af597e5a57de5768cd7e1c95194 Mon Sep 17 00:00:00 2001 From: Equus Date: Mon, 24 Apr 2017 13:52:19 +0200 Subject: [PATCH 2/2] Makes the new thread stuff be collapsed by default and you have to click on [New Thread] for it to expand --- stylesheets/style.css | 27 ++++++++++++++++++++++++++- templates/post_form.html | 6 ++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/stylesheets/style.css b/stylesheets/style.css index 9b668795..32b3736e 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -80,7 +80,7 @@ header div.subtitle { } form { - margin-bottom: 4em; + margin-bottom: 3em; } form table { @@ -1217,3 +1217,28 @@ table.fileboard .intro a { div.mix { display: inline-block; } + +/* Collapsed post area */ +#PostAreaToggle + span { + font-size: 22px; + font-weight: bold; +} +#PostAreaToggle + span > a > label { + cursor: pointer; +} +#PostAreaToggle + span + div { + display: none; +} +#PostAreaToggle:checked + span { + display: none; +} +#PostAreaToggle:checked + span + div { + display: block; +} +form[name="post"] { + margin-bottom: 0em; + text-align: center; +} +form[name="post"] > div { + margin-bottom: 1em; +} \ No newline at end of file diff --git a/templates/post_form.html b/templates/post_form.html index eb771d57..e5e00009 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -1,5 +1,10 @@
{{ antibot.html() }} +{% if not id %} + +[] +{% endif %} +
{% if id %}{% endif %} {{ antibot.html() }} @@ -170,6 +175,7 @@ {{ antibot.html(true) }} +