diff --git a/_includes/header.html b/_includes/header.html index 7f15fc78bf10..614217598a29 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,15 +1,11 @@ - - {% assign date_format = site.date_format | default: "%B %-d, %Y" %} -{% if page.cover-img or page.title %} - {% if page.cover-img %}
-{% if page.cover-img %} -
+
+ {% if page.cover-img or page.title %}
@@ -56,43 +52,8 @@

{{ page.subtitle | strip_html }}

- -
-{% endif %} -
-
-
-
-
-

{% if page.title %}{{ page.title | strip_html }}{% else %}
{% endif %}

- {% if page.subtitle %} - {% if include.type == "page" %} -
- {{ page.subtitle | strip_html }} - {% else %} -

{{ page.subtitle | strip_html }}

- {% endif %} - {% endif %} - - {% if include.type == "post" %} - {% if page.author %} - By {{ page.author | strip_html }}
- {% endif%} - - {% if page.last-updated %} - - {% endif %} - {% if page.readtime %} - {% include readtime.html %} - {% endif %} - {% endif %} -
-
-
-
+ {% endif %} + {% if page.cover-img %}{% endif %}
{% if page.header-extra %} @@ -102,7 +63,3 @@

{{ page.subtitle | strip_html }}

{% endif %} - -{% else %} -
-{% endif %} diff --git a/assets/css/beautifuljekyll.css b/assets/css/beautifuljekyll.css index 9a4944204ada..f3b05853ca98 100644 --- a/assets/css/beautifuljekyll.css +++ b/assets/css/beautifuljekyll.css @@ -740,39 +740,6 @@ nav.top-nav-short-permanent ~ header > .intro-header.big-img { } } -.header-section.has-img .no-img { - margin-top: 0; - background-color: #FCFCFC; - margin: 0 0 2.5rem; - padding: 1.25rem 0; - box-shadow: 0 0 0.3125rem #AAA; -} -/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */ -.header-section.has-img .intro-header.no-img { - display: none; -} -@media (max-width: 365px) { - .header-section.has-img .intro-header.no-img { - display: block; - } - .intro-header.big-img { - width: 100%; - height: 13.75rem; - } - .intro-header.big-img .page-heading, - .intro-header.big-img .post-heading { - display: none; - } - .header-section.has-img .big-img { - margin-bottom: 0; - } -} -@media (max-width: 325px) { - .intro-header.big-img { - height: 12.5rem; - } -} - #header-gh-btns { margin-bottom: 0.9375rem; }