Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: anwiki/_override-static/global/global/css/index.css

Issue 9051084: Changed images to use CSS sprites (Closed)
Patch Set: Removed regression fix Created Dec. 21, 2012, 9:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: anwiki/_override-static/global/global/css/index.css
===================================================================
--- a/anwiki/_override-static/global/global/css/index.css
+++ b/anwiki/_override-static/global/global/css/index.css
@@ -3,6 +3,11 @@
font-size: 16px;
}
+#content .sprite
+{
+ background-image: url(/_override-static/global/global/img/sprite-index.png);
+}
+
#main, #video
{
display: inline-block;
@@ -37,9 +42,9 @@
#summary ul
{
- list-style-image: url(/_override-static/global/global/img/tick.png);
+ list-style-type: none;
margin: 10px 0px 27px 0px;
- padding-left: 30px;
+ padding-left: 40px;
color: #333333;
}
@@ -54,6 +59,18 @@
font-weight: bold;
}
+#summary li .sprite
+{
+ position: absolute;
+ width: 12px;
+ height: 11px;
+ margin-top: 4px;
+ margin-left: -17px;
+ background-image: url(/_override-static/global/global/img/sprite-main.png);
+ background-repeat: no-repeat;
+ background-position: -164px 0px;
+}
+
#install .install-button
{
display: none;
@@ -122,6 +139,32 @@
margin: 0 3px;
}
+#install li a
+{
+ width: 19px;
+ height: 20px;
+}
+
+#platform-firefox
+{
+ background-position: -105px -67px;
+}
+
+#platform-chrome
+{
+ background-position: -86px -67px;
+}
+
+#platform-android
+{
+ background-position: -67px -67px;
+}
+
+#platform-opera
+{
+ background-position: -67px -107px;
+}
+
#key-facts section
{
display: inline-block;
@@ -132,11 +175,29 @@
margin-top: 0px;
}
-#key-facts section img
+#key-facts section .sprite
{
position: absolute;
+ width: 67px;
+ height: 67px;
margin-top: 0px;
margin-left: -80px;
+ border: none;
+}
+
+#facts-open-source
+{
+ background-position: -67px 0px;
+}
+
+#facts-downloads
+{
+ background-position: 0px 0px;
+}
+
+#facts-privacy
+{
+ background-position: 0px -67px;
}
#key-facts section p
« no previous file with comments | « anwiki/_override-static/global/global/css/features-mobile.css ('k') | anwiki/_override-static/global/global/css/main.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld