add a basic nav on top of page #3

Merged
alban merged 2 commits from add-nav into master 2025-12-12 21:39:53 +00:00
2 changed files with 22 additions and 0 deletions
Showing only changes of commit 4bff802740 - Show all commits

View file

@ -24,6 +24,20 @@ h1, h2{
color:#ff0000; color:#ff0000;
} }
nav ul {
display: flex;
list-style: none;
padding: inherit;
margin: inherit;
justify-content: center;
}
nav li a {
margin: 0.2em 0.5em;
line-height: 2em;
display: block;
}
header{ header{
border-top: 20px solid #ff0000; border-top: 20px solid #ff0000;
} }

View file

@ -9,6 +9,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head> </head>
<body> <body>
<nav>
<ul>
<li><a href="https://wiki.interhacker.space">wiki</a></li>
<li><a href="https://git.interhacker.space">forge</a></li>
<!-- <li><a href="https://element.interhacker.space">matrix</a></li> -->
<li><a href="https://tube.interhacker.space">peertube</a></li>
</ul>
</nav>
<header> <header>
<h1>UNE INTRODUCTION AUX HACKERSPACES ET À LEURS ACTIVITÉS</h1> <h1>UNE INTRODUCTION AUX HACKERSPACES ET À LEURS ACTIVITÉS</h1>
</header> </header>