mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-17 15:04:11 +02:00
Specify widescreen margins
This commit is contained in:
parent
7542b9a4f2
commit
37ecbffe10
4 changed files with 17 additions and 0 deletions
|
@ -29,6 +29,8 @@
|
|||
// NOTE: !important is used because _font.scss overrides this
|
||||
.usa-alert__body--widescreen {
|
||||
max-width: $widescreen-max-width !important;
|
||||
margin-left: $widescreen-left-margin !important;
|
||||
margin-right: $widescreen-right-margin !important;
|
||||
}
|
||||
|
||||
.usa-site-alert--hot-pink {
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
@use "cisa_colors" as *;
|
||||
|
||||
$widescreen-max-width: 1920px;
|
||||
$widescreen-left-margin: 48px;
|
||||
$widescreen-right-margin: 48px;
|
||||
|
||||
$hot-pink: #FFC3F9;
|
||||
|
||||
/* Styles for making visible to screen reader / AT users only. */
|
||||
|
@ -245,6 +248,14 @@ abbr[title] {
|
|||
|
||||
.usa-banner__inner--widescreen {
|
||||
max-width: $widescreen-max-width;
|
||||
margin-left: $widescreen-left-margin !important;
|
||||
margin-right: $widescreen-right-margin !important;
|
||||
}
|
||||
|
||||
// This is used in cases where we want to align content to widescreen margins
|
||||
// but we don't want the content itself to have widescreen widths
|
||||
.margin-left--widescreen {
|
||||
margin-left: $widescreen-left-margin !important;
|
||||
}
|
||||
|
||||
.margin-right-neg-4px {
|
||||
|
|
|
@ -5,4 +5,6 @@
|
|||
.grid-container--widescreen,
|
||||
.usa-identifier__container--widescreen {
|
||||
max-width: $widescreen-max-width !important;
|
||||
margin-left: $widescreen-left-margin !important;
|
||||
margin-right: $widescreen-right-margin !important;
|
||||
}
|
||||
|
|
|
@ -133,4 +133,6 @@
|
|||
.usa-navbar--widescreen,
|
||||
.usa-nav-container--widescreen {
|
||||
max-width: $widescreen-max-width !important;
|
||||
margin-left: $widescreen-left-margin;
|
||||
margin-right: $widescreen-right-margin;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue