fixed home page css

This commit is contained in:
Elray02 2018-04-20 08:47:40 +02:00
parent d31f9ad2fe
commit bbfbab73a2
2 changed files with 100 additions and 96 deletions

View File

@ -20,11 +20,14 @@ html {
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
body { body {
width: 20rem;
margin: auto;
padding: 2rem 0.5rem; padding: 2rem 0.5rem;
} }
.mainContainer {
margin-left: 40vw;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* TEXT * * TEXT *

View File

@ -34,6 +34,7 @@
</head> </head>
<body> <body>
<div class="mainContainer">
<header> <header>
<img alt="Unit logo" src="assets/images/logo.svg"> <img alt="Unit logo" src="assets/images/logo.svg">
<h1>Unit</h1> <h1>Unit</h1>
@ -96,7 +97,7 @@
<A HREF="https://lost.noblogs.org/"><img src="lost/lost.jpg" width="250" alt="LOST"></img></A> <A HREF="https://lost.noblogs.org/"><img src="lost/lost.jpg" width="250" alt="LOST"></img></A>
</span></p> </span></p>
</section> </section>
</div>
</body> </body>
</html> </html>