Skip to content

Commit a2746b0

Browse files
authored
Update intro-header.html
1 parent bd4c5ee commit a2746b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_includes/intro-header.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
header.intro-header{
99
position: relative;
1010
background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}');
11+
background-size: cover;
1112
background: {{ page.header-bg-css }};
1213
}
1314

1415
{% if page.header-mask %}
1516
header.intro-header .header-mask{
16-
width: 80%;
17-
height: 80%;
17+
width: 100%;
18+
height: 100%;
1819
position: absolute;
1920
background: rgba(0,0,0, {{ page.header-mask }});
2021
}

0 commit comments

Comments
 (0)