Deprecate respond-to mixin, Zen uses css @media directly instead.

This commit is contained in:
Fredrik Jonsson 2025-03-27 09:03:04 +01:00
commit c97db934af

View file

@ -5,7 +5,7 @@ img {
&.image {
--image-padding: .75rem;
@include respond-to(s) {
@media (min-width: 666px) {
&.center {
margin-inline: auto;
}
@ -41,7 +41,7 @@ figure {
// Nicer text wrap, e.g. no lone word on last line.
text-wrap: pretty;
@include respond-to(s) {
@media (min-width: 666px) {
display: table-caption;
caption-side: bottom;
padding-block-start: 0;
@ -52,7 +52,7 @@ figure {
}
}
@include respond-to(s) {
@media (min-width: 666px) {
display: table;
&.left {