diff options
author | Justin Berthault <justin.berthault@zaclys.net> | 2017-12-08 22:25:22 +0300 |
---|---|---|
committer | Justin Berthault <justin.berthault@zaclys.net> | 2017-12-08 22:25:22 +0300 |
commit | 0e603213dd96662699eed1a1e0b1589e67aed866 (patch) | |
tree | 02aa0a9f8a9e2f54a586bc2b8fbfb8048d8e9965 | |
parent | a466a10c80a8ee28c392cbdc2168b7916a740717 (diff) |
Update form layout and comment css
-rw-r--r-- | layouts/partials/form.html | 5 | ||||
-rw-r--r-- | static/css/style.css | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/layouts/partials/form.html b/layouts/partials/form.html index 5fefe10..b300df0 100644 --- a/layouts/partials/form.html +++ b/layouts/partials/form.html @@ -1,4 +1,5 @@ -<h3 class="comment-title">Poster un commentaire</h3> +<details> +<summary><strong>Poster un commentaire</strong></summary> <form method="POST" action="/comments/submit.php"> <input type="hidden" name="post_id" value="{{ .URL }}" /> <input type="hidden" name="return_url" value="{{ .URL }}" /> @@ -10,3 +11,5 @@ <br /><textarea name="comment" rows="10" cols="50" required></textarea></p> <p><input type="submit" value="Envoyer" /></p> </form> +</details> + diff --git a/static/css/style.css b/static/css/style.css index f9715cc..59d6edd 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -215,12 +215,16 @@ img { } .comment-name, .reply-name { float: left; + font-weight: bold; } .comment-date, .reply-date { float: right; } .comment-body, .reply-body { clear: both; + margin-top: 2.6rem; + padding-top: .4rem; + border-top: 1px solid #dcdcdc; } @media only screen and (min-width: 900px) { aside { |