We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ae7e8 commit 9d312baCopy full SHA for 9d312ba
_includes/intro-header.html
@@ -7,6 +7,7 @@
7
<style type="text/css">
8
header.intro-header{
9
position: relative;
10
+ height: 66vh; /* 修改高度为视窗高度的三分之二 */
11
background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}');
12
background: {{ page.header-bg-css }};
13
}
_layouts/default.html
@@ -21,3 +21,11 @@
21
</body>
22
23
</html>
24
+
25
+<style>
26
+/* 覆盖默认高度 */
27
+header.intro-header {
28
+ height: 66vh !important;
29
+ min-height: 400px; /* 保持最小高度 */
30
+}
31
+</style>
0 commit comments