Updating
This commit is contained in:
parent
afb22a9f0c
commit
eadf26a230
22 changed files with 966 additions and 3810 deletions
45
theme.scss
45
theme.scss
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue