Adjust structure of page, add background image
This commit is contained in:
parent
c2cd07a005
commit
45239a9254
6 changed files with 42 additions and 14 deletions
23
style.css
23
style.css
|
|
@ -1,13 +1,30 @@
|
|||
body {
|
||||
background: rgb(221, 125, 104);
|
||||
background-image: url("./images/paper-5985445_1920.jpg");
|
||||
background-size: cover;
|
||||
background-color: rgb(221, 125, 104);
|
||||
color: #eee;
|
||||
text-align: center;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
header {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-size: 50px;
|
||||
}
|
||||
|
||||
main {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
|
@ -40,4 +57,8 @@ h1{
|
|||
|
||||
#msg .button {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
footer {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
Loading…
Reference in a new issue