improved doleance transtions #2233

This commit is contained in:
2023-11-17 16:24:34 +01:00
parent 3680dc6cf7
commit 5331252f61
10 changed files with 841 additions and 71 deletions

View File

@@ -653,15 +653,23 @@ body{
nav.doleance-switch{
div{
$height:60vh;
position: fixed;
top: calc(100vh * 0.49);
top: calc((100vh - $height) * 0.51);
cursor: pointer;
width:150px;
height: $height;
background-image: url(../assets/cercle_politique.png);
background-size: cover;
&:hover{
background-image: url(../assets/cercle_politique-hover.png);
}
&.prev{
left: 1rem;
left: 0rem;
background-position: right;
}
&.next{
right:calc($cartouch_width + 2rem);
right:calc($cartouch_width + 0.5rem);
}
}
}