File tree Expand file tree Collapse file tree 6 files changed +11
-9
lines changed Expand file tree Collapse file tree 6 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -924,9 +924,10 @@ code {
924
924
height : 813px ;
925
925
margin-left : -20px ;
926
926
font-family : "Helvetica Neue" , sans-serif;
927
- background-image : url ("../img/iphone5c .png" );
928
- background-size : 100 % ;
927
+ background-image : url ("../img/device-sprite .png" );
928
+ background-size : 300 % ;
929
929
background-repeat : no-repeat;
930
+ background-position-x : 0 ;
930
931
-webkit-transition : background-image 0.1s linear;
931
932
-moz-transition : background-image 0.1s linear;
932
933
transition : background-image 0.1s linear;
@@ -1587,7 +1588,7 @@ hr {
1587
1588
transform : translate3d (-20% , 0 , 0 );
1588
1589
}
1589
1590
.platform-ios .device {
1590
- background-image : url ( "../img/iphone5s.png" ) ;
1591
+ background-position-x : -395 px ;
1591
1592
}
1592
1593
.platform-ios .device .device-content {
1593
1594
background-color : # efeff4 ;
@@ -2108,7 +2109,7 @@ hr {
2108
2109
}
2109
2110
.platform-android .device {
2110
2111
font-family : 'Roboto' , sans-serif;
2111
- background-image : url ( "../img/android.png" ) ;
2112
+ background-position-x : -790 px ;
2112
2113
}
2113
2114
.platform-android .device .device-content {
2114
2115
font-size : 18px ;
Original file line number Diff line number Diff line change @@ -962,9 +962,10 @@ code {
962
962
height : 813px ;
963
963
margin-left : -20px ;
964
964
font-family : " Helvetica Neue" , sans-serif ;
965
- background-image : url (" ../img/iphone5c .png" );
966
- background-size : 100 % ;
965
+ background-image : url (" ../img/device-sprite .png" );
966
+ background-size : 300 % ;
967
967
background-repeat : no-repeat ;
968
+ background-position-x : 0 ;
968
969
@include transition (background-image .1s linear );
969
970
970
971
& .device-fixed {
@@ -1138,8 +1139,8 @@ hr {
1138
1139
@import " theme-ios.scss" ;
1139
1140
1140
1141
.device {
1141
- background-image : url ( " ../img/iphone5s.png " ) ;
1142
-
1142
+ background-position-x : -395 px ;
1143
+
1143
1144
.device-content {
1144
1145
background-color : #efeff4 ;
1145
1146
}
@@ -1150,7 +1151,7 @@ hr {
1150
1151
1151
1152
.device {
1152
1153
font-family : ' Roboto' , sans-serif ;
1153
- background-image : url ( " ../img/android.png " ) ;
1154
+ background-position-x : -790 px ;
1154
1155
1155
1156
.device-content {
1156
1157
font-size : 18px ;
You can’t perform that action at this time.
0 commit comments