This commit is contained in:
Simeon "Waldo" Wallrath 2025-04-08 11:37:06 +02:00
parent afb22a9f0c
commit eadf26a230
22 changed files with 966 additions and 3810 deletions

View file

@ -7,18 +7,32 @@ $primary: #009fe3;
/*-- scss:rules --*/
/* Add custom rules for sidebar items and sections */
.sidebar-item-text, .sidebar-item-toggle {
padding-top: 20px; /* Optional: spacing between items */
}
.sidebar-item-text:last-child {
border-bottom: none;
}
.sidebar-item-text:not(:first-child) {
margin-top: 10px; /* Add space above each *non-first* section */
/* Top-level items: bold and with padding */
.sidebar-menu-container > ul > li.sidebar-item > .sidebar-item-container > a.sidebar-item-text {
font-weight: bold;
padding-top: 20px;
display: block;
}
/* Subitems: normal weight and no bold */
.sidebar-menu-container .sidebar-section .sidebar-item-text {
font-weight: normal;
}
/* Align and apply padding to .sidebar-item-toggle arrows to match subitems */
.sidebar-menu-container .sidebar-item-toggle {
font-weight: normal; /* Ensure arrow is not bold */
padding-top: 20px; /* Match top-level padding */
display: inline-block; /* Ensure proper alignment */
margin-left: 15px; /* Optional: indent to align with subitems */
}
/* Optional: additional spacing for non-first items */
.sidebar-menu-container > ul > li.sidebar-item:not(:first-child) > .sidebar-item-container > a.sidebar-item-text {
margin-top: 10px;
padding-top: 10px;
}
}
.sidebar-menu-container, .mt-2 {
@ -26,6 +40,15 @@ $primary: #009fe3;
padding-top: 0 !important;
}
.quarto-sidebar-section-1 {
padding-top: 2px
}
.sidebar-section .sidebar-item-text {
font-weight: normal;
}
.navbar-logo{
margin: 0 !important;
padding: 0 !important;