+
{convertDate(post.date)}
diff --git a/src/index.css b/src/index.css
index 386e8f1..28eee42 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,42 +1,94 @@
+@media (min-width: 768px) {
+ main {
+ max-width: 768px;
+ margin: 0 1.5rem;
+ }
+
+ .post-listing-item {
+ display: flex;
+ flex-direction: row;
+ }
+}
+
+@media (max-width: 768px) {
+ .post-listing-item {
+ display: flex;
+ flex-direction: column;
+ }
+}
+
+.post-listing-item {
+ display: flex;
+}
+
+h1.site-title {
+ font-weight: 800;
+}
+
.header-links {
- display: flex;
- list-style: none;
- gap: .5rem;
- margin: 0;
- padding: 0;
+ display: flex;
+ list-style: none;
+ gap: 0.5rem;
+ margin: 0;
+ padding: 0;
}
.plain-link {
- color: inherit;
- text-decoration: none;
+ color: inherit;
+ text-decoration: none;
}
.no-bullets {
- list-style: none;
- padding-left: 0;
+ list-style: none;
+ padding-left: 0;
}
blockquote {
- font-style: italic;
+ font-style: italic;
}
figcaption {
- text-align: center;
- font-style: italic;
+ text-align: center;
+ font-style: italic;
+ font-size: 14px;
}
figure {
- text-align: center;
+ text-align: center;
}
figure img {
- width: 100%;
- max-width: 500px;
- min-width: 300px;
- height: auto;
+ width: 100%;
+ max-width: 500px;
+ min-width: 300px;
+ height: auto;
}
.shiki {
- padding: 1rem;
- border: 1pt solid black;
-}
\ No newline at end of file
+ padding: 1rem;
+ /* border: 1pt solid black; */
+ background-color: whitesmoke !important;
+ overflow: auto;
+}
+
+.code-stat-grid {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ margin-bottom: 0.5rem;
+}
+
+.code-stat-label {
+ font-weight: 500;
+ font-style: italic;
+}
+
+.code-stats-disclaimer {
+ font-style: italic;
+ font-size: 14px;
+ text-align: center;
+}
+
+.about-li-padding {
+ padding-right: 1rem;
+}
diff --git a/src/pages/about.jsx b/src/pages/about.jsx
index 380237a..88d4212 100644
--- a/src/pages/about.jsx
+++ b/src/pages/about.jsx
@@ -57,29 +57,33 @@ const AboutPage = () => {
>
Arria NLG
{" "}
- and in several web developer roles. Before software I was a
+ and in several web developer roles. Before software, I was a
teacher.{" "}
+
I am licenced amateur radio operator. My callsign is ME7SYO.
+
Some things I like:
-
diff --git a/src/pages/home.jsx b/src/pages/home.jsx
index b65c911..2001d45 100644
--- a/src/pages/home.jsx
+++ b/src/pages/home.jsx
@@ -4,13 +4,13 @@ import { usePosts } from "@/hooks/usePosts"
import gruvboxComputer from "../images/gruvbox-computer.svg"
import EolasListing from "@/components/EolasListing"
import CodeStats from "../containers/CodeStats"
-// import TodayILearned from "@/containers/TodayILearned"
+import { Link } from "react-router"
const HomePage = () => {
const { posts } = usePosts()
return (
- A wizard who goes to bed early. This is my technical scrapbook
+
A wizard who goes to bed early. This is my technical scrapbook
and digital garden.
@@ -23,8 +23,7 @@ const HomePage = () => {
/>
- {/*
- */}
+
)
}
diff --git a/src/templates/BlogTemplate.jsx b/src/templates/BlogTemplate.jsx
index 42662db..f70a52c 100644
--- a/src/templates/BlogTemplate.jsx
+++ b/src/templates/BlogTemplate.jsx
@@ -12,7 +12,7 @@ const BlogTemplate = () => {
return (
-
+
{!post ? (
Loading...
) : (
@@ -25,7 +25,8 @@ const BlogTemplate = () => {
-
+
+
Tag(s):
{post?.tags?.map((tag, i) => (
{
)}
diff --git a/src/templates/MainTemplate.jsx b/src/templates/MainTemplate.jsx
index 25541c3..720426c 100644
--- a/src/templates/MainTemplate.jsx
+++ b/src/templates/MainTemplate.jsx
@@ -5,12 +5,16 @@ const Header = () => {
return (