Change style home page

This commit is contained in:
Maxime GRIS
2017-05-23 21:55:43 +02:00
parent c9baed3a23
commit 93dcc52ac9
3 changed files with 24 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
<div class="container">
<h1 class="title"> <h1 class="title">
{{title}} {{title}}
</h1> </h1>
</div>

View File

@@ -1,8 +1,17 @@
.title { .container {
color: black; height: 100%;
margin:0; display: flex;
padding:50px 20px; align-items: center;
justify-content: center;
background: url(../../../assets/background.jpg) no-repeat center fixed; background: url(../../../assets/background.jpg) no-repeat center fixed;
-webkit-background-size: cover; /* pour anciens Chrome et Safari */ -webkit-background-size: cover; /* pour anciens Chrome et Safari */
background-size: cover; /* version standardisée */ background-size: cover; /* version standardisée */
.title {
color: white;
margin:0;
padding:50px 20px;
}
} }

View File

@@ -1 +1,7 @@
/* You can add global styles to this file, and also import other style files */ /* You can add global styles to this file, and also import other style files */
html, body {
margin: 0;
padding: 0;
height: 100%;
}