diff options
| -rw-r--r-- | static/styles.css | 2 | ||||
| -rw-r--r-- | templates/blog/post.html.template | 4 | ||||
| -rw-r--r-- | templates/index.html.template | 16 |
3 files changed, 11 insertions, 11 deletions
diff --git a/static/styles.css b/static/styles.css index 5f7996e..6902bd2 100644 --- a/static/styles.css +++ b/static/styles.css @@ -17,7 +17,7 @@ h1 { font-family: 'QuickLove'; } -article { +section { max-width: 800px; margin: 0 auto 50px; padding: 40px; diff --git a/templates/blog/post.html.template b/templates/blog/post.html.template index d250fee..80670d6 100644 --- a/templates/blog/post.html.template +++ b/templates/blog/post.html.template @@ -1,5 +1,5 @@ -<article> +<section> <a href="/">⬅️Home</a> <h1>{{template "title" .}}</h1> {{template "post"}} -</article> +</section> diff --git a/templates/index.html.template b/templates/index.html.template index 43e35f9..4737e3d 100644 --- a/templates/index.html.template +++ b/templates/index.html.template @@ -1,19 +1,19 @@ {{define "title"}}roseh.moe{{end}} -<div style="background-image:url(/static/index/stars.gif);background-repeat:repeat;height:500px;display:flex;justify-content:center;align-items:center"> - <h1>roseh.moe</h1> +<div style="background-image:url(/static/index/stars.gif);background-repeat:repeat;height:500px;display:flex"> + <h1 style="margin:auto">roseh.moe</h1> </div> -<article> - <center> +<section> + <div style="display:flex"> <img src="/static/index/kanna.png" alt="A dragon loli" style="border-radius:50%;margin:-100px auto 20px"> - </center> + </div> <p><a href="/pong">Games?</a> (Warning: loud)</p> -</article> +</section> {{range .}} -<article> +<section> <a href="/blog/{{.Slug}}"><h2>{{.Name}}</h2></a> -</article> +</section> {{end}} |
