From ba68de1fa05a75a9a82b6e3072f2ac30ecccfda0 Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 20 Feb 2019 15:23:20 +0100 Subject: [PATCH] fix(compact): reduce margin-bottom size on profile list items --- css/tildes-compact/README.md | 12 +++++++++++- css/tildes-compact/tildes-compact.css | 4 ++++ css/tildes-compact/tildes-compact.user.css | 6 +++++- sass/tildes-compact/_topic-listings.sass | 3 +++ sass/tildes-compact/tildes-compact.json | 2 +- 5 files changed, 24 insertions(+), 3 deletions(-) diff --git a/css/tildes-compact/README.md b/css/tildes-compact/README.md index d9d43f1..81d1383 100644 --- a/css/tildes-compact/README.md +++ b/css/tildes-compact/README.md @@ -1,9 +1,19 @@ # Tildes Compact -> Removes some elements and changes some sizes to make the [Tildes.net](https://tildes.net) layout a little more compact. +> Hides some elements and changes some sizes to make the [Tildes.net](https://tildes.net) layout a little more compact. +## Changes + +- Resizes the topic info (X comments, domain/user, date posted) width to 500px. +- Reduces the bottom margin of topics and comments on your profile to 0.4rem. +- Reduces the width of total tags to be displayed to 200px. +- Hides all but the first 3 tags of a topic, if their total width is less than 200px. +- Hides the topic text excerpt from the topic listing. +- Hides the Tildes Extended user labels on the topic listing. +- Hides the post buttons (vote/edit/label/...) buttons and amount of votes of comments on your profile. + ## Installing To install this theme, check out [the Wiki](https://gitlab.com/Bauke/styles/wikis/Installing-Styles). diff --git a/css/tildes-compact/tildes-compact.css b/css/tildes-compact/tildes-compact.css index c73d1aa..9266a52 100644 --- a/css/tildes-compact/tildes-compact.css +++ b/css/tildes-compact/tildes-compact.css @@ -29,3 +29,7 @@ .post-listing .post-buttons,.post-listing .comment-votes { display: none !important; } + +.post-listing>li { + margin-bottom: unset !important; +} diff --git a/css/tildes-compact/tildes-compact.user.css b/css/tildes-compact/tildes-compact.user.css index 9c4b0e0..3882a79 100755 --- a/css/tildes-compact/tildes-compact.user.css +++ b/css/tildes-compact/tildes-compact.user.css @@ -1,7 +1,7 @@ /* ==UserStyle== @name Tildes Compact @namespace tildes.net -@version 1.0.4 +@version 1.0.5 @author Bauke @description Removes some elements and changes some sizes to make the Tildes.net layout a little more compact. @homepageURL https://gitlab.com/Bauke/styles @@ -40,4 +40,8 @@ .post-listing .post-buttons,.post-listing .comment-votes { display: none !important; } + +.post-listing>li { + margin-bottom: unset !important; +} } \ No newline at end of file diff --git a/sass/tildes-compact/_topic-listings.sass b/sass/tildes-compact/_topic-listings.sass index c16105b..a5183ea 100644 --- a/sass/tildes-compact/_topic-listings.sass +++ b/sass/tildes-compact/_topic-listings.sass @@ -27,3 +27,6 @@ .post-buttons, .comment-votes display: none !important + + > li + margin-bottom: unset !important diff --git a/sass/tildes-compact/tildes-compact.json b/sass/tildes-compact/tildes-compact.json index 4ba521d..8c300fb 100644 --- a/sass/tildes-compact/tildes-compact.json +++ b/sass/tildes-compact/tildes-compact.json @@ -4,7 +4,7 @@ "options": { "name": "Tildes Compact", "namespace": "tildes.net", - "version": "1.0.4", + "version": "1.0.5", "author": "Bauke", "description": "Removes some elements and changes some sizes to make the Tildes.net layout a little more compact.", "homepageURL": "https://gitlab.com/Bauke/styles",