Allow setting spoiler style via shortcode, move glass shadow to a CSS variable

This commit is contained in:
daudix
2024-09-16 01:36:47 +03:00
parent 1ea78723a9
commit f570d1dd74
12 changed files with 70 additions and 33 deletions

View File

@ -30,7 +30,7 @@ You can make navbar have more traditional look:
#site-nav {
top: 0;
margin-block-start: 0;
box-shadow: 0 0.75rem 1.5rem -1rem rgb(0 0 0 / 0.5);
box-shadow: var(--shadow-glass);
border-radius: 0;
width: 100%;
max-width: 100%;
@ -68,7 +68,7 @@ Or you can make it sticked to top but not full-width:
#site-nav {
top: 0;
margin-block-start: 0;
box-shadow: 0 0.75rem 1.5rem -1rem rgb(0 0 0 / 0.5);
box-shadow: var(--shadow-glass);
border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem);
nav ul li {