50 lines
735 B
CSS
50 lines
735 B
CSS
html, body {
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
|
|
body {
|
|
width: 100%;
|
|
font-size: 16px;
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
.background {
|
|
position:fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: url("assets/background_errors.jpg");
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
header, main, footer {
|
|
position: relative;
|
|
max-width: 600px;
|
|
box-sizing: border-box;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
header {
|
|
margin: 100px auto 10px auto;
|
|
}
|
|
|
|
main {
|
|
margin: 0 auto 10px auto;
|
|
}
|
|
|
|
footer {
|
|
margin: 0 auto 50px auto;
|
|
font-size: .8rem;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
} |