Skip to content
Snippets Groups Projects
Commit 7d1853cc authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

Removed nested div + fixed weird border

parent 42d08dbb
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ html, body { ...@@ -12,7 +12,7 @@ html, body {
} }
body { body {
background-color: #FFF; margin: 0;
} }
section a:link { section a:link {
...@@ -39,6 +39,7 @@ section a:link { ...@@ -39,6 +39,7 @@ section a:link {
} }
nav { nav {
text-align: center;
display: flex; display: flex;
justify-content: center space-around; justify-content: center space-around;
background-color: var(--color_bg_2); background-color: var(--color_bg_2);
...@@ -48,15 +49,6 @@ nav { ...@@ -48,15 +49,6 @@ nav {
border-bottom: 5px solid var(--color_bg_2); border-bottom: 5px solid var(--color_bg_2);
} }
nav div {
text-align: center;
text-decoration: bold;
width: 100%;
/* background-color: #00b80f; */
border-radius: 0%;
}
nav a { nav a {
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
......
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
</div> </div>
</header> </header>
<nav> <nav>
<a href="/" class="internal"><div class="navlink">Inscriptions</div></a> <a href="/" class="internal">Inscriptions</a>
<a href="/" class="internal"><div class="navlink">Activités</div></a> <a href="/" class="internal">Activités</a>
<a href="/" class="internal"><div class="navlink">Bouton</div></a> <a href="/" class="internal">Bouton</a>
<a href="/" class="internal"><div class="navlink">Bouton autre</div></a> <a href="/" class="internal">Bouton autre</a>
</nav> </nav>
<section> <section>
<h2>A Title</h2> <h2>A Title</h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment