fix(body): background height

steven 2021-03-16 11:47:45 -04:00
parent 5c6b0e9776
commit 0572f81aeb
2 changed files with 5 additions and 1 deletions

View File

@ -1,10 +1,12 @@
/* background */ /* background */
body { #background {
background: url(../img/shirakawa.jpg); background: url(../img/shirakawa.jpg);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-color: #704214; background-color: #704214;
height: 100%;
overflow: scroll;
color: #fff; color: #fff;
text-shadow: 1px 1px #000; text-shadow: 1px 1px #000;

View File

@ -22,6 +22,7 @@
<link rel="stylesheet" href="css/flavour.css"> <link rel="stylesheet" href="css/flavour.css">
</head> </head>
<body> <body>
<div id="background">
<header> <header>
<?php echo '<h1>' . $machine->name . '</h1> <?php echo '<h1>' . $machine->name . '</h1>
@ -54,5 +55,6 @@
</p>';?> </p>';?>
</footer> </footer>
</div>
</body> </body>
</html> </html>