Fix background image size

This commit is contained in:
Mikołaj Pich 2018-05-04 12:22:45 +02:00
parent 6294d5159c
commit 4b14ac3512

View file

@ -1,5 +1,6 @@
html {
box-sizing: border-box;
height: 100%;
}
*, *:before, *:after {
@ -7,13 +8,13 @@ html {
}
html, body, .wrapper {
height: 100%;
margin: 0;
padding: 0;
width: 100%;
}
body {
height: 100%;
background: url(wallpaper.jpg) no-repeat center / cover fixed;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
@ -28,6 +29,7 @@ body {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100%;
}
.header__title {