move more junk out of index.css and into components

This commit is contained in:
2022-01-22 18:52:29 -05:00
parent f62c057f5d
commit 0343aa9be4
19 changed files with 371 additions and 352 deletions
-17
View File
@@ -9,24 +9,7 @@ body {
}
a {
color: var(--link);
text-decoration: none;
background-position: 0% 100%;
background-repeat: no-repeat;
background-size: 0% var(--link-underline-size);
padding-bottom: var(--link-underline-size);
transition: background-size 0.25s ease-in-out, color 0.25s ease, border 0.25s ease;
background-image: linear-gradient(var(--link-underline), var(--link-underline));
}
a:hover {
background-size: 100% var(--link-underline-size);
}
/* set an anchor's class to `no-underline` to disable all of the above */
a.no-underline {
background: none !important;
padding-bottom: 0;
}
/* make SVG icons relative in size/position to surrounding text */