You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
2.1 KiB
95 lines
2.1 KiB
/* |
|
* DO NOT EDIT THIS FILE. |
|
* See the following change record for more information, |
|
* https://www.drupal.org/node/3084859 |
|
* @preserve |
|
*/ |
|
|
|
/** |
|
* @file |
|
* Special grid system for sidebar. |
|
*/ |
|
|
|
/* |
|
* Media query breakpoints. |
|
* Processed by postcss/postcss-custom-media. |
|
*/ |
|
|
|
/* Navigation related breakpoints */ |
|
|
|
/* Grid related breakpoints */ |
|
|
|
/* Grid shifts from 6 to 14 columns. */ |
|
|
|
/* Width of the entire grid maxes out. */ |
|
|
|
.sidebar-grid > .site-main { |
|
-ms-grid-column: 1; |
|
-ms-grid-column-span: 6; |
|
grid-column: 1 / 7; |
|
align-self: flex-start |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
|
|
.sidebar-grid > .site-main { |
|
-ms-grid-column: 1; |
|
-ms-grid-column-span: 14; |
|
grid-column: 1 / 15 |
|
} |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
.sidebar-grid > .site-main { |
|
display: -ms-grid; |
|
display: grid; |
|
-ms-grid-columns: (minmax(0, 1fr))[8]; |
|
grid-template-columns: repeat(8, minmax(0, 1fr)); |
|
-ms-grid-column: 3; |
|
-ms-grid-column-span: 8; |
|
grid-column: 3 / 11 |
|
} |
|
|
|
.sidebar-grid > .site-main > .region--content-above, |
|
.sidebar-grid > .site-main > .region--content { |
|
-ms-grid-columns: (minmax(0, 1fr))[8]; |
|
grid-template-columns: repeat(8, minmax(0, 1fr)); |
|
-ms-grid-column: 1; |
|
-ms-grid-column-span: 8; |
|
grid-column: 1 / 9; |
|
} |
|
|
|
.sidebar-grid > .site-main .layout--content-narrow, |
|
.sidebar-grid > .site-main .layout--pass--content-narrow > *, |
|
.sidebar-grid > .site-main .layout--content-medium, |
|
.sidebar-grid > .site-main .layout--pass--content-medium > * { |
|
-ms-grid-column: 1; |
|
-ms-grid-column-span: 8; |
|
grid-column: 1 / 9; |
|
} |
|
} |
|
|
|
.sidebar-grid .region--sidebar { |
|
-ms-grid-column: 1; |
|
-ms-grid-column-span: 6; |
|
grid-column: 1 / 7 |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
|
|
.sidebar-grid .region--sidebar { |
|
-ms-grid-column: 3; |
|
-ms-grid-column-span: 10; |
|
grid-column: 3 / 13 |
|
} |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
.sidebar-grid .region--sidebar { |
|
-ms-grid-column: 12; |
|
-ms-grid-column-span: 3; |
|
grid-column: 12 / 15 |
|
} |
|
}
|
|
|