Skip to content

Commit

Permalink
GH-73: Texascale: Use 2400px / --max-wide-…
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Jun 22, 2021
1 parent a047df5 commit cd45ab7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ Styleguide Objects.OffsetContent
}
.o-offset-content--left + .o-offset-content--left { clear: left; }
}
/* WARNING: Value `2400px` is from Texascale.org 2020 */
@media only screen and (--medium-and-above) and (max-width: 2400px) {
@media only screen and (--medium-and-above) and (--max-wide-and-below) {
[class*="c-offset-content--"] {
--max-width: 50%;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Notice: These must be Tools (imported as needed) until native browser support, a
Reference:
- https://drafts.csswg.org/mediaqueries-5/#at-ruledef-custom-media
- https://confluence.tacc.utexas.edu/x/b4AZCg
Styleguide Tools.CustomMediaQueries.Breakpoints
*/
Expand Down Expand Up @@ -40,4 +41,8 @@ Styleguide Tools.CustomMediaQueries.Breakpoints

@custom-media --xxx-wide-and-below (width < 1920px);
@custom-media --xxx-wide-and-above (width >= 1920px);
/* @custom-media --xxx-wide-to-omg-wide (... <= width < ...); */
@custom-media --xxx-wide-to-max-wide (1920px <= width < 2400px);

@custom-media --max-wide-and-below (width < 2400px);
@custom-media --max-wide-and-above (width >= 2400px);
/* @custom-media --max-wide-to-god-wide (... <= width < ...); */

0 comments on commit cd45ab7

Please sign in to comment.