Compare commits

..

1 Commits

Author SHA1 Message Date
steven 3d49222fd3 fix(body): background height 2021-03-16 12:17:11 -04:00
2 changed files with 13 additions and 1 deletions

View File

@ -1,12 +1,22 @@
/* background */ /* background */
html, body, #background {
margin: 0;
height: 100%;
}
#background { #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%; position: relative;
overflow: scroll; overflow: scroll;
}
#content {
position: absolute;
left: 0;
top: 0;
width: 100%;
color: #fff; color: #fff;
text-shadow: 1px 1px #000; text-shadow: 1px 1px #000;

View File

@ -23,6 +23,7 @@
</head> </head>
<body> <body>
<div id="background"> <div id="background">
<div id="content">
<header> <header>
<?php echo '<h1>' . $machine->name . '</h1> <?php echo '<h1>' . $machine->name . '</h1>
@ -55,6 +56,7 @@
</p>';?> </p>';?>
</footer> </footer>
</div>
</div> </div>
</body> </body>
</html> </html>