diff --git a/assets/stylesheets/new-stylesheets/_helpers.scss b/assets/stylesheets/new-stylesheets/_helpers.scss index 4eb05388e..1b19066ea 100644 --- a/assets/stylesheets/new-stylesheets/_helpers.scss +++ b/assets/stylesheets/new-stylesheets/_helpers.scss @@ -199,4 +199,16 @@ text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); text-underline-offset: 2px; -} \ No newline at end of file +} + +.hide-small { + @media only screen and (max-width: 767px) { + display: none; + } +} + +.hide-medium { + @media only screen and (max-width: 1024px) { + display: none; + } +} diff --git a/assets/stylesheets/new-stylesheets/includes/callout/_base.scss b/assets/stylesheets/new-stylesheets/includes/callout/_base.scss index 542fdc1df..0ed766a50 100644 --- a/assets/stylesheets/new-stylesheets/includes/callout/_base.scss +++ b/assets/stylesheets/new-stylesheets/includes/callout/_base.scss @@ -71,9 +71,3 @@ .callout-text { text-align: left; } - -.hide-small { - @media only screen and (max-width: 767px) { - display: none; - } -} diff --git a/index.md b/index.md index a81469fbc..df78152f1 100644 --- a/index.md +++ b/index.md @@ -57,7 +57,7 @@ atom: true
- It's the combination of approachability, speed, safety, and all of
{% for callout in pillar1_callouts %} Swift’s strengths that make it so unique. + It's the combination of approachability, speed, safety, and all of Swift’s strengths that make it so unique.