Optimized the indentation of layout Category and Tag.
This commit is contained in:
parent
9992e11228
commit
bbdad4ebd9
3 changed files with 9 additions and 2 deletions
|
@ -8,7 +8,7 @@ layout: page
|
||||||
{% include date-format.html %}
|
{% include date-format.html %}
|
||||||
|
|
||||||
<div id="page-category">
|
<div id="page-category">
|
||||||
<h1>
|
<h1 class="pl-lg-2">
|
||||||
<i class="far fa-folder-open fa-fw text-muted"></i>
|
<i class="far fa-folder-open fa-fw text-muted"></i>
|
||||||
{{ page.title }}
|
{{ page.title }}
|
||||||
<span class="lead text-muted pl-2">{{ site.categories[page.category] | size }}</span>
|
<span class="lead text-muted pl-2">{{ site.categories[page.category] | size }}</span>
|
||||||
|
|
|
@ -8,7 +8,7 @@ layout: page
|
||||||
{% include date-format.html %}
|
{% include date-format.html %}
|
||||||
|
|
||||||
<div id="page-tag">
|
<div id="page-tag">
|
||||||
<h1>
|
<h1 class="pl-lg-2">
|
||||||
<i class="fa fa-tag fa-fw text-muted"></i>
|
<i class="fa fa-tag fa-fw text-muted"></i>
|
||||||
{{ page.title }}
|
{{ page.title }}
|
||||||
<span class="lead text-muted pl-2">{{ site.tags[page.tag] | size }}</span>
|
<span class="lead text-muted pl-2">{{ site.tags[page.tag] | size }}</span>
|
||||||
|
|
|
@ -55,10 +55,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (max-width: 576px) {
|
@media all and (max-width: 576px) {
|
||||||
|
|
||||||
|
#page-category ul>li::before,
|
||||||
|
#page-tag ul>li::before {
|
||||||
|
margin: 0 .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
#page-tag ul>li>a,
|
#page-tag ul>li>a,
|
||||||
#page-category ul>li>a {
|
#page-category ul>li>a {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue