1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-07-02 06:15:58 -04:00

extract list of menu links to a config file

This commit is contained in:
2022-02-11 15:13:32 -05:00
parent d258ebd988
commit ae0fd5f56b
11 changed files with 139 additions and 137 deletions
+3 -14
View File
@@ -4,18 +4,12 @@
margin: 0;
}
.link {
.item {
list-style: none;
display: inline-flex;
margin-left: 1em;
}
.icon {
width: 1.25em;
height: 1.25em;
vertical-align: -0.3em;
}
@media screen and (max-width: 768px) {
.menu {
width: 100%;
@@ -23,14 +17,9 @@
margin-left: 1em;
}
.link {
.item {
margin-left: 0;
}
.icon {
width: 1.8em;
height: 1.8em;
}
}
@media screen and (max-width: 380px) {
@@ -39,7 +28,7 @@
}
/* the home icon is redundant when space is SUPER tight */
.link:first-of-type {
.item:first-of-type {
display: none;
}
}