From a77ad1af7a7c449f5ebb81beaac89d6f2d8a388e Mon Sep 17 00:00:00 2001 From: Kumi Date: Sun, 18 Aug 2024 15:51:25 +0200 Subject: [PATCH] style: clean up CSS comments for better readability Moved comments to their own lines to improve readability and maintainability of the CSS code. This change separates the comments from the declarations, making it easier for developers to understand the purpose of each style rule at a glance. --- src/wikimore/static/css/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wikimore/static/css/style.css b/src/wikimore/static/css/style.css index f983450..56fb03a 100644 --- a/src/wikimore/static/css/style.css +++ b/src/wikimore/static/css/style.css @@ -147,7 +147,8 @@ h1 { } .sidebar-list-title:after { - content: "\25BC"; /* Down arrow */ + content: "\25BC"; + /* Down arrow */ float: right; margin-right: 10px; transition: transform 0.3s ease; @@ -155,7 +156,8 @@ h1 { .sidebar-list:hover .sidebar-list-title:after, .sidebar-list:focus-within .sidebar-list-title:after { - transform: rotate(-180deg); /* Rotate arrow */ + transform: rotate(-180deg); + /* Rotate arrow to point up */ } .sidebar-list-content { @@ -166,7 +168,7 @@ h1 { .sidebar-list:hover .sidebar-list-content, .sidebar-list:focus-within .sidebar-list-content { - max-height: 1000px; /* Adjust as needed */ + max-height: 1000px; }