chore: colors for band icons
This commit is contained in:
parent
c3f031a229
commit
fa10c0ff1c
4 changed files with 91 additions and 8 deletions
|
@ -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": {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</span>
|
||||
{% else %}
|
||||
{% if icon %}
|
||||
<a class="link--icon" href="/{{ link | downcase }}">
|
||||
<a class="link--icon {{ icon | downcase }}" href="/{{ link | downcase }}">
|
||||
{% tablericon icon link %}
|
||||
</a>
|
||||
{% else %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<a
|
||||
class="link--icon"
|
||||
href="{{ link }}"
|
||||
class="link--icon {{ icon }}"
|
||||
href="{{ link | downcase }}"
|
||||
rel="me"
|
||||
title="{{ name }}">
|
||||
{% tablericon icon name %}
|
||||
|
|
|
@ -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);
|
||||
|
|
Reference in a new issue