Moves main content to the top, so the header with dropdown menus lands above footer.
目前為
/* ==UserStyle==
@name MDN: Content first (Header to Footer)
@description Moves main content to the top, so the header with dropdown menus lands above footer.
@namespace myfonj
@version 1.0.3
@license CC0 - Public Domain
==/UserStyle== */
@-moz-document domain("developer.mozilla.org") {
/*
https://greasyfork.org/en/scripts/409087/versions/new
2020-12-15 they switched to "signle column grid"
With explicity set template-row, that matches matural source order.
Makes no sense to me. Education? Showing off? Questions…
You know what?
Flexbox is fine. I think. Natural order, no need to keep track, no overlays.
2021-03-11 switched to shallow grid with aside and main besides each other
*/
.document-page .page-header {
grid-row: 8/9; /* was 1/2 */
}
/*
.document-page .breadcrumb-locale-container {
grid-row: 2/3;
}
.document-page .document-toc-container {
grid-column: 1/2;
grid-row: 5/6;
}
.document-page .main-content {
grid-column: 2/3;
grid-row: 5/7;
}
.document-page .sidebar {
grid-column: 1/2;
grid-row: 6/7;
}
*/
}