Adds and embeds a default style.css file

This commit is contained in:
Miguel de la Cruz 2024-07-03 20:55:41 +02:00
parent c251e1543d
commit 2a17689a9f
4 changed files with 27 additions and 7 deletions

View file

@ -4,8 +4,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{.name}}</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="icon" type="image/png" href="{{.relpath}}favicon.png" />
<link rel="stylesheet" type="text/css" href="{{.relpath}}style.css" />
</head>
<body>
<h1>{{.name}}</h1>

4
templates/style.css Normal file
View file

@ -0,0 +1,4 @@
body {
background-color: lightgrey;
font-family: monospace;
}