fix: consistent authors, actually use link colors

This commit is contained in:
a 2024-06-06 02:18:20 -05:00
parent 78d91e21c6
commit 76df0dca83
18 changed files with 55 additions and 56 deletions

View file

@ -3,14 +3,15 @@ a {
@media (prefers-reduced-motion) { @media (prefers-reduced-motion) {
transition: none; transition: none;
} }
color: inherit;
&:link { &:link {
color: var(--link-color); color: var(--color-link);
text-decoration-thickness: .125rem; text-decoration-thickness: .125rem;
text-underline-offset: 0.125em; text-underline-offset: 0.125em;
text-decoration-skip-ink: none; text-decoration-skip-ink: none;
} }
&:visited { &:visited {
color: var(--link-visited); color: var(--color-link-visited);
} }
&:focus { &:focus {
outline-offset: 0.5rem; outline-offset: 0.5rem;

View file

@ -9,35 +9,35 @@
grid-template-columns: 1fr auto; grid-template-columns: 1fr auto;
} }
.support { // .support {
--icon-size: 2rem; // --icon-size: 2rem;
svg { // svg {
font-size: var(--icon-size, 2rem); // font-size: var(--icon-size, 2rem);
} // }
span { // span {
display: none; // display: none;
} // }
padding: 1rem; // padding: 1rem;
display: grid; // display: grid;
place-items: center; // place-items: center;
background: var(--color-accent); // background: var(--color-accent);
color: var(--color-text); // color: var(--color-text);
text-decoration: none; // text-decoration: none;
&:hover { // &:hover {
background-color: var(--color-button-hover-background); // background-color: var(--color-button-hover-background);
color: var(--color-button-hover-text); // color: var(--color-button-hover-text);
} // }
border-radius: 0.75rem; // border-radius: 0.75rem;
@media (min-width: 400px) { // @media (min-width: 400px) {
span {display: unset;} // span {display: unset;}
grid-template-columns: var(--icon-size, 1rem) auto; // grid-template-columns: var(--icon-size, 1rem) auto;
width: unset; // width: unset;
gap: 1rem; // gap: 1rem;
padding-inline: 1rem; // padding-inline: 1rem;
} // }
} // }
@ -136,10 +136,13 @@
box-shadow: unset; box-shadow: unset;
padding-block-end: unset; padding-block-end: unset;
ul {gap: 1rem;} ul {gap: 1rem;}
a {
}
} }
.container { .container {
grid-template-columns: auto 1fr auto; grid-template-columns: auto 1fr;
grid-template-areas: "mast nav button"; grid-template-areas: "mast nav";
gap: 1rem; gap: 1rem;
} }

View file

@ -5,19 +5,18 @@
@import "base/links.scss"; @import "base/links.scss";
@import "libraries/photoswipe.scss"; @import "libraries/photoswipe.scss";
@import "layouts/partials/site-header.scss"; @import "layouts/partials/site/site-header.scss";
@import "layouts/partials/site-footer.scss"; @import "layouts/partials/site/site-footer.scss";
@import "layouts/partials/breadcrumbs.scss"; @import "layouts/partials/site/breadcrumbs.scss";
@import "layouts/_default/single.scss"; @import "layouts/_default/single.scss";
@import "layouts/_default/list.scss"; @import "layouts/_default/list.scss";
@import "layouts/index.scss"; @import "layouts/index.scss";
@import "layouts/blog/list.scss"; @import "layouts/blog/list.scss";
@import "layouts/blog/single.scss"; @import "layouts/blog/single.scss";
@import "layouts/partials/h-entry.scss"; @import "layouts/partials/list/h-entry.summary.scss";
@import "layouts/taxonomy/category.scss"; @import "layouts/taxonomy/category.scss";
@import "layouts/taxonomy/author.scss"; @import "layouts/taxonomy/author.scss";

View file

@ -1,7 +1,7 @@
+++ +++
title = "Liberapay: Add Pleroma support" title = "Liberapay: Add Pleroma support"
summary = "Pleroma is compatible with the Mastodon API, but uses a different URL format. This pull request creates a Pleroma identity provider within Liberapay that takes this difference into account." summary = "Pleroma is compatible with the Mastodon API, but uses a different URL format. This pull request creates a Pleroma identity provider within Liberapay that takes this difference into account."
authors = ["Abdullah Tarawneh"] authors = ["a"]
date = 2019-11-13 date = 2019-11-13
tags = ["mastodon", "api", "pleroma", "liberapay", "contribution", "pull request", "github"] tags = ["mastodon", "api", "pleroma", "liberapay", "contribution", "pull request", "github"]
categories = ["Code"] categories = ["Code"]

