Fix long title style
This commit is contained in:
parent
eec64f67e6
commit
8f5c90c19d
2 changed files with 5 additions and 1 deletions
|
|
@ -28,6 +28,10 @@ h1:before, h1:after {
|
||||||
height: 4px;
|
height: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 span {
|
||||||
|
max-width: 640px;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
border-bottom: 2px solid c.$main_color;
|
border-bottom: 2px solid c.$main_color;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
{% endblock main_begin %}
|
{% endblock main_begin %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<h1>{{page.title | safe}}</h1>
|
<h1><span>{{page.title | safe}}</span></h1>
|
||||||
<small class="article-date">{{page.date}}</small><br/>
|
<small class="article-date">{{page.date}}</small><br/>
|
||||||
<small class="article-tags">{% for tag in page.taxonomies.tags %}<a href="/{{macros::langurl()}}tags/{{tag}}">{{tag}}</a>{% if not loop.last %}, {% endif %}{% endfor %}</small>
|
<small class="article-tags">{% for tag in page.taxonomies.tags %}<a href="/{{macros::langurl()}}tags/{{tag}}">{{tag}}</a>{% if not loop.last %}, {% endif %}{% endfor %}</small>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue