Footer refactor
This commit is contained in:
parent
a2e8daf1a3
commit
3b110a1a23
|
@ -1 +1,5 @@
|
|||
<footer></footer>
|
||||
<footer>
|
||||
<hr>
|
||||
Made with <a href="https://www.11ty.dev/">11ty</a>.
|
||||
{% if page.date %}<i>Last updated on {{ page.date | postDate }}</i>{% endif %}
|
||||
</footer>
|
|
@ -1,5 +1,5 @@
|
|||
<header>
|
||||
<a class="logo" href="/"><h1>{{ meta.siteName }}</h1></a>
|
||||
<header class="header_main">
|
||||
<a class="logo" href="/">{{ meta.siteName }}</a>
|
||||
<nav class="navbar">{{ collections.all | eleventyNavigation | eleventyNavigationToHtml | safe }}</nav>
|
||||
<hr>
|
||||
</header>
|
|
@ -94,6 +94,10 @@ main :where(ol, ul), article :where(ol, ul) {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
header.header_main {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: rgb(102, 128, 11);
|
||||
border-radius: 10px;
|
||||
|
@ -101,20 +105,14 @@ a {
|
|||
|
||||
a:hover, a:active {
|
||||
background-color: rgba(135, 154, 57, 0.25);
|
||||
color: rgb(102, 128, 11);
|
||||
}
|
||||
|
||||
.logo, .logo:hover, .logo:active {
|
||||
a.logo, a.logo:hover, a.logo:active {
|
||||
font-size: 3em;
|
||||
color: rgb(160, 47, 111);
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
margin: 0 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navbar :where(li) {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"sourceRoot":"","sources":["_colors.scss","_fonts.scss","global.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA;AAGA;EACE;EACA;;AAGF;AAAA;AAAA;AAGA;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAGF;AAAA;AAAA;AAGA;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;;ACzCF;AAAA;AAAA;AAAA;AAYA;EACE,kBFQM;EEPN,OATG;EAUH;EACA;;;AAGF;EACE,YAVa;;;AAaf;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE,OFEU;EEDV;;;AAGF;EACE,kBAtCS;EAuCT,OFJU;;;AEOZ;EACE;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE","file":"global.css"}
|
||||
{"version":3,"sourceRoot":"","sources":["_colors.scss","_fonts.scss","global.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA;AAGA;EACE;EACA;;AAGF;AAAA;AAAA;AAGA;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAGF;AAAA;AAAA;AAGA;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;;ACzCF;AAAA;AAAA;AAAA;AAWA;EACE,kBFSM;EERN,OARG;EASH;EACA;;;AAGF;EACE,YAVa;;;AAaf;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE,OFDU;EEEV;;;AAGF;EACE,kBAzCS;;;AA4CX;EACE;EACA,OFHY;EEIZ;;;AAGF;EACE","file":"global.css"}
|
|
@ -10,7 +10,6 @@ $fg: scale-color(colors.$magenta-600, $lightness: -20%);
|
|||
$fg-logo: colors.$magenta-600;
|
||||
$link: colors.$green-600;
|
||||
$bg-hover: scale-color(colors.$green-400, $alpha: -75%);
|
||||
$fg-hover: colors.$green-600;
|
||||
$bg-highlight: scale-color(colors.$magenta-600, $alpha: -75%);
|
||||
|
||||
body {
|
||||
|
@ -41,6 +40,10 @@ main :where(ol, ul), article :where(ol, ul) {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
header.header_main {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $link;
|
||||
border-radius: 10px;
|
||||
|
@ -48,20 +51,14 @@ a {
|
|||
|
||||
a:hover, a:active {
|
||||
background-color: $bg-hover;
|
||||
color: $fg-hover;
|
||||
}
|
||||
|
||||
.logo, .logo:hover, .logo:active {
|
||||
a.logo, a.logo:hover, a.logo:active {
|
||||
font-size: 3em;
|
||||
color: $fg-logo;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
margin: 0 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navbar :where(li) {
|
||||
display: inline-flex;
|
||||
}
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
layout: page.njk
|
||||
date: Last Modified
|
||||
eleventyNavigation:
|
||||
key: Home
|
||||
order: -1
|
||||
---
|
||||
|
||||
Hello! My name is Gil and this is my site. Pronouns are he/they. I write and tinker with software/hardware. I don't have much to put here except links (for now).
|
||||
|
@ -14,7 +11,3 @@ Hello! My name is Gil and this is my site. Pronouns are he/they. I write and tin
|
|||
- [pixelfed.social](https://pixelfed.social/kalanggam) — federated photo and video sharing
|
||||
- [beehaw](https://beehaw.org/u/kalanggam) — federated link aggregator/discussions
|
||||
- [bookwyrm.social](https://bookwyrm.social/user/kalanggam) — federated book reviews
|
||||
|
||||
---
|
||||
|
||||
Made with [11ty](https://www.11ty.dev/). _Last updated on {{ page.date | postDate }}_
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
title: Hey Girl
|
||||
date: Last Modified
|
||||
pubDate: 2023-05-18t20:12:32-05:00
|
||||
---
|
||||
|
||||
Hey girl,
|
||||
|
@ -46,7 +45,3 @@ You reminded me to fight
|
|||
until we are all free.
|
||||
|
||||
[← All poetry](/poetry/)
|
||||
|
||||
Published {{ pubDate | postDate }}
|
||||
|
||||
_Last modified {{ page.date | postDate }}_
|
||||
|
|
Loading…
Reference in a new issue