Updates footer links to self hosted services

This commit is contained in:
Andrew Gioia 2022-01-06 09:43:20 -05:00
parent e4bc3ce7af
commit e7e4fa961b
11 changed files with 70 additions and 34 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "andrewgioia.com", "name": "andrewgioia.com",
"version": "7.0.1", "version": "7.0.2",
"description": "Internet homepage for Andrew Gioia, co-founder of TeachBoost.", "description": "Internet homepage for Andrew Gioia, co-founder of TeachBoost.",
"main": "public/index.html", "main": "public/index.html",
"private": true, "private": true,

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -26,12 +26,15 @@
</h1> </h1>
</main> </main>
<footer> <footer>
<a href="https://github.com/andrewgioia" target="blank" class="github">
<i class="icon icon-github"></i>
</a>
<a href="https://gioia.social/@andrew" target="blank" class="mastodon"> <a href="https://gioia.social/@andrew" target="blank" class="mastodon">
<i class="icon icon-mastodon"></i> <i class="icon icon-mastodon"></i>
</a> </a>
<a href="https://gioia.photos/andrew" target="blank" class="pixelfed">
<i class="icon icon-pixelfed"></i>
</a>
<a href="https://git.gioia.cloud/andrew" target="blank" class="gitea">
<i class="icon icon-gitea"></i>
</a>
<a href="mailto:hi@andrewgioia.com" target="blank" class="email"> <a href="mailto:hi@andrewgioia.com" target="blank" class="email">
<i class="icon icon-email"></i> <i class="icon icon-email"></i>
</a> </a>

View File

@ -19,11 +19,17 @@
} }
} }
footer { footer {
a.github {
color: var(--link-gh-dark);
}
a.blog { a.blog {
color: var(--link-blog-dark); color: var(--link-blog-dark);
} }
a.gitea {
color: var(--link-gitea-dark);
}
a.github {
color: var(--link-gh-dark);
}
a.pixelfed {
color: var(--link-pf-dark);
}
} }
} }

View File

@ -1,7 +1,9 @@
$icon-arrow: '\e902'; $icon-arrow: '\e902';
$icon-email: '\e903'; $icon-email: '\e903';
$icon-gitea: '\e908';
$icon-github: '\e900'; $icon-github: '\e900';
$icon-mastodon: '\e901'; $icon-mastodon: '\e901';
$icon-pixelfed: '\e909';
$icon-rss: '\e907'; $icon-rss: '\e907';
@font-face { @font-face {
@ -17,7 +19,8 @@ $icon-rss: '\e907';
font-display: block; font-display: block;
} }
[class^="icon-"], [class*=" icon-"] { [class^="icon-"],
[class*=" icon-"] {
font-family: 'andrew' !important; // !i to prevent issues with browser extensions that change fonts font-family: 'andrew' !important; // !i to prevent issues with browser extensions that change fonts
speak: never; speak: never;
font-style: normal; font-style: normal;
@ -31,19 +34,25 @@ $icon-rss: '\e907';
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.icon-arrow:before { .icon-arrow::before {
content: $icon-arrow; content: $icon-arrow;
} }
.icon-email:before { .icon-email::before {
content: $icon-email; content: $icon-email;
} }
.icon-github:before { .icon-gitea::before {
content: $icon-gitea;
}
.icon-github::before {
content: $icon-github; content: $icon-github;
} }
.icon-mastodon:before { .icon-mastodon::before {
content: $icon-mastodon; content: $icon-mastodon;
} }
.icon-rss:before { .icon-pixelfed::before {
content: $icon-pixelfed;
}
.icon-rss::before {
content: $icon-rss; content: $icon-rss;
font-weight: 900; font-weight: 900;
} }

View File

@ -17,6 +17,10 @@ $link-gh-normal: #24292e;
$link-gh-dark: #f1f1f1; $link-gh-dark: #f1f1f1;
$link-blog-normal: #736be3; $link-blog-normal: #736be3;
$link-blog-dark: #9690ea; $link-blog-dark: #9690ea;
$link-gitea-normal: #1bc47d;
$link-gitea-dark: #87b081;
$link-pf-normal: #66cccc;
$link-pf-dark: #78c2c3;
$screen-mobile: 640px; $screen-mobile: 640px;
$screen-tablet: 768px; $screen-tablet: 768px;
$screen-laptop: 1024px; $screen-laptop: 1024px;

View File

@ -8,21 +8,25 @@
// css variables // css variables
:root { :root {
--bg-normal: #{$bg-light}; --bg-normal: #{$bg-light};
--bg-dark: #{$bg-dark}; --bg-dark: #{$bg-dark};
--border-normal: #{$border-light}; --border-normal: #{$border-light};
--border-dark: #{$border-dark}; --border-dark: #{$border-dark};
--text-normal: #{$font-color-navy}; --text-normal: #{$font-color-navy};
--text-normal-hl: #{$font-color-navier}; --text-normal-hl: #{$font-color-navier};
--text-dark: #{$font-color-gray}; --text-dark: #{$font-color-gray};
--text-dark-hl: #{$font-color-white}; --text-dark-hl: #{$font-color-white};
--font-base: #{$font-size-base}; --font-base: #{$font-size-base};
--link-tb-normal: #{$link-tb-normal}; --link-tb-normal: #{$link-tb-normal};
--link-tb-dark: #{$link-tb-dark}; --link-tb-dark: #{$link-tb-dark};
--link-gh-normal: #{$link-gh-normal}; --link-gh-normal: #{$link-gh-normal};
--link-gh-dark: #{$link-gh-dark}; --link-gh-dark: #{$link-gh-dark};
--link-blog-normal: #{$link-blog-normal}; --link-blog-normal: #{$link-blog-normal};
--link-blog-dark: #{$link-blog-dark}; --link-blog-dark: #{$link-blog-dark};
--link-gitea-normal: #{$link-gitea-normal};
--link-gitea-dark: #{$link-gitea-dark};
--link-pf-normal: #{$link-pf-normal};
--link-pf-dark: #{$link-pf-dark};
} }
// icons // icons
@ -85,6 +89,18 @@ footer {
font-size: max(8vmin, 36px); font-size: max(8vmin, 36px);
margin-right: 4vmin; margin-right: 4vmin;
&.blog {
color: var(--link-blog-normal);
}
&.email {
color: #ef5777;
}
&.gitea {
color: var(--link-gitea-normal);
}
&.github { &.github {
color: var(--link-gh-normal); color: var(--link-gh-normal);
} }
@ -93,12 +109,8 @@ footer {
color: #3088d4; color: #3088d4;
} }
&.email { &.pixelfed {
color: #ef5777; color: var(--link-pf-normal);
}
&.blog {
color: var(--link-blog-normal);
} }
} }
} }