forked from M-Labs/web2019
feat(website): Adds bg for section
Uses new bg to fit layout
This commit is contained in:
parent
0b35dc8c4d
commit
21d5cb806b
@ -98,6 +98,15 @@ p ~ h5 {
|
|||||||
background-size: contain;
|
background-size: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero5 {
|
||||||
|
height: 380px;
|
||||||
|
background: url("../images/bottom-graphic-min@2x.png") no-repeat top center;
|
||||||
|
-webkit-background-size: contain;
|
||||||
|
-moz-background-size: contain;
|
||||||
|
-o-background-size: contain;
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
.hero + main {
|
.hero + main {
|
||||||
margin-top: -150px;
|
margin-top: -150px;
|
||||||
}
|
}
|
||||||
|
BIN
static/images/bottom-graphic-min@2x.png
Normal file
BIN
static/images/bottom-graphic-min@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 138 KiB |
@ -1,4 +1,4 @@
|
|||||||
<div class="container-fluid {% if not separator_rm_bg %}hero3{% else %}{% endif %} d-flex flex-column justify-content-center">
|
<div class="container-fluid {% if not separator_rm_bg %}hero5{% else %}{% endif %} d-flex flex-column justify-content-center">
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user