shii.moe

Source for `shii.moe' website.
git clone git://git.knutsen.co/shii.moe
Log | Files | Refs | README | LICENSE

commit e8ad15f7d84886e3ece62007d0e4a5b9db4a79c4
parent 4237b8fe0978f095f055bc4fcf2cfc09b239356d
Author: Shiimoe <samuelfrost@tuta.io>
Date:   Thu, 15 Jul 2021 21:09:53 +0100

Better mobile styling.

Diffstat:
Mpublic/style.css | 14++++++++++++--
Mtemplates/guestbook.html | 4+++-
2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/public/style.css b/public/style.css @@ -199,11 +199,21 @@ pre code { } .comment-input { - height: 5em; + height: 9em; margin: 0em 0em; } + form[action="/postcomment"] { + text-align: right; + } .input { - width: calc(100% - 1.2em) + box-sizing: border-box; + display: block; + width: 100%; + } + input[type="submit"] { + border-radius: 3pt; + border: 1px solid #0003; + transform: none; } #mascot { height: var(--mascot-height-mobile); diff --git a/templates/guestbook.html b/templates/guestbook.html @@ -171,10 +171,12 @@ {{ comment['comment'] | safe }} </div> </div> + {% else %} + <center><p>No comment posted yet... :(</p></center> {% endfor %} </div> {% else %} - <p>No comments to display:(</p> + <center><p>Comments weren't given by renderer!!</p></center> {% endif %} </div>