From 551453f7cdff077c04b2d36d6f374647ac3106a6 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Feb 14 2018 22:44:52 +0000 Subject: tighten up page styles this commit does a bit to the styling of hubs. * adds a new version of the logo at the top that uses monsteratt rather than comfortaa as the font. * tweaks the side bookmarks / leftmenu bar to fill the entire space on the left side, and some tweaks to the styles that show the active items and the hovers * tweak the hub header, these all use the flex utilities now, rather than margins and floats. This allows them to be aligned a lot neater. the hubname at the top now is also bold -- this is how it appears in the mockups. * added the footer that we use elsewhere on sites that use fedora bootstrap. --- diff --git a/hubs/static/css/style.css b/hubs/static/css/style.css index d8dce7f..38a1486 100644 --- a/hubs/static/css/style.css +++ b/hubs/static/css/style.css @@ -1,5 +1,4 @@ body { - background-color: #fff; overflow-x: hidden; } @@ -7,6 +6,8 @@ body { background-image: linear-gradient(to bottom,#eee 0%,#ddd 100%); background-repeat: repeat-x; border-bottom: 1px solid #ccc; + box-shadow: 0 0px 8px -4px #888; + z-index: 1; } #navbar-top img.chaticon, @@ -15,6 +16,16 @@ body { width: auto; } +#page{ + min-height: 100px; +} + +.footer{ + /*make the footer colour extend past the bottom of the page + for cases where the content is not very tall*/ + box-shadow: 0px 1000px 0px 1000px #495057; +} + .showpointer { cursor:pointer; } diff --git a/hubs/static/img/logo-hubs.png b/hubs/static/img/logo-hubs.png index 574c327..04136cb 100644 Binary files a/hubs/static/img/logo-hubs.png and b/hubs/static/img/logo-hubs.png differ diff --git a/hubs/static/img/logo-hubs.svg b/hubs/static/img/logo-hubs.svg new file mode 100644 index 0000000..8e89a5b --- /dev/null +++ b/hubs/static/img/logo-hubs.svg @@ -0,0 +1,127 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hubs/static/img/logo_hubs.svg b/hubs/static/img/logo_hubs.svg deleted file mode 100644 index ea7164e..0000000 --- a/hubs/static/img/logo_hubs.svg +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - HUBS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hubs/templates/master.html b/hubs/templates/master.html index 15aaa70..166ea75 100644 --- a/hubs/templates/master.html +++ b/hubs/templates/master.html @@ -14,7 +14,7 @@ - +