scale navbar font size with its size

This commit is contained in:
Henry Jameson 2024-06-19 22:52:55 +03:00
parent 59eb3e734a
commit 1306c46a53

View file

@ -159,6 +159,7 @@ nav {
box-shadow: var(--shadow); box-shadow: var(--shadow);
box-sizing: border-box; box-sizing: border-box;
height: var(--navbar-height); height: var(--navbar-height);
font-size: calc(var(--navbar-height) / 3.5);
position: fixed; position: fixed;
} }