index — crispy-website @ 30b19fe857068375374a78e9ea02a946d714aca0

My personal homepage (very crispy)

css: add global css
crispy-caesus crispy@crispy-caesus.eu
Tue, 24 Mar 2026 20:24:15 +0100
commit

30b19fe857068375374a78e9ea02a946d714aca0

parent

0b04baf7f40ba4b584d2c58ac47f10829950e384

A static/global.css

@@ -0,0 +1,13 @@

+body { + font-family: "Liberation Sans", Helvetica, Arial, sans-serif; + line-height: 1.6; + + background-color: #1e2021; + color: #c8c3bc; + + justify-content: center; + align-items: flex-start; + + min-height: 100vh; + padding: 2em; +}
M static/index.cssstatic/index.css

@@ -6,17 +6,14 @@ }

/* Body styling */ body { - background-color: #1e2021; - font-family: Arial, sans-serif; - color: #c8c3bc; line-height: 1.6; min-height: 100vh; width: 100%; font-size: 1em; display: flex; flex-direction: column; - justify-content: center; align-items: center; + padding: 0em; } /* Center the main container */
M static/music.cssstatic/music.css

@@ -1,17 +1,3 @@

-body { - font-family: Arial, sans-serif; - color: #c8c3bc; - line-height: 1.6; - - background-color: #1e2021; - - justify-content: center; - align-items: flex-start; - - min-height: 100vh; - padding: 2em; -} - ul { display: flex; flex-direction: column;
M templates/blogpost.gotmpltemplates/blogpost.gotmpl

@@ -1,6 +1,15 @@

+<!doctype html> +<html lang="en"> + <head> + <title>{{.Title}}</title> + <link rel="stylesheet" href="../static/global.css" /> + <link rel="icon" type="image/png" href="../static/banan_icon.png" /> +</head> +<body> <h1>{{.Title}}</h1> {{.Date}} <br> <p> {{.Text}} </p> +</body>
M templates/blogposts.gotmpltemplates/blogposts.gotmpl

@@ -1,7 +1,16 @@

-<link rel="stylesheet" href="../static/blogPage.css" /> +<!doctype html> +<html lang="en"> + <head> + <title>crispy blog</title> + <link rel="stylesheet" href="../static/global.css" /> + <link rel="stylesheet" href="../static/blogPage.css" /> + <link rel="icon" type="image/png" href="../static/banan_icon.png" /> +</head> +<body> <h1>Crispy Blog</h1> <ul class=bloglist> {{range .}} <li>{{.Date}} <a href="{{.URL}}">{{.Title}}</a></li> {{end}} </ul> +</body>
M templates/index.htmltemplates/index.html

@@ -4,6 +4,7 @@ <head>

<meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>banana square</title> + <link rel="stylesheet" href="../static/global.css" /> <link rel="stylesheet" href="../static/index.css" /> <link rel="icon" type="image/png" href="../static/banan_icon.png" /> </head>
M templates/music.htmltemplates/music.html

@@ -4,6 +4,7 @@ <head>

<meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>toothbrushing music</title> + <link rel="stylesheet" href="static/global.css" /> <link rel="stylesheet" href="static/music.css" /> </head>