flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 574cd34fd855e31a22511e226d26b9d25be4d99c
parent 3fb8fb8a30e4be06a5582316ce84fe6a12b75ee3
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Fri, 13 Nov 2020 19:28:53 -0800

Clean up some css

Diffstat:
Mtemplates/index.html | 5++++-
Mtemplates/my_site.html | 1+
Mtemplates/static/style.css | 9+++++++--
3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/templates/index.html b/templates/index.html @@ -3,11 +3,14 @@ <h1>🐟{{.PageTitle}}!</h1> {{template "nav.html" .}} <br> -Welcome to flounder! For more information and site updates, check out the <a href="//admin.{{$domain}}">admin page</a> +<p> +Welcome to flounder! For more information and site updates, check out the <a href="//admin.{{$domain}}">admin page</a></p> <h2>All users:</h2> {{ range .Users}} <a href="//{{.}}.{{$domain}}" class='person-link'>{{.}}</a> {{end}} +<br> +<br> <h2>Recently updated files:</h2> {{ range .Files }} <div> diff --git a/templates/my_site.html b/templates/my_site.html @@ -7,6 +7,7 @@ </a> </h1> {{template "nav.html" .}} +<br> <h3>Your files:</h3> {{ define "file" }} <tr> diff --git a/templates/static/style.css b/templates/static/style.css @@ -7,14 +7,19 @@ main { background-color: white; line-height: 1.5; } -h1 { - margin-top: 0; + +h1, h2, h3, h4, h5, h6{ + margin-top:0; + margin-bottom:.2em; } body { background-color: lightgrey; } +table { + margin-left: 7px +} p { margin-bottom: .2em; line-height: 1.5;