Skip to content

Commit

Permalink
Add responsive width to the header
Browse files Browse the repository at this point in the history
  • Loading branch information
dqunbp committed Jan 18, 2024
1 parent 46662d5 commit 57fa714
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
15 changes: 8 additions & 7 deletions themes/hugo-bulma-blocks-theme/assets/css/menu.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
.is-active > a > span,
.is-active > span {
border-bottom: solid #589632 3px;
margin-bottom: -3px;
@media screen and (min-width: 1024px) {
:root {
--qg-nav-max-width: 960px;
}
}

.is-semi-transparent {
opacity: 0.9;
@media screen and (min-width: 1408px) {
:root {
--qg-nav-max-width: 1344px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
<script
crossorigin=""
type="application/javascript"
src="https://konturio.github.io/qgis-uni-navigation/assets/index-i_NTdOdX.js"
src="https://konturio.github.io/qgis-uni-navigation/assets/index-kMOEp_IW.js"
></script>
</head>

Expand Down
5 changes: 4 additions & 1 deletion themes/hugo-bulma-blocks-theme/layouts/partials/menu.html
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<qg-top-nav class="is-highest navbar is-fixed-top"></qg-top-nav>
<qg-top-nav
breakpoint="1024"
class="is-highest navbar is-fixed-top"
></qg-top-nav>

0 comments on commit 57fa714

Please sign in to comment.