CSS style cleanup

This commit is contained in:
Tino Mettler
2025-12-18 08:19:14 +01:00
parent c584ee05c9
commit 2b3910c698
2 changed files with 7 additions and 6 deletions

View File

@@ -35,6 +35,7 @@
}
.nav {
height: var(--navigation-bar-height);
justify-content: center;
align-items: center;
display: flex;
@@ -42,6 +43,7 @@
}
.slider {
height: calc(100vh - var(--navigation-bar-height));
position: relative;
width: 100vw;
touch-action: none;

View File

@@ -35,14 +35,13 @@ body {
box-shadow: 0 1vw 4vw 1vw rgba(0,0,0,0.6);
}
.nav {
height: 5vh;
background-color: rgba(60,60,60, 0.4);
color: #ccc;
.viewer {
--navigation-bar-height: 5vh;
}
.slider {
height: 95vh; /* remaining vh after nav vh */
.nav {
background-color: rgba(60,60,60, 0.4);
color: #ccc;
}
.navgrid {