Change style home page
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<h1 class="title">
|
||||
<div class="container">
|
||||
<h1 class="title">
|
||||
{{title}}
|
||||
</h1>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,17 @@
|
||||
.title {
|
||||
color: black;
|
||||
margin:0;
|
||||
padding:50px 20px;
|
||||
.container {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
background: url(../../../assets/background.jpg) no-repeat center fixed;
|
||||
-webkit-background-size: cover; /* pour anciens Chrome et Safari */
|
||||
background-size: cover; /* version standardisée */
|
||||
|
||||
.title {
|
||||
color: white;
|
||||
margin:0;
|
||||
padding:50px 20px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
/* You can add global styles to this file, and also import other style files */
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user