blockedSite.css (1635B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 @import url("chrome://global/skin/error-pages.css"); 6 7 @media not (prefers-contrast) { 8 :root { 9 --background-color-canvas: #a4000f; 10 --text-color: white; 11 --button-text-color-primary: black; 12 --button-background-color: transparent; 13 --button-background-color-hover: #5a0002; 14 --button-background-color-active: #3e0200; 15 --button-background-color-primary: white; 16 --button-background-color-primary-hover: rgba(255, 255, 255, 0.8); 17 --button-background-color-primary-active: rgba(255, 255, 255, 0.7); 18 } 19 } 20 21 .title { 22 background-image: url("chrome://global/skin/icons/blocked.svg"); 23 } 24 25 .button-container button { 26 border: 1px solid white; 27 margin-inline-end: 0; 28 margin-top: 1.5em; 29 } 30 31 #advisory_provider { 32 text-decoration: underline; 33 } 34 35 #errorDescriptionContainer { 36 position: absolute; 37 margin: 48px auto; 38 } 39 40 .error-description { 41 min-width: var(--in-content-container-min-width); 42 max-width: var(--in-content-container-max-width); 43 color: black; 44 background-color: white; 45 } 46 47 .error-description > p:first-child { 48 padding: 3.5em 3.5em 1em; 49 } 50 51 .error-description > p:last-child { 52 padding: 0 3.5em 3.5em; 53 } 54 55 .error-description #ignore_warning_link, 56 .error-description a:is(:link, :visited) { 57 cursor: pointer; 58 text-decoration: underline; 59 color: black; 60 } 61 62 a:not(:link) { 63 color: black; 64 text-decoration: none; 65 cursor: auto; 66 } 67 68 .sitename { 69 font-weight: var(--font-weight-bold); 70 }