better nav font size for small screens
This commit is contained in:
@@ -8,10 +8,11 @@ nav {
|
|||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
font-size: min(4vw, 1.5rem);
|
||||||
}
|
}
|
||||||
nav a {
|
nav a {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 10px 20px;
|
padding: 10px min(5%, 20px);
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
*/
|
|
||||||
body, pre {
|
body, pre {
|
||||||
font-family: "notomono", monospace;
|
font-family: "notomono", monospace;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user