CodeCommitsIssuesPull requestsActionsInsightsSecurity
master

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

app/styl/media-query-variables.styl

26lines · modepreview

desktopMinWidth = 769px
desktopMinWidthQuery = "(min-width: " + desktopMinWidth + ")"

largeDesktopWidth = 1400px
largeDesktopMinWidthQuery = "(min-width: " + largeDesktopWidth + ")"

largeDesktopHeight = 750px
largeDesktopMinHeightQuery = "(min-height: " + largeDesktopHeight + ")"

mobileMaxWidth = 768px
mobileMaxWidthQuery = "(max-width: " + mobileMaxWidth + ")"

largerThanIphoneMinWidth = 569px
largerThanIphoneMinWidthQuery = "(min-width: " + largerThanIphoneMinWidth + ")"

iPhoneMaxWidth = 568px
iPhoneMaxWidthQuery = "(max-width: " + iPhoneMaxWidth + ")"
iPhoneUICompensation = 64px

firefoxOnlyQuery = "screen and (min--moz-device-pixel-ratio: 0)"

chromeAndSafariOnlyQuery = "screen and (-webkit-min-device-pixel-ratio: 0)"

chromeOnlyQuery = "all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dppx)"

retinaQuery = "only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"