add basic nagivation

This commit is contained in:
hippoz 2020-10-04 21:33:26 +03:00
parent 970a5f42f5
commit 0cbbeb562f
2 changed files with 59 additions and 0 deletions

23
index.html Normal file
View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>hippoz</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/style.css">
</head>
<body>
<div class="card navigation-card">
<div class="navigation-buttons">
<a href="#" class="button-default">home</a>
<a href="#" class="button-default">file server</a>
<a href="#" class="button-default">git server</a>
<a href="#" class="button-default">about me</a>
<a href="#" class="button-default">contact me</a>
</div>
</div>
</body>
</html>

36
style.css Normal file
View file

@ -0,0 +1,36 @@
body {
background: #414141;
font-family: 'Roboto', sans-serif;
}
.card {
margin: 25px auto;
padding: 20px;
width: 400px;
background: #d1d1d1;
border-radius: 8px;
}
.navigation-card {
width: 500px;
text-align: center;
}
.navigation-buttons a {
margin-left: 10px;
}
.navigation-buttons a:first-child {
margin-left: 0px;
}
.button-default {
text-decoration: none;
border: 2px solid #818181;
border-radius: 5px;
padding: 5px;
white-space: nowrap;
margin-top: 2px;
margin-bottom: 2px;
color: #818181;
}