From 8358c0765be412b1616aa978667f5d582e9e4901 Mon Sep 17 00:00:00 2001 From: a73x Date: Sun, 1 Dec 2024 13:27:00 +0000 Subject: feat(css): centered content --- public/ethos.html | 53 +++++++++++++++++---------------- public/index.html | 66 +++++++++++++++++++++++------------------ public/posts.html | 53 +++++++++++++++++---------------- public/posts/2024-08-25-01.html | 53 +++++++++++++++++---------------- public/posts/2024-08-25-02.html | 53 +++++++++++++++++---------------- public/posts/2024-08-25-03.html | 53 +++++++++++++++++---------------- public/posts/2024-08-26-01.html | 53 +++++++++++++++++---------------- public/posts/2024-08-31-01.html | 53 +++++++++++++++++---------------- public/posts/2024-09-04-01.html | 53 +++++++++++++++++---------------- public/posts/2024-09-08-01.html | 53 +++++++++++++++++---------------- public/posts/2024-11-09-01.html | 53 +++++++++++++++++---------------- public/static/styles.css | 23 +++++++++++++- templates/layouts/_default.html | 41 +++++++++++++------------ 13 files changed, 361 insertions(+), 299 deletions(-) diff --git a/public/ethos.html b/public/ethos.html index d928a6e..c23291e 100644 --- a/public/ethos.html +++ b/public/ethos.html @@ -14,26 +14,27 @@ -

a73x

- high effort, low reward - - +
+

a73x

+ high effort, low reward + +

ethos

This Site Has an Ethos

@@ -78,11 +79,13 @@

The modern web is bloated, intrusive, and corporate-controlled. This site represents a different vision: a lean, personal, and sustainable space, built with simplicity and independence in mind. As long as I keep learning and experimenting, I’ll continue to share what I discover. Perhaps it will inspire others to reclaim their own corner of the internet and create a web that reflects the values of its users, not just its corporations.

-
-
​ -
​​​​​​​​​​​​​​​​​​​
​​​​​ -

see something you disagree with? email: yourewrong@a73x.sh

-
+
+
+
+ ​​​​​​​​​​​​​​​​​​​
​ +

see something you disagree with? email: yourewrong@a73x.sh

+
+
diff --git a/public/index.html b/public/index.html index 18ef34b..de115be 100644 --- a/public/index.html +++ b/public/index.html @@ -14,26 +14,27 @@ -

a73x

- high effort, low reward - - +
+

a73x

+ high effort, low reward + +

home

Welcome!

@@ -65,15 +66,19 @@ more CPU == more contention

#git

resources

