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

Side by Side Diff: anwiki/_override-static/global/global/css/features.css

Issue 9051084: Changed images to use CSS sprites (Closed)
Patch Set: Removed regression fix Created Dec. 21, 2012, 9:47 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | anwiki/_override-static/global/global/css/features-mobile.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #content .sprite
2 {
3 background-image: url(/_override-static/global/global/img/sprite-features.png) ;
4 }
5
1 #summary 6 #summary
2 { 7 {
3 margin: 10px 0px; 8 margin: 10px 0px;
4 } 9 }
5 10
6 #toc 11 #toc
7 { 12 {
8 text-align: center; 13 text-align: center;
9 margin-bottom: 50px; 14 margin-bottom: 50px;
10 } 15 }
11 16
12 .feature-small 17 .feature-small
13 { 18 {
14 display: inline-block; 19 display: inline-block;
15 width: 100px; 20 width: 100px;
16 min-height: 90px; 21 min-height: 90px;
17 text-align: center; 22 text-align: center;
18 vertical-align: top; 23 vertical-align: top;
19 padding: 10px; 24 padding: 10px;
20 margin: 5px; 25 margin: 5px;
21 text-decoration: none; 26 text-decoration: none;
22 border: 1px solid #D9D9D9; 27 border: 1px solid #D9D9D9;
23 border-radius: 5px; 28 border-radius: 5px;
24 box-shadow: 1px 1px 0 0 #D9D9D9; 29 box-shadow: 1px 1px 0 0 #D9D9D9;
25 background-color: white; 30 background-color: white;
26 } 31 }
27 32
28 .feature-small img 33 .feature-small .sprite
29 { 34 {
30 width: 50px; 35 width: 50px;
31 height: 50px; 36 height: 50px;
32 } 37 }
33 38
39 .feature-small .feature-adblocking
40 {
41 background-position: 0px -226px;
42 }
43
44 .feature-small .feature-acceptable
45 {
46 background-position: -50px -226px;
47 }
48
49 .feature-small .feature-typo
50 {
51 background-position: -100px -226px;
52 }
53
54 .feature-small .feature-malware
55 {
56 background-position: -150px -226px;
57 }
58
59 .feature-small .feature-socialmedia
60 {
61 background-position: -200px -226px;
62 }
63
64 .feature-small .feature-tracking
65 {
66 background-position: -250px -226px;
67 }
68
34 .feature-small p 69 .feature-small p
35 { 70 {
36 margin: 0px; 71 margin: 0px;
37 font-size: 14px; 72 font-size: 14px;
38 } 73 }
39 74
40 #list 75 #list
41 { 76 {
42 text-align: center; 77 text-align: center;
43 } 78 }
44 79
45 .feature 80 .feature
46 { 81 {
47 position: relative; 82 position: relative;
48 margin: 0 auto 20px auto; 83 margin: 0 auto 20px auto;
49 text-align: left; 84 text-align: left;
50 border-top: 1px solid #7D7D7D; 85 border-top: 1px solid #7D7D7D;
51 } 86 }
52 87
53 .feature.first 88 .feature.first
54 { 89 {
55 border-top: none; 90 border-top: none;
56 } 91 }
57 92
58 .feature img 93 .feature .sprite
59 { 94 {
60 position: absolute; 95 position: absolute;
61 top: 25px; 96 top: 25px;
97 width: 113px;
98 height: 113px;
62 margin-left: -150px; 99 margin-left: -150px;
63 } 100 }
64 101
102 .feature .feature-adblocking
103 {
104 background-position: 0px 0px;
105 }
106
107 .feature .feature-acceptable
108 {
109 background-position: -113px 0px;
110 }
111
112 .feature .feature-typo
113 {
114 background-position: -226px 0px;
115 }
116
117 .feature .feature-malware
118 {
119 background-position: 0px -113px;
120 }
121
122 .feature .feature-socialmedia
123 {
124 background-position: -113px -113px;
125 }
126
127 .feature .feature-tracking
128 {
129 background-position: -226px -113px;
130 }
131
65 .feature .description 132 .feature .description
66 { 133 {
67 display: inline; 134 display: inline;
68 text-align: justify; 135 text-align: justify;
69 } 136 }
70 137
71 .feature .description .longtext 138 .feature .description .longtext
72 { 139 {
73 margin-top: 10px; 140 margin-top: 10px;
74 } 141 }
OLDNEW
« no previous file with comments | « no previous file | anwiki/_override-static/global/global/css/features-mobile.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld