improved doleance transtions #2233
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user