@@ -84,14 +89,17 @@ more CPU == more contention
  • Database Internals
  • Efficient Go
  • The Art of Doing Science
  • +
  • The Art of Agile Development
  • -
    -
    ​ -
    ​​​​​​​​​​​​​​​​​​​
    ​​​​​ -

    see something you disagree with? email: yourewrong@a73x.sh

    -
    +
    +
    +
    + ​​​​​​​​​​​​​​​​​​​
    ​ +

    see something you disagree with? email: yourewrong@a73x.sh

    +
    +
    diff --git a/public/posts.html b/public/posts.html index 9259ba4..fe93b2b 100644 --- a/public/posts.html +++ b/public/posts.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    posts

    -
    -
    ​ -
    ​​​​​​​​​​​​​​​​​​​
    ​​​​​ -

    see something you disagree with? email: yourewrong@a73x.sh

    -
    +
    +
    +
    + ​​​​​​​​​​​​​​​​​​​
    ​ +

    see something you disagree with? email: yourewrong@a73x.sh

    +
    +
    diff --git a/public/posts/2024-08-25-01.html b/public/posts/2024-08-25-01.html index 4bd4371..91f5a84 100644 --- a/public/posts/2024-08-25-01.html +++ b/public/posts/2024-08-25-01.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    Go Benchmarking

    diff --git a/public/posts/2024-08-25-02.html b/public/posts/2024-08-25-02.html index 81e8f77..541697b 100644 --- a/public/posts/2024-08-25-02.html +++ b/public/posts/2024-08-25-02.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    Go Project Layouts

    Do you lay awake at night and consider how to optimally layout your Go project? No…? what about recommending Windows to a friend or colleague?? @@ -142,11 +143,13 @@ I can’t be bothered rewriting my example, so here’s a random one I f

    My vague summary is that clean code gives you a north star to follow, an idea of how you want to separate and reason about the packages you create. You don’t need to create the entities of abstraction that are also presented. Think about what things do or relate to and create packages for them. You should allow your project to grow organically but don’t expect architecture to appear without following a north star.

    -
    -
    ​ -
    ​​​​​​​​​​​​​​​​​​​
    ​​​​​ -

    see something you disagree with? email: yourewrong@a73x.sh

    -
    +
    +
    +
    + ​​​​​​​​​​​​​​​​​​​
    ​ +

    see something you disagree with? email: yourewrong@a73x.sh

    +
    +
    diff --git a/public/posts/2024-08-25-03.html b/public/posts/2024-08-25-03.html index 07e48a0..d3fa17c 100644 --- a/public/posts/2024-08-25-03.html +++ b/public/posts/2024-08-25-03.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    Levels of Optimisation

    diff --git a/public/posts/2024-08-26-01.html b/public/posts/2024-08-26-01.html index acf51a6..547e86c 100644 --- a/public/posts/2024-08-26-01.html +++ b/public/posts/2024-08-26-01.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    Writing HTTP Handlers

    I’m sharing how I write handlers in Go.

    @@ -269,11 +270,13 @@ The handler functions accept a context param and their expected str

    You can extend this to all the other request types. If you have query or path parameters, you could either pass in the request, write a custom struct tag parser, or find someone else who has already done it: https://github.com/gorilla/schema.

    -
    -
    ​ -
    ​​​​​​​​​​​​​​​​​​​
    ​​​​​ -

    see something you disagree with? email: yourewrong@a73x.sh

    -
    +
    +
    +
    + ​​​​​​​​​​​​​​​​​​​
    ​ +

    see something you disagree with? email: yourewrong@a73x.sh

    +
    +
    diff --git a/public/posts/2024-08-31-01.html b/public/posts/2024-08-31-01.html index 68d8563..955c4d0 100644 --- a/public/posts/2024-08-31-01.html +++ b/public/posts/2024-08-31-01.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    Go's unique pkg

    https://pkg.go.dev/unique

    @@ -85,11 +86,13 @@ -
    -
    ​ -
    ​​​​​​​​​​​​​​​​​​​
    ​​​​​ -

    see something you disagree with? email: yourewrong@a73x.sh

    -
    +
    +
    +
    + ​​​​​​​​​​​​​​​​​​​
    ​ +

    see something you disagree with? email: yourewrong@a73x.sh

    +
    +
    diff --git a/public/posts/2024-09-04-01.html b/public/posts/2024-09-04-01.html index 2e1abae..248ec34 100644 --- a/public/posts/2024-09-04-01.html +++ b/public/posts/2024-09-04-01.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    Kubernetes Intro

    diff --git a/public/posts/2024-09-08-01.html b/public/posts/2024-09-08-01.html index 72cde61..ade7fdf 100644 --- a/public/posts/2024-09-08-01.html +++ b/public/posts/2024-09-08-01.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    Building a Static Site with Hugo and Docker

    diff --git a/public/posts/2024-11-09-01.html b/public/posts/2024-11-09-01.html index e825118..a79f7e4 100644 --- a/public/posts/2024-11-09-01.html +++ b/public/posts/2024-11-09-01.html @@ -14,26 +14,27 @@ -

    a73x

    - high effort, low reward - - +
    +

    a73x

    + high effort, low reward + +

    Refactoring

    diff --git a/public/static/styles.css b/public/static/styles.css index 7b9590e..1de3a03 100644 --- a/public/static/styles.css +++ b/public/static/styles.css @@ -20,19 +20,40 @@ blockquote { padding-left: 10px; } +hr { + border: none; + border-top: 1px dashed black; +} + code { font-family: "Mono"; } h1 { margin-bottom: 0; + font-size: 1.8rem; +} + +h2 { + margin-bottom: 0; + font-size: 1.5rem; +} + +h3 { + margin-bottom: 0; + font-size: 1.2rem; } body { - max-width: 70ch; font-family: "Mono"; } +main { + max-width: 70ch; + margin-left: auto; + margin-right: auto; +} + .nav ul { display: flex; list-style: none; diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html index 5b9521c..4ea8888 100644 --- a/templates/layouts/_default.html +++ b/templates/layouts/_default.html @@ -14,25 +14,28 @@ -

    a73x

    - high effort, low reward - - {{ template "content" . }} - +
    +

    a73x

    + high effort, low reward + + {{ template "content" . }} + +
    -- cgit v1.2.3