print: fix minor inconsistencies #225

This commit is contained in:
Sören Weber 2022-03-25 14:09:30 +01:00
parent 23c858c99e
commit 198c25f451
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
2 changed files with 20 additions and 14 deletions

View file

@ -3,6 +3,9 @@
}
#body {
margin-left: 0;
min-width: 100%;
max-width: 100%;
width: 100%;
}
#body #navigation {
display: none;
@ -105,6 +108,9 @@ body,
/* the header is sticky which is not suitable for print; */
position: inherit; /* IE11 doesn't know "initial" here */
}
#topbar > div {
background-color: #ffffff; /* IE11 doesn't know "initial" here */
}
#body .tab-nav-button:not(.active) {
opacity: .5;
}

View file

@ -396,12 +396,12 @@ th {
padding: 0 3rem 4rem 3rem;
position: relative; /* PS */
}
@media only all and (max-width: 59.938em) {
@media screen and (max-width: 59.938em) {
#body-inner {
padding: 0 2rem 15px 2rem;
}
}
@media only all and (max-width: 47.938em) {
@media screen and (max-width: 47.938em) {
#body-inner {
padding: 0 1rem 5px 1rem;
}
@ -412,26 +412,26 @@ th {
margin-top: -1rem;
}
#body .flex-block-wrapper {
margin-left: auto;
margin-right: auto;
}
/* we limit width if we have large screens */
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
#body .flex-block-wrapper {
margin-left: auto;
margin-right: auto;
max-width: 1000px;
}
}
#body-inner.chapter {
margin-left: auto;
margin-right: auto;
padding: 2rem 9rem;
}
@media only all and (max-width: 59.938em) {
@media screen and (max-width: 59.938em) {
#body-inner.chapter {
padding: 15px 4rem 15px 4rem;
}
}
@media only all and (max-width: 47.938em) {
@media screen and (max-width: 47.938em) {
#body-inner.chapter {
padding: 5px 2rem 5px 2rem;
}
@ -983,7 +983,7 @@ span.nav i{
white-space: nowrap;
width: calc(100% - 4*3.25rem);
}
@media only all and (max-width: 47.938em) {
@media screen and (max-width: 47.938em) {
#body #breadcrumbs {
text-overflow: unset;
}
@ -996,7 +996,7 @@ span.nav i{
left: 1rem;
top: 1rem;
}
@media only all and (max-width: 47.938em) {
@media screen and (max-width: 47.938em) {
.mobile-support #sidebar-toggle-span {
display: inline;
}
@ -1009,7 +1009,7 @@ span.nav i{
display: inline;
padding: 0 .75rem;
}
@media only all and (max-width: 47.938em) {
@media screen and (max-width: 47.938em) {
#body #breadcrumbs .links {
/* we just hide the breadcrumbs instead of display: none;
this makes sure that the breadcrumbs are still usable for
@ -1037,7 +1037,7 @@ span.nav i{
text-decoration: none;
}
@media only all and (max-width: 59.938em) {
@media screen and (max-width: 59.938em) {
#sidebar {
min-width: 230px;
max-width: 230px;
@ -1050,7 +1050,7 @@ span.nav i{
width: calc( 100% - 230px);
}
}
@media only all and (max-width: 47.938em) {
@media screen and (max-width: 47.938em) {
/* we don't support sidebar flyout in IE */
.mobile-support #sidebar {
left: -230px;
@ -1518,7 +1518,7 @@ h6 a {
display: initial;
}
@media only all and (max-width: 47.938em) {
@media screen and (max-width: 47.938em) {
#breadcrumbs .links, #top-github-link-text {
display: none;
}