2021-10-25 21:29:29 +08:00
|
|
|
const smallOnly = 'only screen and (max-width: 40em)';
|
2021-10-28 01:07:09 +08:00
|
|
|
const mediumOnly = 'only screen and (min-width: 40.063em) and (max-width: 64em)';
|
2021-10-28 00:21:57 +08:00
|
|
|
const mediumUp = 'only screen and (min-width: 40.063em)';
|
2021-11-23 20:05:02 +08:00
|
|
|
const mediumDown = 'only screen and (max-width: 40.0629em)';
|
2021-11-03 22:34:03 +08:00
|
|
|
const landscape = "only screen and (orientation: landscape)";
|
2021-11-03 00:25:39 +08:00
|
|
|
const phoneLandscape = 'only screen and (max-width: 480px) and (orientation: landscape)';
|
2021-11-08 19:36:44 +08:00
|
|
|
const largeUp = 'only screen and (min-width: 64.063em)';
|
2021-11-05 01:03:25 +08:00
|
|
|
const hasPhoneDimentions = 'only screen and (max-height: 479px), only screen and (max-width: 479px)';
|
2021-11-23 20:05:02 +08:00
|
|
|
const hasPhoneWidth = 'only screen and (max-width: 479px)';
|
2021-10-25 21:29:29 +08:00
|
|
|
|
|
|
|
export {
|
|
|
|
smallOnly,
|
2021-10-28 01:07:09 +08:00
|
|
|
mediumOnly,
|
2021-10-28 00:21:57 +08:00
|
|
|
mediumUp,
|
2021-11-03 22:34:03 +08:00
|
|
|
landscape,
|
2021-11-03 00:25:39 +08:00
|
|
|
phoneLandscape,
|
2021-11-08 19:36:44 +08:00
|
|
|
largeUp,
|
2021-11-05 01:03:25 +08:00
|
|
|
hasPhoneDimentions,
|
2021-11-23 20:05:02 +08:00
|
|
|
mediumDown,
|
|
|
|
hasPhoneWidth,
|
2021-10-25 21:29:29 +08:00
|
|
|
};
|