View file

@ -1,7 +1,7 @@
+++ +++
title = "MastoMods" title = "MastoMods"
summary = "CSS tweaks and modifications for Mastodon, a libre micro-blogging social server similar to Twitter." summary = "CSS tweaks and modifications for Mastodon, a libre micro-blogging social server similar to Twitter."
authors = ["Abdullah Tarawneh"] authors = ["a"]
date = 2019-02-18 date = 2019-02-18
tags = ["mastomods", "mastodon", "css", "userstyles", "tweaks"] tags = ["mastomods", "mastodon", "css", "userstyles", "tweaks"]
categories = ["Code"] categories = ["Code"]

View file

@ -1,7 +1,7 @@
+++ +++
title = "You don't have a right to profit." title = "You don't have a right to profit."
summary = "People will go to ridiculous lengths in the name of protecting the “right” to profit. Lets be real here. No one has a “right” to profit." summary = "People will go to ridiculous lengths in the name of protecting the “right” to profit. Lets be real here. No one has a “right” to profit."
authors = ["Abdullah Tarawneh"] authors = ["a"]
date = 2015-07-08 date = 2015-07-08
tags = ["capitalism", "profit", "music", "music industry", "piracy", "distribution", "access"] tags = ["capitalism", "profit", "music", "music industry", "piracy", "distribution", "access"]
categories = ["Uncategorized"] categories = ["Uncategorized"]

View file

