From 1f97beda194fe0b19d55d3dcf5cad0d3604f9f81 Mon Sep 17 00:00:00 2001 From: Máirín Duffy Date: Jul 26 2016 20:50:07 +0000 Subject: wrangling header for user/team hubs to better match Fedora bootstrap --- diff --git a/hubs/static/css/style.css b/hubs/static/css/style.css index 1160e28..f0f0b6a 100644 --- a/hubs/static/css/style.css +++ b/hubs/static/css/style.css @@ -62,7 +62,7 @@ } } - .header { + header { color: #373a3c; background: #f3f3f3 none repeat scroll 0 0; width: 100%; @@ -78,7 +78,7 @@ z-index: 2; }*/ - .header img.avatar { + header img.avatar { width: 70px; float: left; margin: 0 15px; @@ -86,15 +86,15 @@ border: 5px solid #fff; } - .header h2 { - font-weight: 700; + header h2 { + font-weight: 500; } - .header a, .header a:hover, .header a:focus { + header a, header a:hover, .header a:focus { color: #ffffff; } - .header span.edit { + header span.edit { margin: 5px 5px 0 0; } .row { diff --git a/hubs/templates/hubs.html b/hubs/templates/hubs.html index d9592ef..c7106fc 100644 --- a/hubs/templates/hubs.html +++ b/hubs/templates/hubs.html @@ -2,18 +2,21 @@ {% block title %}{{ hub.name }}{% endblock %} {% block content %} -
- {% if hub.user_hub %} -
- -

{{ hub.name }}

-
{{ hub.summary }}
-
-
- {% else %} -

{{ hub.name }}

- {% endif %} -
+ +
+
+ {% if hub.user_hub %} + +

{{ hub.name }}

+
{{ hub.summary }}
+
+ {% else %} +

{{ hub.name }}

+
{{ hub.summary }}
+ {% endif %} +
+
+ {%- with messages = get_flashed_messages(with_categories=true) -%} {%- if category, messages -%}