From 5144b142f670a864cbbab438a3dc31efceedb3fd Mon Sep 17 00:00:00 2001 From: Elis Eriksson Date: Sat, 4 Jul 2026 21:32:01 +0200 Subject: site update idk its mostly the blog tho --- _includes/nav.njk | 2 +- assets/css/main.css | 27 +++++++++++++++++++-------- content/blog.md | 11 ----------- content/extras.md | 14 -------------- content/index.md | 9 +++++++++ siteconfig.mjs | 2 +- 6 files changed, 30 insertions(+), 35 deletions(-) delete mode 100644 content/blog.md delete mode 100644 content/extras.md diff --git a/_includes/nav.njk b/_includes/nav.njk index 0285bbe..5227c2f 100644 --- a/_includes/nav.njk +++ b/_includes/nav.njk @@ -10,7 +10,7 @@ {%- endfor -%} {%- for s in site.headerLinks -%}
  • - {{ s.name }} + {{ s.name }}
  • {%- endfor -%} diff --git a/assets/css/main.css b/assets/css/main.css index 5c31c05..6e6a045 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -7,6 +7,10 @@ body { padding: 0.5rem; } +main > h1 { + text-align: center; +} + a { color: var(--text); --brackets-color: var(--accent); @@ -71,7 +75,8 @@ a[target="_blank"]::after { z-index: 1; top: 100%; left: 50%; - margin-left: -50%; + transform: translateX(-50%); + min-width: 100%; } .tooltip:hover .tooltiptext { visibility: visible; @@ -191,13 +196,6 @@ picture { } picture img { max-width: 100%; - box-shadow: - var(--base) 0.2rem 0.2rem 0px, - var(--text) 0.6rem 0.6rem 0px, - var(--base) -0.2rem -0.2rem 0px, - var(--text) -0.6rem -0.6rem 0px - ; - border-radius: 0rem; } @media screen and (max-width: 80ch) { @@ -263,3 +261,16 @@ picture img { .split > * { flex: 1; } + +a.blogpost { + display:block; +} +a.blogpost:after, +a.blogpost:before { + content: ""; +} + +a.blogpost > h3 { + margin:0; +} + diff --git a/content/blog.md b/content/blog.md deleted file mode 100644 index ba5ff53..0000000 --- a/content/blog.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Blog -layout: page -nav: 20 ---- - diff --git a/content/extras.md b/content/extras.md deleted file mode 100644 index dd53abd..0000000 --- a/content/extras.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Extras -layout: page -nav: 19 ---- - -## Services - -[Git repos](https://git.spelis.li/) -[File Share](https://share.spelis.li/) - -## Random - -[Wallpapers](https://share.spelis.li/Wallpapers/) diff --git a/content/index.md b/content/index.md index 167b121..0aad45c 100644 --- a/content/index.md +++ b/content/index.md @@ -23,6 +23,15 @@ You can browse some Git repositories of mine +--- +# Blog +
    {% for post in collections.blog | reverse %} + +

    {{ post.data.title }}

    + {{ post.date | date }}{{ post.url }} +

    {% endfor %} +
    + --- Location: Northern Sweden diff --git a/siteconfig.mjs b/siteconfig.mjs index 555531b..15335d7 100644 --- a/siteconfig.mjs +++ b/siteconfig.mjs @@ -1,7 +1,6 @@ export const config = { siteTitle: "Spelis", - footerLinks: [ {name: "Github", tooltip: "@Spelis", href:"https://spelis.li/gh"}, {name: "YouTube", tooltip: "@Spelis", href:"https://spelis.li/yt"}, @@ -11,5 +10,6 @@ export const config = { headerLinks: [ {name: "Git", href:"https://git.spelis.li/"}, + {name: "Files", href:"https://share.spelis.li/"}, ] } -- cgit v1.3-7-ge9ab