gourami

[UNMAINTAINED] Activitypub server in Rust
Log | Files | Refs | README | LICENSE

commit 0ccfa9573cbeac48823e228541049e35599bb091
parent 10c79bb0ecd70f26db43767d89fa062202bf8be1
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 22 Apr 2020 11:16:56 -0500

Cleanup CSS

Diffstat:
Mstatic/css/style.css | 24++++++++++++++----------
Mtemplates/single_note.html | 5++++-
2 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/static/css/style.css b/static/css/style.css @@ -8,7 +8,6 @@ color: blue; text-decoration: underline; cursor: pointer; - font-size: 1em; font-family: "courier", monospace } .link-button:focus { @@ -30,19 +29,24 @@ font-weight: 900; } .navbar { - border: 1px solid black; - font-size:2rem; - padding: .25rem; + border-bottom: 1px solid lightgrey; + font-size:2em; + padding: .25em; } .note { - background-color: #e6e6e6; - margin: .5rem; + background-color: #F0F0F0; + margin: .5em; padding: 3px; } +.note-meta { +} + .note-content { font-family: "Helvetica", "Arial", sans-serif; + margin-left: .5em; + margin-right: .5em; } .padded { @@ -69,23 +73,23 @@ .footer { - border: 1px solid black; } .main { background-color: white; - max-width: 650px; + max-width: 900px; margin: auto; } .main-content { - border: 1px solid black; float: center; } .timeline { word-wrap: break-word; } + body { - background-color: lightgrey; + background-color: #999ac4; + font-size: 18px; } diff --git a/templates/single_note.html b/templates/single_note.html @@ -1,6 +1,8 @@ <div class="note"> + <div class="note-meta"> <a href="/note/{{note.id}}">📝{{note.id}}</a> {{note.created_time}} <a class="bold" href="/user/{{note.creator_username}}">@{{note.creator_username}}</a> + </div> <div class="note-content"> {{note.content|safe}} </div> @@ -14,6 +16,7 @@ <button type="submit" name="submit_param" value="submit_value" class="link-button"> x </button> - {%endif%} + </form> </div> + {%endif%} </div>