diff --git a/vehicles/static/vehicles/style.css b/vehicles/static/vehicles/style.css index 2988e42..213ec15 100644 --- a/vehicles/static/vehicles/style.css +++ b/vehicles/static/vehicles/style.css @@ -1,6 +1,28 @@ + /* ===== 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; + --main-child-container-height: 175px; } .main_container{ width: 100%; @@ -30,7 +52,7 @@ gap: 0px; align-items: stretch; } - .child div{ + .child_box div{ } diff --git a/vehicles/templates/vhc/vhc.html b/vehicles/templates/vhc/vhc.html index 416420b..51b0a0f 100644 --- a/vehicles/templates/vhc/vhc.html +++ b/vehicles/templates/vhc/vhc.html @@ -19,7 +19,7 @@