diff --git a/static/css/main.css b/static/css/main.css index f5166a6..ab08cf9 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -97,7 +97,7 @@ a { .mg-brand { font-family: "Open Sans", sans-serif; font-style: italic; - font-size: 2.5em; + font-size: 2.5rem; padding-left: 0; color: white; } .mg-brand:hover, .mg-brand:focus { @@ -106,11 +106,12 @@ a { .mg-brand { padding: 0; max-width: 100%; - font-size: 2em; } } + font-size: 2rem; } } .mg-tagline { font-family: "Open Sans", sans-serif; font-weight: 800; + font-size: 1rem; color: white; } .mg-header-extra { diff --git a/templates/base.html b/templates/base.html index 4cd6e76..f2b2cbe 100644 --- a/templates/base.html +++ b/templates/base.html @@ -69,7 +69,7 @@
- {% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %} + {% block header_text %}{% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}{% endblock %}
{% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}
diff --git a/templates/index.html b/templates/index.html index d836c1a..c08bbc6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block content_title %}{% endblock %} +{% block header_text %}

{{ super() }}

{% endblock %} {% block header_extra %} {% if MG_LANG_FILTER_TAGS or MG_FILTER_TAGS %} diff --git a/templates/partials/article-excerpt.html b/templates/partials/article-excerpt.html index 1cb4ed5..d3cfc6b 100644 --- a/templates/partials/article-excerpt.html +++ b/templates/partials/article-excerpt.html @@ -1,5 +1,5 @@
-

{{ article.title|e }}

+

{{ article.title|e }}

-

{{ article.title|e }}

+

{{ article.title|e }}