diff --git a/package.json b/package.json
index ab1da5ce..3bdb8471 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "coryd.dev",
- "version": "4.0.4",
+ "version": "4.0.5",
"description": "The source for my personal site, blog and portfolio. Built using 11ty and hosted on Netlify.",
"type": "module",
"scripts": {
diff --git a/src/_includes/partials/nav/link.liquid b/src/_includes/partials/nav/link.liquid
index 939f0a3a..1f7e17eb 100644
--- a/src/_includes/partials/nav/link.liquid
+++ b/src/_includes/partials/nav/link.liquid
@@ -9,7 +9,7 @@
{% else %}
{% if icon %}
-
+
{% tablericon icon link %}
{% else %}
diff --git a/src/_includes/partials/nav/linked-icon.liquid b/src/_includes/partials/nav/linked-icon.liquid
index d75a76cc..eae1a00d 100644
--- a/src/_includes/partials/nav/linked-icon.liquid
+++ b/src/_includes/partials/nav/linked-icon.liquid
@@ -1,6 +1,6 @@
{% tablericon icon name %}
diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css
index 50c0bd6b..f1fd44e5 100644
--- a/src/assets/styles/index.css
+++ b/src/assets/styles/index.css
@@ -25,6 +25,17 @@
--white: #fff;
--black: #000;
+ --brand-github: #333;
+ --brand-github-light: #f5f5f5;
+ --brand-gmail: #34a853;
+ --brand-mastodon: #6364ff;
+ --brand-lastfm: #d51007;
+ --brand-trakt: #ed1c24;
+ --brand-storygraph: #14919b;
+ --brand-buy-me-a-coffee: #ffdd00;
+ --brand-rss: #f26522;
+ --webrings: #ec8fd0;
+
/* fonts */
--font-sans: silka, Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, system-ui, sans-serif;
--font-mono: ml, ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
@@ -61,6 +72,10 @@
/* transitions */
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
+
+ /* svgs */
+ --stroke-width-default: 1.4;
+ --stroke-width-bold: 2;
}
@keyframes spin {
@@ -161,7 +176,7 @@ h4 > svg,
h5 > svg,
h6 > svg {
margin-right: .25rem;
- stroke-width: 2 !important;
+ stroke-width: var(--stroke-width-bold) !important;
}
hr {
@@ -277,10 +292,60 @@ nav ul li a {
}
nav svg {
- stroke: var(--black);
margin-top: .125rem;
}
+nav svg:hover {
+ stroke-width: var(--stroke-width-bold);
+}
+
+nav .at svg {
+ stroke: var(--brand-gmail);
+}
+
+nav .brand-github svg {
+ stroke: var(--brand-github);
+}
+
+nav .brand-mastodon svg {
+ stroke: var(--brand-mastodon);
+}
+
+nav .brand-lastfm svg {
+ stroke: var(--brand-lastfm);
+}
+
+nav .device-tv svg {
+ stroke: var(--brand-trakt);
+}
+
+nav .books svg {
+ stroke: var(--brand-storygraph);
+}
+
+nav .cup svg {
+ stroke: var(--brand-buy-me-a-coffee);
+}
+
+nav .heart-handshake svg {
+ stroke: var(--webrings);
+}
+
+nav .rss svg {
+ stroke: var(--brand-rss);
+}
+
+nav .tags svg,
+nav .search svg {
+ stroke: var(--black);
+}
+
+nav .tags svg:hover,
+nav .search svg:hover {
+ stroke: var(--blue-800);
+ stroke-width: var(--stroke-width-default);
+}
+
nav ul li:last-child {
margin-right: 0;
}
@@ -292,6 +357,10 @@ nav ul li:last-child {
cursor: not-allowed;
}
+.active svg:hover {
+ stroke-width: var(--stroke-width-default);
+}
+
.link--icon {
stroke: var(--black);
}
@@ -529,11 +598,11 @@ article time {
/* icons */
[data-tablericon-name] {
- stroke-width: 1.4;
+ stroke-width: var(--stroke-width-default);
}
.icon--bold > svg {
- stroke-width: 2;
+ stroke-width: var(--stroke-width-bold);
}
.icon--spin > svg {
@@ -1184,6 +1253,20 @@ textarea {
color: var(--white);
}
+ nav .brand-github svg {
+ stroke: var(--brand-github-light);
+ }
+
+ nav .tags svg,
+ nav .search svg {
+ stroke: var(--white);
+ }
+
+ nav .tags svg:hover,
+ nav .search svg:hover {
+ stroke: var(--blue-200);
+ }
+
.active,
.active svg {
color: var(--blue-400);