Fix header link hitbox

This commit is contained in:
Miraty 2019-08-30 19:37:43 +02:00
parent 18f1fcdfb2
commit 98f2dd4bcc
2 changed files with 19 additions and 18 deletions

View File

@ -30,11 +30,11 @@ function head($adresse) {
</head>
<body lang="fr">
<a href=".">
<header>
<header>
<a id="header" href=".">
<div class="logo"><img src="img/antopie.png" width="100%" alt="Logo Ant" /></div>
</header>
</a>
</a>
</header>
<main>

View File

@ -314,18 +314,7 @@ footer {
/* ----------------------- HEADER ------------------------ */
a[href="."] {
display: flex;
justify-content: center;
}
#pres {
display: flex;
justify-content: center;
text-align: center;
}
header {
#header {
margin: 0px;
width: 50%;
border: 3px white solid;
@ -336,16 +325,28 @@ header {
display: flex;
justify-content: center;
padding: 30px;
}
#pres {
display: flex;
justify-content: center;
text-align: center;
}
header {
display: flex;
justify-content: center;
}
header:active {
#header:active {
box-shadow: 2px 2px 3px white inset;
}
header:hover {
#header:hover {
background-color: @fond-option-hover;
transition: all 0.2s ease-in-out;
color: @couleur-lien !important;