Add background grid back

This commit is contained in:
Bruno Alla 2025-12-13 12:01:20 +00:00
parent cd2ee60f54
commit fbe8731b4c

View File

@ -63,4 +63,19 @@ body hr {
.md-typeset a {
color: var(--md-accent-fg-color--dark);
}
/* Replacement for `body { background-attachment: fixed; }`, which
has performance issues when scrolling on large displays. */
body::before {
content: ' ';
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #f8f8f8;
background: url(../img/grid.png) repeat-x;
will-change: transform;
z-index: -1;
}