git: accc20af60 - main - website: Adjust styling of the RSS buttons on the home page of the website

Mateusz Piotrowski <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/doc/commit/?id=accc20af6040dcc2f413bb4caf2f37075ceebda3

commit accc20af6040dcc2f413bb4caf2f37075ceebda3
Author:     Janek Szynal <[email protected]>
AuthorDate: 2024-07-15 18:39:51 +0000
Commit:     Mateusz Piotrowski <[email protected]>
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 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.