Created
September 19, 2010 14:29
-
-
Save aarongustafson/586808 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* =Color */ | |
a:link, a:visited, a:active { | |
color: rgb(22, 127, 53); | |
} | |
a:hover { | |
color: rgb(242, 98, 42); | |
} | |
/* =Effects */ | |
a { | |
transition-duration: .25s; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" type="text/css" href="c/main.css"/> | |
<!--[if IE 8]><link rel="stylesheet" type="text/css" href="/c/ie8.css"/><![endif]--> | |
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/c/ie7.css"/><![endif]--> | |
<!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="/c/ie6.css"/><![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import 'not-for-IE7-or-below.css' screen; | |
@media screen, print, refrigerator { | |
/* IE will get these rules */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* =Color */ | |
.hproduct { | |
border-color: #ccc | |
color: #333; | |
} | |
@media screen { | |
.hproduct { | |
background: #000; | |
color: #ccc; | |
} | |
} | |
@media print { | |
.hproduct { | |
background: transparent; | |
color: #000; | |
} | |
} | |
/* … */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width:801px) { | |
/* … */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-device-width:1024px) and (max-width:989px), | |
screen and (max-device-width:480px), | |
(max-device-width:480px) and (orientation:landscape), | |
(min-device-width:481px) and (orientation:portrait) { | |
/* Layout for narrow browser, iPad in portrait mode, and iPhone/iPod Touch in landscape mode */ | |
} | |
@media (min-device-width:1024px) and (max-width:509px), | |
(max-device-width:480px) and (orientation:portrait) { | |
/* Layout for narrowest browser and iPhone/iPod Touch in portrait mode */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment