diff options
| -rw-r--r-- | assets/GoMonoNerdFont-Regular-Condensed.ttf | bin | 0 -> 2521640 bytes | |||
| -rw-r--r-- | assets/main.css | 59 | ||||
| -rw-r--r-- | templates/default.html | 24 |
3 files changed, 83 insertions, 0 deletions
diff --git a/assets/GoMonoNerdFont-Regular-Condensed.ttf b/assets/GoMonoNerdFont-Regular-Condensed.ttf Binary files differnew file mode 100644 index 0000000..bf3583d --- /dev/null +++ b/assets/GoMonoNerdFont-Regular-Condensed.ttf diff --git a/assets/main.css b/assets/main.css new file mode 100644 index 0000000..a4618bd --- /dev/null +++ b/assets/main.css @@ -0,0 +1,59 @@ +* { + font-family: "GoMono Nerd Font", monospace; + font-size: 12pt; +} + +@font-face { + font-family: "GoMono Nerd Font"; + src: url("GoMonoNerdFont-Regular-Condensed.ttf") format("truetype"); + font-weight: 400; + font-style: normal; +} + +h1 { + font-size: 2rem; +} + +h2 { + font-size: 1.75rem; +} + +h3 { + font-size: 1.5rem; +} + +body { + background: #ffd1dc; +} + +header, footer { + text-align: center; +} + +main { + display: flex; + flex-direction: column; + align-items: center; + width: 100%; +} + +a { + padding: 2px; + background: #ee0070; + color: black; + font-weight: bold; +} + +a:visited { + background: ; +} + +#content { + width: 768px; +} + +@media only screen and (max-width: 768px) { + #content { + width: 100%; + } +} diff --git a/templates/default.html b/templates/default.html new file mode 100644 index 0000000..514b7da --- /dev/null +++ b/templates/default.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>{{ .Title }}{{ or .Config.Extra.title_suffix "" }}</title> + <meta name="description" content="{{ .Description }}"> + <link rel="stylesheet" href="main.css"> + </head> + <body> + <header> + <h1>chers</h1> + </header> + <main> + <div id="content"> + {{ .Content }} + </div> + </main> + <footer> + <p>hi.</p> + </footer> + </body> +</html> + |
