diff --git a/css/application.css b/css/application.css index c90a694..d190b44 100644 --- a/css/application.css +++ b/css/application.css @@ -176,6 +176,18 @@ strong { margin-top: 20px; } +.triptych-sprite { + background-image: url(../img/home-sprite.png); + background-repeat: no-repeat; + display: inline-block; +} + +.three-arrows { background-position: 0 0; width: 72px; height: 57px; } +.lightbulb { background-position: 0 -57px; width: 43px; height: 72px; } +.circular { background-position: 0 -129px; width: 72px; height: 69px; } + + + .license-family { clear: both; margin-bottom: 50px; @@ -468,3 +480,17 @@ strong { } .with-love { float: right; clear: right; } + +@media only screen and (-webkit-min-device-pixel-ratio: 2.0), + only screen and (min--moz-device-pixel-ratio: 2.0), + only screen and (-o-min-device-pixel-ratio: 200/100), + only screen and (min-device-pixel-ratio: 2.0) { + .three-arrows, + .lightbulb, + .circular { + background-image: url(../img/home-sprite@2x.png); + -webkit-background-size: 72px 198px; + -moz-background-size: 72px 198px; + background-size: 72px 198px; + } +} diff --git a/img/circular@2x.png b/img/circular@2x.png deleted file mode 100644 index 420ae63..0000000 Binary files a/img/circular@2x.png and /dev/null differ diff --git a/img/home-sprite.png b/img/home-sprite.png new file mode 100644 index 0000000..f9390ea Binary files /dev/null and b/img/home-sprite.png differ diff --git a/img/home-sprite@2x.png b/img/home-sprite@2x.png new file mode 100644 index 0000000..eaf6d51 Binary files /dev/null and b/img/home-sprite@2x.png differ diff --git a/img/lightbulb@2x.png b/img/lightbulb@2x.png deleted file mode 100644 index 2d18543..0000000 Binary files a/img/lightbulb@2x.png and /dev/null differ diff --git a/img/three-arrows@2x.png b/img/three-arrows@2x.png deleted file mode 100644 index 8b48719..0000000 Binary files a/img/three-arrows@2x.png and /dev/null differ diff --git a/index.html b/index.html index 185eed7..5f32c32 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ description: A site to provide non-judgmental guidance on choosing a license for
@@ -26,7 +26,7 @@ description: A site to provide non-judgmental guidance on choosing a license for
@@ -38,7 +38,7 @@ description: A site to provide non-judgmental guidance on choosing a license for