gourami

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

commit e60002418b7390db4d9b0c7720c04947dee386cd
parent 0ccfa9573cbeac48823e228541049e35599bb091
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 22 Apr 2020 11:58:24 -0500

Redesign CSS -- something I'm pretty happy with!

Diffstat:
Mstatic/css/style.css | 12++++++++++--
Mtemplates/base.html | 14++++++--------
2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/static/css/style.css b/static/css/style.css @@ -23,6 +23,7 @@ .title { font-weight: 900; + font-size:2em; } .bold { @@ -30,10 +31,17 @@ } .navbar { border-bottom: 1px solid lightgrey; - font-size:2em; padding: .25em; } +.navlinks { + font-size: 1.5em; +} + +a:link, a:visited { + color:#009475; +} + .note { background-color: #F0F0F0; margin: .5em; @@ -90,6 +98,6 @@ } body { - background-color: #999ac4; + background-color: #006994; font-size: 18px; } diff --git a/templates/base.html b/templates/base.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en"> <head> - <title>{{global.title}}</title> + <title>🐟{{global.title}}</title> <link rel="stylesheet" type="text/css" href="../static/css/style.css"> <meta charset="utf-8"/> <script> @@ -15,15 +15,13 @@ <div class="main"> <div id="header"> <div class="padded navbar"> - <div class="title">{{global.title}}/{{page}}</div> - <a href="/">t</a> <a href="/test">n</a> - <div class="text-right"> - {% if global.logged_in %} + <div class="title">🐟{{global.title}}/{{page}}</div> + <div class="navlinks"> + <a href="/">t</a>,<a href="/test">n</a>{% if global.logged_in %} <a href="/user/{{global.user.username}}">@{{global.user.username}}</a> - {% else %} - <a href="/register">register</a> | <a href="login">login</a> + {% else %},<a href="/register">register</a>,<a href="login">login</a> {% endif %} - </div> + </div> </div> </div> <div class="padded main-content">