@ -2,7 +2,7 @@
title = "OBS Studio: Ctrl+E to Edit Transform" title = "OBS Studio: Ctrl+E to Edit Transform"
summary = "I added a shortcut to edit transforms on a source in OBS Studio." summary = "I added a shortcut to edit transforms on a source in OBS Studio."
date = 2017-04-30 date = 2017-04-30
authors = ["Abdullah Tarawneh"] authors = ["a"]
tags = ["obs", "open broadcaster software", "obs studio", "keyboard shortcut", "edit transform", "pull request", "github"] tags = ["obs", "open broadcaster software", "obs studio", "keyboard shortcut", "edit transform", "pull request", "github"]
categories = ["Code"] categories = ["Code"]
aliases = [ aliases = [

View file

@ -1,7 +1,7 @@
+++ +++
title = "PhotoBucketGrabber" title = "PhotoBucketGrabber"
summary = "[OBSOLETE] Download all your photos from PhotoBucket using this Python script." summary = "[OBSOLETE] Download all your photos from PhotoBucket using this Python script."
authors = ["Abdullah Tarawneh"] authors = ["a"]
date = 2019-03-17 date = 2019-03-17
tags = ["python", "photobucket", "automation", "scripting", "archive", "export", "download"] tags = ["python", "photobucket", "automation", "scripting", "archive", "export", "download"]
categories = ["Code"] categories = ["Code"]

View file

@ -1,7 +1,7 @@
+++ +++
title = "RIP Grooveshark." title = "RIP Grooveshark."
summary = "I last used Grooveshark earlier today. I refreshed the page and found that it was dead. [...] I find myself feeling about Grooveshark similarly as when I found out that Megaupload had been shut down, and that many of my files were lost forever." summary = "I last used Grooveshark earlier today. I refreshed the page and found that it was dead. [...] I find myself feeling about Grooveshark similarly as when I found out that Megaupload had been shut down, and that many of my files were lost forever."
authors = ["Abdullah Tarawneh"] authors = ["a"]
date = 2015-05-01 date = 2015-05-01
tags = ["grooveshark", "music", "music industry", "culture", "user generated content", "capitalism", "copyright"] tags = ["grooveshark", "music", "music industry", "culture", "user generated content", "capitalism", "copyright"]
categories = ["Uncategorized"] categories = ["Uncategorized"]

View file

@ -2,7 +2,7 @@
title = "salatime" title = "salatime"
summary = "[OBSOLETE] Basic terminal script to print out daily prayer times for Birmingham, AL." summary = "[OBSOLETE] Basic terminal script to print out daily prayer times for Birmingham, AL."
date = 2019-05-09 date = 2019-05-09
authors = ["Abdullah Tarawneh"] authors = ["a"]
tags = ["python", "web scraping", "scraping", "beautifulsoup", "salat", "prayer", "time"] tags = ["python", "web scraping", "scraping", "beautifulsoup", "salat", "prayer", "time"]
categories = ["Code"] categories = ["Code"]
aliases = [ aliases = [

View file

@ -1,7 +1,7 @@
+++ +++
title = "Twitter is no longer a social network." title = "Twitter is no longer a social network."
summary = "That service that started out as a way to send status updates to your friends has been replaced by Twitter, a bloated, lumbering mess trying to force-feed you a stale diet of whatever Content™ floats to the top of the river of shit." summary = "That service that started out as a way to send status updates to your friends has been replaced by Twitter, a bloated, lumbering mess trying to force-feed you a stale diet of whatever Content™ floats to the top of the river of shit."
authors = ["Abdullah Tarawneh"] authors = ["a"]
date = 2018-04-27 date = 2018-04-27
tags = ["twitter", "social network", "social media", "analysis", "capitalism"] tags = ["twitter", "social network", "social media", "analysis", "capitalism"]
categories = ["Communication"] categories = ["Communication"]

View file

@ -48,12 +48,12 @@ name = "Work"
pageRef = "/work/" pageRef = "/work/"
weight = 30 weight = 30
# [[menu.main]] [[menu.main]]
# identifier = "fedi" identifier = "support"
# pre = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><title>ph:fediverse-logo-fill</title><path fill="currentColor" d="M212 96a27.8 27.8 0 0 0-10.51 2L171 59.94A28 28 0 1 0 120 44a29 29 0 0 0 .15 2.94L73.68 66.3a28 28 0 1 0-28.6 44.83l1.85 46.38a28 28 0 1 0 32.74 41.42L128 212.47a28 28 0 1 0 49.13-18.79l27.21-42.75A28 28 0 1 0 212 96m-140.81 8.36L113.72 129l-41.46 32.22a28 28 0 0 0-9.34-4.35l-1.85-46.38a28 28 0 0 0 10.12-6.13M149.57 72a27.8 27.8 0 0 0 8.94-2L189 108.06a27.9 27.9 0 0 0-4.18 9.22l-46.57 2.22ZM82.09 173.85L124 141.26l15.94 47.83a28.2 28.2 0 0 0-7.6 8L84 183.53a28 28 0 0 0-1.91-9.68M156 184h-.89l-16.18-48.53l46.65-2.22a27.9 27.9 0 0 0 5.28 9L163.65 185a28 28 0 0 0-7.65-1M126.32 61.7a28.4 28.4 0 0 0 7.68 6.54l-11.3 47.45l-43.47-25.17A28 28 0 0 0 80 84a29 29 0 0 0-.15-2.94Z"/></svg>' pre = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><title>tabler:tip-jar</title><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M14 10h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3H10m2-7v1m0 6v1"/><path d="M17 4v1.882c0 .685.387 1.312 1 1.618s1 .933 1 1.618V18a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3V9.118c0-.685.387-1.312 1-1.618s1-.933 1-1.618V4M6 4h12z"/></g></svg>'
# name = "fedi" name = "fund"
# pageRef = "/fediverse/" pageRef = "/support/"
# weight = 40 weight = 40
[[menu.main]] [[menu.main]]
identifier = "blog" identifier = "blog"

View file

@ -22,10 +22,10 @@
</head> </head>
<body> <body>
{{ block "body" . }} {{ block "body" . }}
{{ partial "site/header.html" . }} {{ partial "site/site-header.html" . }}
{{ block "main" . }} {{ block "main" . }}
{{ end }} {{ end }}
{{ partial "site/footer.html" .}} {{ partial "site/site-footer.html" .}}
{{ end }} {{ end }}
</body> </body>
</html> </html>

View file

@ -4,10 +4,6 @@
<img class="site-icon" width=32 src="/images/people/avatar.png" alt=""> <img class="site-icon" width=32 src="/images/people/avatar.png" alt="">
<p class="site-title">hi, i'm a.</p> <p class="site-title">hi, i'm a.</p>
</a> </a>
<a href="/support" class="support">
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><title>tabler:tip-jar</title><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M14 10h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3H10m2-7v1m0 6v1"/><path d="M17 4v1.882c0 .685.387 1.312 1 1.618s1 .933 1 1.618V18a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3V9.118c0-.685.387-1.312 1-1.618s1-.933 1-1.618V4M6 4h12z"/></g></svg>
<span>support me</span>
</a>
<nav class="site-nav" aria-label="Main navigation"> <nav class="site-nav" aria-label="Main navigation">
<ul> <ul>
{{ $currentPage := . }} {{ $currentPage := . }}