Remove outdated prefixed CSS properies, re-enable the scrollbar styling

This commit is contained in:
daudix
2024-09-05 19:33:02 +03:00
parent 0ac11f76a1
commit 8ab17bcd90
2 changed files with 6 additions and 6 deletions

View File

@ -6,18 +6,14 @@
// }
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
:root {
text-wrap: pretty;
scroll-behavior: smooth;
// scrollbar-color: var(--primary-color) transparent;
scrollbar-color: var(--primary-color) transparent;
accent-color: var(--primary-color);
font-size: 16px;
overflow-wrap: break-word;
// Smaller font size on mobile
// @media only screen and (max-width: 480px) {
@ -30,6 +26,7 @@
}
body {
text-wrap: pretty;
display: grid; // Put footer at the bottom for short pages, such as the 404
grid-template-rows: auto minmax(auto, 1fr) auto; // Header, stuff, footer
margin: 0;
@ -38,6 +35,7 @@ body {
color: var(--fg-color);
line-height: 1.6;
font-family: var(--font-system-ui), var(--font-emoji);
overflow-wrap: break-word;
}
// Style text selection to use primary color