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

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

Issue 9269015: CSS and sprites for the new contribute page (Closed)
Patch Set: Created Jan. 28, 2013, 5:18 p.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/features.css
===================================================================
--- a/anwiki/_override-static/global/global/css/features.css
+++ b/anwiki/_override-static/global/global/css/features.css
@@ -3,145 +3,62 @@
background-image: url(../img/sprite-features.png);
}
-#toc
-{
- text-align: center;
- margin-bottom: 50px;
-}
-
-.feature-small
-{
- display: inline-block;
- width: 110px;
- min-height: 90px;
- text-align: center;
- vertical-align: top;
- padding: 10px;
- margin: 5px;
- text-decoration: none;
- border: 1px solid #D9D9D9;
- border-radius: 5px;
- box-shadow: 1px 1px 0 0 #D9D9D9;
- background-color: white;
-}
-
-.feature-small .sprite
-{
- width: 50px;
- height: 50px;
-}
-
-.feature-small .feature-adblocking
+.topic-small .feature-adblocking
{
background-position: 0px -228px;
}
-.feature-small .feature-acceptable
+.topic-small .feature-acceptable
{
background-position: -51px -228px;
}
-.feature-small .feature-typo
+.topic-small .feature-typo
{
background-position: -102px -228px;
}
-.feature-small .feature-malware
+.topic-small .feature-malware
{
background-position: -153px -228px;
}
-.feature-small .feature-socialmedia
+.topic-small .feature-socialmedia
{
background-position: -204px -228px;
}
-.feature-small .feature-tracking
+.topic-small .feature-tracking
{
background-position: -255px -228px;
}
-.feature-small p
-{
- margin: 0px;
- font-size: 14px;
-}
-
-#list
-{
- text-align: center;
-}
-
-.feature
-{
- position: relative;
- margin: 0 auto 20px auto;
- text-align: left;
- border-top: 1px solid #7D7D7D;
-}
-
-html[dir="rtl"] .feature
-{
- text-align: right;
-}
-
-.feature.first
-{
- border-top: none;
-}
-
-.feature .sprite
-{
- position: absolute;
- top: 25px;
- width: 113px;
- height: 113px;
- margin-left: -150px;
- margin-right: 0px;
-}
-
-html[dir="rtl"] .feature .sprite
-{
- margin-right: -150px;
- margin-left: 0px;
-}
-
-.feature .feature-adblocking
+.topic .feature-adblocking
{
background-position: 0px 0px;
}
-.feature .feature-acceptable
+.topic .feature-acceptable
{
background-position: -114px 0px;
}
-.feature .feature-typo
+.topic .feature-typo
{
background-position: -228px 0px;
}
-.feature .feature-malware
+.topic .feature-malware
{
background-position: 0px -114px;
}
-.feature .feature-socialmedia
+.topic .feature-socialmedia
{
background-position: -114px -114px;
}
-.feature .feature-tracking
+.topic .feature-tracking
{
background-position: -228px -114px;
}
-
-.feature .description
-{
- display: inline;
-}
-
-.feature .description .longtext
-{
- margin-top: 10px;
-}

Powered by Google App Engine
This is Rietveld