Initial commit
This commit is contained in:
commit
a17a349255
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Site vitrine - Romain de Laage</title>
|
||||
<meta charset="utf8" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Romain de Laage</h1>
|
||||
</header><nav>
|
||||
<ul>
|
||||
<li>test</li>
|
||||
<li>test</li>
|
||||
</ul>
|
||||
</nav><section>
|
||||
Lorem ipsum dolor sit amet
|
||||
</section><footer>
|
||||
Made with ❤ by <a href="#">Romain de Laage</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,34 @@
|
|||
*{
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
html, body{
|
||||
height: 100%;
|
||||
}
|
||||
header{
|
||||
background: #16a085;
|
||||
color: #ecf0f1;
|
||||
height: 100px;
|
||||
text-align:center;
|
||||
line-height: 100px;
|
||||
}
|
||||
nav{
|
||||
display: inline-block;
|
||||
height: calc(100% - 150px);
|
||||
width: 200px;
|
||||
vertical-align:top;
|
||||
}
|
||||
section{
|
||||
display: inline-block;
|
||||
height: calc(100% - 150px);
|
||||
width: calc(100% - 200px);
|
||||
vertical-align:top;
|
||||
}
|
||||
footer{
|
||||
background-color: #16a085;
|
||||
text-align : center;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
color: #ecf0f1;
|
||||
}
|
Reference in New Issue