fixed home page css

master
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

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -31,9 +31,10 @@
<meta name="msapplication-TileImage" content="assets/favicons/mstile-144x144.png"> <meta name="msapplication-TileImage" content="assets/favicons/mstile-144x144.png">
<title>Unit</title> <title>Unit</title>
</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,10 +97,10 @@
<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>
<!-- <!--
vim: tabstop=4 shiftwidth=4 expandtab: vim: tabstop=4 shiftwidth=4 expandtab:
--> -->