mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-23 16:59:41 +00:00
Use span
instead of div
element
This commit is contained in:
parent
cfad550975
commit
8b708a0ee3
@ -11,8 +11,9 @@
|
||||
{% unless logo_path == empty %}
|
||||
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
|
||||
{% endunless %}
|
||||
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.masthead_title | default: site.title }}
|
||||
{% if site.subtitle %}<div class="site-subtitle">{{ site.subtitle }}</div>{% endif %}
|
||||
<a class="site-title" href="{{ '/' | relative_url }}">
|
||||
{{ site.masthead_title | default: site.title }}
|
||||
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
|
||||
</a>
|
||||
<ul class="visible-links">
|
||||
{%- for link in site.data.navigation.main -%}
|
||||
|
@ -54,6 +54,7 @@
|
||||
}
|
||||
|
||||
.site-subtitle {
|
||||
display: block;
|
||||
font-size: $type-size-8;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user