mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-01-09 18:20:55 +03:00
Add background grid back
This commit is contained in:
parent
cd2ee60f54
commit
fbe8731b4c
15
docs/theme/stylesheets/extra.css
vendored
15
docs/theme/stylesheets/extra.css
vendored
|
|
@ -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;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user