michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: html, michael@0: body { michael@0: margin: 0; michael@0: padding: 0; michael@0: height: 100%; michael@0: } michael@0: michael@0: body { michael@0: /* Add a set of stripes at the top of pages */ michael@0: background-image: linear-gradient(-45deg, #dfe8ee, #dfe8ee 33%, michael@0: #ecf0f3 33%, #ecf0f3 66%, michael@0: #dfe8ee 66%, #dfe8ee); michael@0: background-size: 64px 32px; michael@0: background-repeat: repeat-x; michael@0: michael@0: background-color: #f1f1f1; michael@0: padding: 0 20px; michael@0: michael@0: font-weight: 300; michael@0: font-size: 13px; michael@0: -moz-text-size-adjust: none; michael@0: font-family: sans-serif; michael@0: } michael@0: michael@0: michael@0: ul { michael@0: /* Shove the list indicator so that its left aligned, but use outside so that text michael@0: * doesn't don't wrap the text around it */ michael@0: padding: 1em; michael@0: margin: 0; michael@0: list-style: round outside none; michael@0: } michael@0: michael@0: li:not(:last-of-type), michael@0: #errorLongDesc, michael@0: #errorLongContent { michael@0: padding-bottom: 10px; michael@0: } michael@0: michael@0: /* Push the #ignoreWarningButton to the bottom on the blocked site page */ michael@0: .blockedsite > #errorPageContainer > #errorLongContent { michael@0: flex: 1; michael@0: } michael@0: michael@0: h1 { michael@0: padding: 1rem 0; michael@0: font-weight: 300; michael@0: border-bottom: 1px solid #e0e2e5; michael@0: } michael@0: michael@0: h2 { michael@0: font-size: small; michael@0: padding: 0; michael@0: margin: 0; michael@0: } michael@0: michael@0: p { michael@0: margin-top: 0; michael@0: } michael@0: michael@0: button { michael@0: width: 100%; michael@0: border: none; michael@0: padding: 1rem; michael@0: font-family: sans-serif; michael@0: background-color: #e0e2e5; michael@0: font-size: 1rem; /* Not sure why this has to be specified. See bug 892843. */ michael@0: font-weight: 300; michael@0: border-radius: 2px; michael@0: background-image: none; michael@0: } michael@0: michael@0: button + button { michael@0: margin-top: 1em; michael@0: } michael@0: michael@0: .certerror { michael@0: background-image: linear-gradient(-45deg, #f0d000, #f0d000 33%, michael@0: #fedc00 33%, #fedc00 66%, michael@0: #f0d000 66%, #f0d000); michael@0: } michael@0: michael@0: .blockedsite { michael@0: background-image: linear-gradient(-45deg, #9b2e2e, #9b2e2e 33%, michael@0: #a83232 33%, #a83232 66%, michael@0: #9b2e2e 66%, #9b2e2e); michael@0: background-color: #b14646; michael@0: color: white; michael@0: } michael@0: michael@0: #errorPageContainer { michael@0: /* If the page is greater than 550px center the content. michael@0: * This number should be kept in sync with the media query for tablets below */ michael@0: max-width: 550px; michael@0: margin-left: auto; michael@0: margin-right: auto; michael@0: padding-top: 1rem; michael@0: michael@0: min-height: calc(100% - 1rem); michael@0: display: flex; michael@0: flex-direction: column; michael@0: } michael@0: michael@0: /* Expanders have a structure of michael@0: *
Content
michael@0: *