Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion assets/stylesheets/new-stylesheets/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,16 @@
text-decoration: underline;
text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
text-underline-offset: 2px;
}
}

.hide-small {
@media only screen and (max-width: 767px) {
display: none;
}
}

.hide-medium {
@media only screen and (max-width: 1024px) {
display: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,3 @@
.callout-text {
text-align: left;
}

.hide-small {
@media only screen and (max-width: 767px) {
display: none;
}
}
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ atom: true
</p>
<br />
<p class="pillar-intro">
It's the combination of approachability, speed, safety, and all of<br class="hide-small"/> Swift’s strengths that make it so unique.
It's the combination of approachability, speed, safety, and all of<br class="hide-medium"/> Swift’s strengths that make it so unique.
</p>
</div>
{% for callout in pillar1_callouts %}
Expand Down