This commit is contained in:
parent
046e5ef623
commit
eb34ccc5dc
|
|
@ -9,7 +9,6 @@
|
||||||
@media screen and (max-width: 1024px) {
|
@media screen and (max-width: 1024px) {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
|
|
||||||
/* Ligne de 1px à 5px du bord du bas */
|
/* Ligne de 1px à 5px du bord du bas */
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
to right,
|
to right,
|
||||||
|
|
@ -18,29 +17,25 @@
|
||||||
)
|
)
|
||||||
bottom 2em center / 100% 1px no-repeat;
|
bottom 2em center / 100% 1px no-repeat;
|
||||||
|
|
||||||
/* Smooth scrolling pour mobile */
|
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
|
|
||||||
/* Propriétés standard pour Firefox mobile */
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: var(--wp--preset--color--primary, #136f63) #cef9ee;
|
|
||||||
|
|
||||||
/* Webkit pour Chrome Android (iOS Safari ne supporte pas bien) */
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
-webkit-appearance: none;
|
width: 2em;
|
||||||
width: 8px;
|
height: 1em;
|
||||||
height: 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-webkit-scrollbar-track {
|
&::-webkit-scrollbar-track {
|
||||||
background: #cef9ee;
|
background: #cef9ee;
|
||||||
border-radius: 100vw;
|
border-radius: 100vw;
|
||||||
|
margin-block: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-webkit-scrollbar-thumb {
|
&::-webkit-scrollbar-thumb {
|
||||||
@apply bg-primary;
|
@apply bg-primary;
|
||||||
border-radius: 100vw;
|
border-radius: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: hsl(120 100% 10% / 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user