Fix navbar mods having broken border radius
This commit is contained in:
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased](https://codeberg.org/daudix/duckquill/compare/v5.4.0...main)
|
## [Unreleased](https://codeberg.org/daudix/duckquill/compare/v5.4.0...main)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix navbar mods having broken border radius.
|
||||||
|
|
||||||
## [5.4.0](https://codeberg.org/daudix/duckquill/compare/v5.3.2...v5.4.0)
|
## [5.4.0](https://codeberg.org/daudix/duckquill/compare/v5.3.2...v5.4.0)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
#site-nav {
|
#site-nav {
|
||||||
margin-block-start: 0;
|
margin-block-start: 0;
|
||||||
inset-block-start: 0;
|
inset-block-start: 0;
|
||||||
box-shadow: var(--shadow-glass);
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
box-shadow: var(--shadow-glass);
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
nav,
|
nav,
|
||||||
#search-container {
|
#search-container {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
@include theme-variables using ($theme) {
|
@include theme-variables using ($theme) {
|
||||||
@if $theme == "light" {
|
@if $theme == "light" {
|
||||||
--edge-highlight: 0 0 0 transparent;
|
--edge-highlight: 0 0 transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
#site-nav {
|
#site-nav {
|
||||||
margin-block-start: 0;
|
margin-block-start: 0;
|
||||||
inset-block-start: 0;
|
inset-block-start: 0;
|
||||||
box-shadow: var(--shadow-glass);
|
|
||||||
border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem);
|
border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem);
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
box-shadow: var(--shadow-glass);
|
||||||
|
border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem);
|
||||||
|
}
|
||||||
|
|
||||||
nav ul li {
|
nav ul li {
|
||||||
a,
|
a,
|
||||||
summary,
|
summary,
|
||||||
|
Reference in New Issue
Block a user