提交 b54ecdb4 编写于 作者: C codecalm

page title fixes

上级 e2d8fe08
{% if page.page-title or layout.page-title %}
<!-- Page title -->
<div class="page-title-box">
<div class="row align-items-center">
<div class="col">
{% if page.page-subtitle %}
<!-- Page pre-title -->
<div class="page-pretitle">
Overview
</div>
{% endif %}
<h2 class="page-title">
{{ page.page-title | default: layout.page-title }}
</h2>
</div>
{% if page.page-title-actions %}
<!-- Page title actions -->
<div class="col-auto">
<span class="d-none d-sm-inline">
{% include ui/button.html text="New view" color="secondary" icon="plus" %}
</span>
{% include ui/button.html text="Create new report" color="primary" class="ml-3" %}
</div>
{% endif %}
</div>
</div>
{% endif %}
---
title: Homepage
page-title: Homepage
page-subtitle: Overview
page-title-actions: home
---
<div class="row">
<div class="col-md-4">
{% include cards/project-summary.html %}
{% include cards/social-traffic.html %}
......
......@@ -335,7 +335,6 @@ Folded navbar
}
.nav-icon {
font-size: px2rem(15px);
opacity: 1;
justify-content: center;
}
......
.page-title-box {
min-height: 2.5rem;
margin: .25rem 0 1.5rem;
display: flex;
align-items: center;
}
.page-pretitle {
......
......@@ -5,10 +5,7 @@
th {
border-width: $table-border-width;
background: $min-black;
text-transform: uppercase;
font-weight: 600;
font-size: 11px;
letter-spacing: .03em;
@extend .subheader;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册