Position vidéo mobile
This commit is contained in:
parent
39b82a2606
commit
31aab29c2b
@ -142,37 +142,8 @@ body {
|
|||||||
header.masthead {
|
header.masthead {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: auto;
|
min-height: auto; }
|
||||||
text-align: center;
|
|
||||||
color: white;
|
|
||||||
background-image: url("../img/header.jpg");
|
|
||||||
background-position: center;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
background-size: cover; }
|
|
||||||
header.masthead .header-content {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
padding: 100px 15px 100px;
|
|
||||||
text-align: center; }
|
|
||||||
header.masthead .header-content .header-content-inner {
|
|
||||||
color: black; }
|
|
||||||
header.masthead .header-content .header-content-inner h1 {
|
|
||||||
font-size: 30px;
|
|
||||||
font-weight: 700;
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
text-transform: uppercase; }
|
|
||||||
header.masthead .header-content .header-content-inner hr {
|
|
||||||
margin: 30px auto; }
|
|
||||||
header.masthead .header-content .header-content-inner p {
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 300;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
color: rgba(0, 0, 0, 0.7); }
|
|
||||||
header.masthead video {
|
header.masthead video {
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -71,7 +71,6 @@
|
|||||||
<video autoplay loop muted>
|
<video autoplay loop muted>
|
||||||
<source src="video/intro.webm" type="video/webm">
|
<source src="video/intro.webm" type="video/webm">
|
||||||
</video>
|
</video>
|
||||||
<div class="header-content"></div>
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="bg-primary" id="about">
|
<section class="bg-primary" id="about">
|
||||||
|
@ -3,38 +3,7 @@ header.masthead {
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: auto;
|
min-height: auto;
|
||||||
text-align: center;
|
|
||||||
color: white;
|
|
||||||
background-image: url('../img/header.jpg');
|
|
||||||
background-position: center;
|
|
||||||
@include background-cover;
|
|
||||||
.header-content {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
padding: 100px 15px 100px;
|
|
||||||
text-align: center;
|
|
||||||
.header-content-inner {
|
|
||||||
color: black;
|
|
||||||
h1 {
|
|
||||||
font-size: 30px;
|
|
||||||
font-weight: 700;
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
hr {
|
|
||||||
margin: 30px auto;
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 300;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
color: fade-out(black, .3);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
video {
|
video {
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
Reference in New Issue
Block a user