Skip to content

Instantly share code, notes, and snippets.

@PurpleHippoDesign
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PurpleHippoDesign/a6bdcff55087c92572ff to your computer and use it in GitHub Desktop.
Save PurpleHippoDesign/a6bdcff55087c92572ff to your computer and use it in GitHub Desktop.
Add retina logo to Genesis
@media
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) {
.header-image .site-title > a {
float: left;
min-height: 133px;
width: 100%;
background: url(images/logo@2x.png) no-repeat left top !important;
background-size: 175px 133px !important;
}
@media only screen and (max-width: 850px) {
.header-image .site-title > a {
background-size: 100px 76px!important;
min-height: 76px;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment