better nav font size for small screens
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
/*
|
||||
*/
|
||||
body, pre {
|
||||
font-family: "notomono", monospace;
|
||||
font-size: 1.5rem;
|
||||
|
||||
Reference in New Issue
Block a user