mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
67e3369c94
MozReview-Commit-ID: JAUprQQlDmi --HG-- rename : browser/themes/shared/aboutNetError.css => browser/themes/shared/aboutNetError-new.css extra : rebase_source : 3354d47b1dfdfb49fe58905f5a2a988e44e0abc2
73 lines
1.8 KiB
CSS
73 lines
1.8 KiB
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
@import url("chrome://global/skin/in-content/info-pages.css");
|
|
|
|
body {
|
|
background-size: 64px 32px;
|
|
background-repeat: repeat-x;
|
|
padding: 0;
|
|
/* info-pages.css sets a minimum width of 13em to the content
|
|
* container. If we don't set a min-width here, the content
|
|
* gets clipped in iframes with small width. We don't accomodate
|
|
* any padding to prioritize real estate in the small viewport. */
|
|
min-width: 13em;
|
|
}
|
|
|
|
.button-container {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: end;
|
|
}
|
|
|
|
.button-spacer {
|
|
flex: 1;
|
|
}
|
|
|
|
@media only screen and (max-width: 959px) {
|
|
.title {
|
|
background-image: none !important;
|
|
padding-inline-start: 0;
|
|
margin-inline-start: 0;
|
|
}
|
|
|
|
.title-text {
|
|
padding-top: 0;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 640px) {
|
|
body {
|
|
padding: 0 75px;
|
|
}
|
|
|
|
.title-text {
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 480px) {
|
|
.button-container button {
|
|
/* Force buttons to display: block here to try and enforce collapsing margins */
|
|
display: block;
|
|
width: 100%;
|
|
margin: 0.66em 0 0;
|
|
}
|
|
}
|
|
|
|
/* For small window height, shift the stripes up by 10px.
|
|
* We could just change the background size, but that changes
|
|
* the angle of the stripes so just shifting up is easier. */
|
|
@media only screen and (max-height: 480px) {
|
|
body {
|
|
background-position: 10px -10px;
|
|
padding-top: 38px;
|
|
/* We get rid of bottom padding for width < 640px, but
|
|
* for height < 480px a bit of space between the content
|
|
* and the viewport edge is nice. */
|
|
padding-bottom: 38px;
|
|
}
|
|
}
|