slightly cleaner header css
This commit is contained in:
parent
41923158a3
commit
56c29e200a
3 changed files with 8 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -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 {
|
2
serve.go
2
serve.go
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue