mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-02 23:57:59 +01:00
42 lines
628 B
CSS
42 lines
628 B
CSS
.hidden--narrow-screen {
|
|
display: none;
|
|
}
|
|
|
|
/* Phones. */
|
|
@mixin if-phone {
|
|
.hidden--phone {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* Tablets. */
|
|
@mixin if-tablet {
|
|
.hidden--tablet {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* Phones and tablets. */
|
|
@mixin if-mobile {
|
|
.hidden--mobile {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* Anything larger than 1280px (Desktops). */
|
|
@mixin if-desktop {
|
|
.hidden--desktop {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* Widescreens are larger than 1500px */
|
|
@mixin if-widescreen {
|
|
.hidden--widescreen {
|
|
display: none !important;
|
|
}
|
|
|
|
.hidden--narrow-screen {
|
|
display: inherit;
|
|
}
|
|
}
|