File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3535}
3636
3737.nav {
38+ height : var (--navigation-bar-height );
3839 justify-content : center;
3940 align-items : center;
4041 display : flex;
4142 z-index : 1001 ;
4243}
4344
4445.slider {
46+ height : calc (100vh - var (--navigation-bar-height ));
4547 position : relative;
4648 width : 100vw ;
4749 touch-action : none;
Original file line number Diff line number Diff line change @@ -35,16 +35,15 @@ body {
3535 box-shadow : 0 1vw 4vw 1vw rgba (0 , 0 , 0 , 0.6 );
3636}
3737
38+ .viewer {
39+ --navigation-bar-height : 5vh ;
40+ }
41+
3842.nav {
39- height : 5vh ;
4043 background-color : rgba (60 , 60 , 60 , 0.4 );
4144 color : # ccc ;
4245}
4346
44- .slider {
45- height : 95vh ; /* remaining vh after nav vh */
46- }
47-
4847.navgrid {
4948 grid-template-columns : 4em 1fr 1.5em 1.5em 1fr 1.5em 1.5em ;
5049 font-size : 3.5vh ;
You can’t perform that action at this time.
0 commit comments