Adjust shrine right sidebar elements

This commit is contained in:
Helen Chong 2024-04-18 23:00:22 +08:00
parent e0e8f9acb5
commit 5b83df818c
1 changed files with 11 additions and 1 deletions

View File

@ -15,14 +15,24 @@
<style> <style>
.right-sidebar { .right-sidebar {
background-color: var(--clr-content-bg); background-color: var(--clr-content-bg);
font-size: 90%; font-size: clamp(0.9rem, 0.9rem + 3vw, 1rem);
} }
.sidebar-nav { .sidebar-nav {
padding: 1rem; padding: 1rem;
} }
.sidebar-nav h2 {
font-size: clamp(1.5rem, 1rem + 3vw, 1.7rem);
margin-bottom: 0.2em;
}
.sidebar-nav h3 { .sidebar-nav h3 {
font-size: clamp(1.3rem, 1rem + 3vw, 1.5rem);
margin-top: 1em; margin-top: 1em;
} }
.sidebar-nav ul {
margin-top: 0.5em;
}
</style> </style>