philomena/assets/css/elements/mobile.css

43 lines
628 B
CSS
Raw Normal View History

.hidden--narrow-screen {
display: none;
}
/* Phones. */
@mixin if-phone {
2023-11-23 17:07:49 +01:00
.hidden--phone {
display: none !important;
}
}
/* Tablets. */
@mixin if-tablet {
2023-11-23 17:07:49 +01:00
.hidden--tablet {
display: none !important;
}
}
/* Phones and tablets. */
@mixin if-mobile {
2023-11-23 17:07:49 +01:00
.hidden--mobile {
display: none !important;
}
}
/* Anything larger than 1280px (Desktops). */
@mixin if-desktop {
2023-11-23 17:07:49 +01:00
.hidden--desktop {
display: none !important;
}
}
/* Widescreens are larger than 1500px */
@mixin if-widescreen {
.hidden--widescreen {
display: none !important;
}
.hidden--narrow-screen {
display: inherit;
}
}