docs: better performance in the resource widget ft. Keira and Michaili

This commit is contained in:
raf 2024-12-10 23:10:05 +03:00
commit f8e1856620
Signed by: NotAShelf
GPG key ID: AF26552424E53993
2 changed files with 26 additions and 12 deletions

View file

@ -189,14 +189,16 @@ th {
dt {
margin: 1.2rem 0 0.8rem;
content-visibility: auto;
contain-intrinsic-size: auto 42px;
}
dd {
margin-left: 2rem;
content-visibility: auto;
contain-intrinsic-size: auto 500px;
}
div.book {
}
div.book {}
ul {
@include margined;
@ -238,11 +240,12 @@ li {
top: 0;
background: white;
padding: 10px;
border-bottom: 1px solid #ccc;
border-bottom: 1px solid $color-gray-200;
z-index: 1000;
@media (prefers-color-scheme: dark) {
background: $color-gray-900;
color: $color-gray-50;
border-bottom: 1px solid black;
}
}