From 08c9829c42ff1363fd2a63f1f55afc01d9ef2f29 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 29 Mar 2024 20:26:53 +0300 Subject: Layout bugfixes --- src/main/assets/style.css | 40 ++++++++++++++-------- src/main/resources/templates/views/404.html | 2 +- src/main/resources/templates/views/help.html | 2 +- .../resources/templates/views/settings_about.html | 2 +- .../templates/views/settings_auth-email.html | 2 +- .../resources/templates/views/settings_main.html | 2 +- .../templates/views/settings_password.html | 2 +- .../templates/views/settings_privacy.html | 2 +- .../resources/templates/views/settings_result.html | 2 +- .../resources/templates/views/signup_result.html | 2 +- 10 files changed, 34 insertions(+), 24 deletions(-) (limited to 'src') diff --git a/src/main/assets/style.css b/src/main/assets/style.css index f67e2c7d..14a72377 100644 --- a/src/main/assets/style.css +++ b/src/main/assets/style.css @@ -219,7 +219,6 @@ pre::selection { #ctitle a { padding: 2px 20px; - border-bottom: 2px solid transparent; text-overflow: ellipsis; overflow: hidden; } @@ -228,16 +227,19 @@ pre::selection { border-bottom: 2px solid transparent; } -#header_wrapper a.active { - background: var(background-color); +#global a.active { + background: var(--background-color); border-bottom: 2px solid #ff339a; pointer-events: none; } #global a:hover:not(.active), -#ctitle a:hover:not(.active), +#ctitle a:hover, .l a:hover { - border-bottom: 2px solid #ff339a; cursor: pointer; + background-color: var(--background-color); +} +#global a:hover:not(.active) { + border-bottom: 2px solid #ff339a; } #search input { @@ -361,10 +363,18 @@ article { background: var(--text-background-color); border: 1px solid var(--border-color); line-height: 140%; - margin-bottom: 10px; - padding: 20px; + margin-bottom: 10px; overflow: auto; } +article .h, +article #postmsg, +.page-content, +.msg-cont .msg-comment, +.msg-cont .msg-recomms, +.msg-cont .msg-links, +.msg-cont .msg-header { + padding: 20px; +} article time { color: #88958d; @@ -434,7 +444,11 @@ article .tags > a::before, } .l .msg-button { - padding-top: 12px; + padding: 12px; +} +.l .msg-button-icon { + display: flex; + align-items: center; } .Button { @@ -448,7 +462,6 @@ article .tags > a::before, } .Button:hover { background: #f8f8f8; - border-bottom: 1px solid #ff339a; } .msgthread { @@ -473,7 +486,6 @@ article .tags > a::before, border: 1px solid var(--border-color); line-height: 140%; margin-bottom: 12px; - padding: 20px; } .reply-new .msg-cont { @@ -492,7 +504,7 @@ article .tags > a::before, .msg-txt { clear: both; margin: 0 0 12px; - padding-top: 10px; + padding: 0 20px; word-wrap: break-word; overflow-wrap: break-word; } @@ -525,7 +537,6 @@ article .tags > a::before, .msg-comment { display: flex; width: 100%; - margin-top: 10px; flex-direction: row; } @@ -873,14 +884,14 @@ blockquote { } .icon { - margin-top: -4px; vertical-align: middle; } .newmessage { /* textarea on the /post page */ border: 1px solid #DDD; - padding: 2px; + outline: none !important; + padding: 4px; resize: none; overflow: auto; width: 100%; @@ -914,7 +925,6 @@ fieldset { align-items: center; justify-content: center; padding: 0; - margin: 30px -3px 15px -3px; position: relative; } .embedContainer > * { diff --git a/src/main/resources/templates/views/404.html b/src/main/resources/templates/views/404.html index 02a790e6..d3a2367e 100644 --- a/src/main/resources/templates/views/404.html +++ b/src/main/resources/templates/views/404.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+

Страница не найдена

Сожалеем, но страницу с этим адресом удалил её автор, либо её никогда не существовало.

diff --git a/src/main/resources/templates/views/help.html b/src/main/resources/templates/views/help.html index 169ccb3f..5b16cf6e 100644 --- a/src/main/resources/templates/views/help.html +++ b/src/main/resources/templates/views/help.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+
{{ content | raw }}
{% endblock %} diff --git a/src/main/resources/templates/views/settings_about.html b/src/main/resources/templates/views/settings_about.html index ea906e0c..274e2c7c 100644 --- a/src/main/resources/templates/views/settings_about.html +++ b/src/main/resources/templates/views/settings_about.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+

Full name:

Country:

diff --git a/src/main/resources/templates/views/settings_auth-email.html b/src/main/resources/templates/views/settings_auth-email.html index e906d704..b7b46687 100644 --- a/src/main/resources/templates/views/settings_auth-email.html +++ b/src/main/resources/templates/views/settings_auth-email.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+ {% endblock %} diff --git a/src/main/resources/templates/views/settings_main.html b/src/main/resources/templates/views/settings_main.html index 090d64a2..8937f507 100644 --- a/src/main/resources/templates/views/settings_main.html +++ b/src/main/resources/templates/views/settings_main.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+

Settings

{%if not visitor.verified %}

Verify your account by adding email or social account

diff --git a/src/main/resources/templates/views/settings_password.html b/src/main/resources/templates/views/settings_password.html index 4a9c403a..91ac08d5 100644 --- a/src/main/resources/templates/views/settings_password.html +++ b/src/main/resources/templates/views/settings_password.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+
Changing your password diff --git a/src/main/resources/templates/views/settings_privacy.html b/src/main/resources/templates/views/settings_privacy.html index 83b87b93..20612b8b 100644 --- a/src/main/resources/templates/views/settings_privacy.html +++ b/src/main/resources/templates/views/settings_privacy.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+

Privacy

{% endblock %} diff --git a/src/main/resources/templates/views/settings_result.html b/src/main/resources/templates/views/settings_result.html index d87a5ea6..d6d05986 100644 --- a/src/main/resources/templates/views/settings_result.html +++ b/src/main/resources/templates/views/settings_result.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+

{{ result | raw }}

{% endblock %} diff --git a/src/main/resources/templates/views/signup_result.html b/src/main/resources/templates/views/signup_result.html index b204e1b8..fcdda020 100644 --- a/src/main/resources/templates/views/signup_result.html +++ b/src/main/resources/templates/views/signup_result.html @@ -1,6 +1,6 @@ {% extends "layouts/default" %} {% block content %} -
+

{{ result | raw }}

{% endblock %} \ No newline at end of file -- cgit v1.2.3