git: accc20af60 - main - website: Adjust styling of the RSS buttons on the home page of the website
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Jul 2024 18:51:19 UTC
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=accc20af6040dcc2f413bb4caf2f37075ceebda3 commit accc20af6040dcc2f413bb4caf2f37075ceebda3 Author: Janek Szynal <mail@janek.ooo> AuthorDate: 2024-07-15 18:39:51 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-07-15 18:48:02 +0000 website: Adjust styling of the RSS buttons on the home page of the website This change: - aligns the RSS icon vertically with the line it's displayed on - changes the color of the vertical separator (border) to be more visible and consistent with the one used in the i18n switcher Reviewed by: 0mp Differential Revision: https://reviews.freebsd.org/D45807 --- website/content/en/layout/css/layout.css | 4 +++- website/themes/beastie/static/css/layout.css | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/website/content/en/layout/css/layout.css b/website/content/en/layout/css/layout.css index 5a13a95274..8aeddb7a3b 100644 --- a/website/content/en/layout/css/layout.css +++ b/website/content/en/layout/css/layout.css @@ -280,7 +280,7 @@ .newseventslist li { padding: 0 0.3em 0 0.5em; display: inline; - border-right: 1px solid #E1E1E1; + border-right: 1px solid #B6B6B6; } .newseventslist li a { @@ -289,6 +289,8 @@ .newseventslist li.last-child { border-right: 0; padding-right: 0; + display: inline-block; + line-height: 0.9em; } .newseventslist li.first-child { diff --git a/website/themes/beastie/static/css/layout.css b/website/themes/beastie/static/css/layout.css index c43630a0d0..35f2512661 100644 --- a/website/themes/beastie/static/css/layout.css +++ b/website/themes/beastie/static/css/layout.css @@ -318,7 +318,7 @@ header { .newseventslist li { padding: 0 0.3em 0 0.5em; display: inline; - border-right: 1px solid #E1E1E1; + border-right: 1px solid #B6B6B6; } .newseventslist li a { @@ -327,6 +327,8 @@ header { .newseventslist li.last-child { border-right: 0; padding-right: 0; + display: inline-block; + line-height: 0.9em; } .newseventslist li.first-child {