Remove outdated prefixed CSS properies, re-enable the scrollbar styling
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user