From 8b3783096b0e8c50845737f892ed882b69b27f16 Mon Sep 17 00:00:00 2001 From: ayaka Date: Sun, 23 Jun 2024 20:33:32 +1200 Subject: [PATCH] revert ugly-layouts from hls-video-downloads This reverts commits 97def1bab11e63c8e2a6119136f7c2759fffb06c feda45f803cebeb3f782e26be9d7455175e014dc --- static/style.css | 77 ----------------------------------------- templates/base.html | 2 +- templates/settings.html | 5 ++- 3 files changed, 3 insertions(+), 81 deletions(-) diff --git a/static/style.css b/static/style.css index 79c122a..f10ad4f 100644 --- a/static/style.css +++ b/static/style.css @@ -1325,83 +1325,6 @@ summary.comment_data { /* Layouts */ -.old .post { - border-radius: 5px; - background: var(--post); - box-shadow: var(--shadow); - display: grid; - transition: 0.2s background; - grid-template: "post_score post_thumbnail post_header" auto - "post_score post_thumbnail post_title" 1fr - "post_score post_thumbnail post_media" auto - "post_score post_thumbnail post_body" auto - "post_score post_thumbnail post_poll" auto - "post_score post_thumbnail post_notification" auto - "post_score post_thumbnail post_footer" auto - / 4.5em minmax(0, 140px) fit-content(min(90%, 90%)) -} - -/* .old .post_thumbnail { - margin-left: 20px; -} */ - -.old .post_score { - background-color: #ff93da08; - border-radius: 8px; - align-self: center; - width: 53px; - padding-left: 5px; /* REMINDER:pls compact testing only */ - border-top-width: 0px; - border-top-style: solid; - padding-top: 5px; - padding-bottom: 5px; - padding-right: 5px; - margin-left: 5px; - margin-right: 5px; -} - -.old .post_media_content { - max-width: calc(65% - 40px); -} - -.old .highlighted > .post_score { - background-color: unset; - align-self: unset; - margin-top: 20px; - margin-left: 20px; -} - -.old .post_score .label { - display: block; - text-align: center; - text-anchor: middle; - color: gray; -} - -.old .post_preview { - max-height: 72px; -} - -.old #column_one { - width: 100%; - max-width: 100%; -} - -.old #commentQueryForms { - display: flex; - justify-content: center; - justify-self: start; -} - -.old .commentQuery { - margin-left: 20px; -} - - -.old main { - max-width: 100% !important; -} - .compact .post:not(.highlighted) { border-radius: 0; margin: 0; diff --git a/templates/base.html b/templates/base.html index 2e06a48..84dc9c8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,7 +28,7 @@ diff --git a/templates/settings.html b/templates/settings.html index 45f355b..7ce1194 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -31,14 +31,13 @@
- - {% if prefs.layout == "old" %}ⓘ Wide UI is always enabled with this layout{% endif %} +