/* 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/. */ html, body { margin: 0; padding: 0; height: 100%; --moz-vertical-spacing: 10px; --moz-background-height: 32px; } body { background-size: 64px var(--moz-background-height); background-repeat: repeat-x; background-color: #c50042; color: #ffffff; padding: 0 40px; font-size: 14px; -moz-text-size-adjust: none; font-family: sharp-sans; } ul { /* Shove the list indicator so that its left aligned, but use outside so that text * doesn't don't wrap the text around it */ padding: 0 1em; margin: 0; list-style-type: disc; } #errorShortDesc, li:not(:last-of-type) { /* Margins between the li and buttons below it won't be collapsed. Remove the bottom margin here. */ margin: var(--moz-vertical-spacing) 0; } h1 { margin: 0; padding: 0; margin: var(--moz-vertical-spacing) 0; color: #ffffff; font-family: sharp-sans; font-weight: bold; font-size: 20px; line-height: 24px; } p { line-height: 20px; margin: var(--moz-vertical-spacing) 0; color: #ffffff; } button { display: block; height: 36px; width: 100%; border-radius: 5px; border-color: #e3e3e7; font-family: sans-serif; background-color: #e6e6eb; color: #2f2c61; font-size: 14px; font-weight: bold; margin: var(--moz-vertical-spacing) auto; text-aligned:center; vertical-aligned:center; background-image: none; } .hidden { display: none; } /* On large width devices, apply specific styles here. Often triggered by landscape mode or tablets */ @media (min-width: 550px) { button { margin: var(--moz-vertical-spacing) var(--moz-vertical-spacing); min-width: 400px; width: auto; } /* If the device is tall as well, add some padding to make content feel a bit more centered */ @media (min-height: 550px) { #errorPageContainer { padding-top: 64px; min-height: calc(100% - 64px); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } } }