Ajout de custom scroll bar

This commit is contained in:
Ambulance Clerc
2022-10-15 23:30:35 +02:00
parent b5ba0d5391
commit 02085c46f7
2 changed files with 65 additions and 18 deletions

View File

@@ -1,3 +1,25 @@
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
scrollbar-width: auto;
scrollbar-color: #ffffff #ffffff;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 12px;
}
*::-webkit-scrollbar-track {
background: black;
}
*::-webkit-scrollbar-thumb {
background-color: #ffffff;
border-radius: 15px;
border: 3px solid #ffffff;
}
:root{
--main-text-color: white;
--main-text-family: 'Source Sans Pro', sans-serif;