Skip to content

Commit 4df621d

Browse files
authored
Update intro-header.html
1 parent 17272fb commit 4df621d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

_includes/intro-header.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,10 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
9999
<div class="header-mask"></div>
100100
<div class="container">
101101
<div class="row">
102-
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
103-
<!-- 修改 100-110 行附近的 .site-heading 容器 -->
104-
<div class="site-heading{% if include.short %}" id="tag-heading{% endif %}">
105-
<h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
106-
<span class="subheading" style="display: block; text-align: center;">{{ page.description }}</span>
102+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 d-flex flex-column justify-content-center" style="height: 66vh;">
103+
<div class="site-heading text-center">
104+
<h1 class="mx-auto">{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
105+
<span class="subheading d-block">{{ page.description }}</span>
107106
</div>
108107
</div>
109108
</div>

0 commit comments

Comments
 (0)