Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsticky "Appears in" element from bottom of page #278

Merged
merged 1 commit into from
Aug 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions lib/rdoc/generator/template/rails/resources/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,48 @@ body {
line-height: 1.25em;
min-height: 100%;
display: grid;
grid-template-rows: min-content min-content auto min-content;
grid-template-columns: 300px auto;

--link-color: #CC0000;
--link-hover-color: #990000;
--icon-color: #777777;
}

body {
grid-template-rows: min-content min-content auto min-content;
grid-template-rows: min-content min-content min-content;
grid-template-columns: 100%;
}

@media (min-width: 600px) {
body {
grid-template-rows: min-content min-content auto min-content;
grid-template-rows: min-content min-content min-content;
grid-template-columns: 300px auto;
}

nav {
grid-row-start: 1;
grid-row-end: 4;
grid-row-end: 3;
grid-column-start: 1;
grid-column-end: 1;
}

div.banner {
grid-row-start: 2;
grid-row-end: 2;
grid-row-start: 1;
grid-row-end: 1;
grid-column-start: 2;
grid-column-end: 2;
}

#bodyContent {
grid-row-start: 3;
grid-row-end: 3;
grid-row-start: 2;
grid-row-end: 2;
grid-column-start: 2;
grid-column-end: 2;
min-width: 0;
}

footer {
grid-row-start: 4;
grid-row-end: 4;
grid-row-start: 3;
grid-row-end: 3;
grid-column-start: 2;
grid-column-end: 2;
}
Expand Down