media/css/firefox/system-requirements.scss (96 lines of code) (raw):
// 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 https://mozilla.org/MPL/2.0/.
$font-path: '/media/protocol/fonts';
$image-path: '/media/protocol/img';
@import '~@mozilla-protocol/core/protocol/css/includes/lib';
@import '~@mozilla-protocol/core/protocol/css/components/logos/logo';
@import '~@mozilla-protocol/core/protocol/css/components/logos/logo-product-firefox';
// * -------------------------------------------------------------------------- */
// Header
.c-page-title {
@include text-title-xs;
font-weight: bold;
margin: $layout-lg 0;
position: relative;
&::before {
@include background-size(40px 40px);
background-image: url('/media/protocol/img/logos/firefox/browser/logo.svg');
background-repeat: no-repeat;
content: '';
display: block;
height: 40px;
margin-bottom: $spacing-sm;
width: 40px;
@media #{$mq-sm} {
position: absolute;
@include bidi((
(left, -60px, auto),
(right, auto, -60px),
));
margin: -10px 0 0;
}
}
}
.mzp-t-beta .c-page-title::before {
background-image: url('/media/protocol/img/logos/firefox/browser/beta/logo.svg');
}
.mzp-t-aurora .c-page-title::before {
background-image: url('/media/img/firefox/releasenotes/aurora.png');
@media #{$mq-high-res} {
background-image: url('/media/img/firefox/releasenotes/aurora-high-res.png');
}
}
.mzp-t-nightly .c-page-title::before {
background-image: url('#{$image-path}/logos/firefox/browser/nightly/logo.svg');
}
.mzp-c-article {
h1 {
@include text-title-lg;
margin-bottom: $layout-md;
}
h2 {
@include text-title-md;
}
h3 {
@include text-title-xs;
}
// copied straight out of Protocol because we can't add the utility class to the lists
ul {
@include bidi(((margin-left, $layout-sm, margin-right, 0),));
list-style: disc;
li {
margin-bottom: 0.25em;
}
ul {
@include bidi(((margin-left, $layout-xs, margin-right, 0),));
list-style: circle;
margin-bottom: 0;
}
ol {
@include bidi(((margin-left, $layout-xs, margin-right, 0),));
list-style: decimal;
margin-bottom: 0;
}
}
ol {
@include bidi(((margin-left, $layout-sm, margin-right, 0),));
list-style: decimal;
li {
margin-bottom: 0.25em;
}
ol {
@include bidi(((margin-left, $layout-xs, margin-right, 0),));
list-style: lower-alpha;
margin-bottom: 0;
}
ul {
@include bidi(((margin-left, $layout-xs, margin-right, 0),));
list-style: disc;
margin-bottom: 0;
}
}
}
// * -------------------------------------------------------------------------- */
// Callout
.all-download {
@include text-body-md;
background-color: $color-marketing-gray-20;
font-weight: bold;
padding: $spacing-sm $layout-2xs;
@media #{$mq-md} {
text-align: center;
}
}