better nav font size for small screens

This commit is contained in:
asus
2023-12-06 16:10:15 +01:00
parent 0903a4b9c2
commit a6979b8d23
2 changed files with 2 additions and 3 deletions

View File

@@ -8,10 +8,11 @@ nav {
background-color: #f6f6f6;
z-index: 1;
width: 100vw;
font-size: min(4vw, 1.5rem);
}
nav a {
position: relative;
padding: 10px 20px;
padding: 10px min(5%, 20px);
height: fit-content;
text-decoration: none;
color: inherit;

View File

@@ -6,8 +6,6 @@
font-weight: normal;
font-style: normal;
}
/*
*/
body, pre {
font-family: "notomono", monospace;
font-size: 1.5rem;