slightly cleaner header css

This commit is contained in:
Andrew-71 2024-03-18 12:46:20 +03:00
parent 41923158a3
commit 56c29e200a
3 changed files with 8 additions and 5 deletions

View file

@ -2,14 +2,14 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="/public/css/main.css">
<link rel="stylesheet" href="/public/main.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hibiscus.txt</title>
</head>
<body>
<header>
<h1 style="margin-bottom:0;margin-top:0;">🌺 Hibiscus.txt</h1>
<p id="status" style="margin-top:0;">Today is <span id="today-date">14/03/2024</span></p>
<h1>🌺 Hibiscus.txt</h1>
<p id="status">Today is <span id="today-date">a place</span></p>
</header>
<main>
<h2 style="margin-bottom:0;"><label for="day">Your day so far:</label></h2>

View file

@ -55,6 +55,11 @@ button {
button:hover { background-color: #e66868; }
header > h1, header > p {
margin-bottom:0;
margin-top:0;
}
/* Dark theme */
@media (prefers-color-scheme: dark) {
body {

View file

@ -8,8 +8,6 @@ import (
"strconv"
)
const PORT = 7101 // TODO: Obviously don't just declare port here
func Serve() {
r := chi.NewRouter()
r.Use(middleware.Logger, middleware.CleanPath, middleware.StripSlashes)