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

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

Issue 5932042894180352: Issue 2108 - hreflang ads extra flag after migration from Anwiki to CMS (Closed)
Patch Set: Created April 8, 2015, 12:22 p.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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 * 1 *
2 { 2 {
3 font-family: Arial, sans; 3 font-family: Arial, sans;
4 font-size: 16px; 4 font-size: 16px;
5 } 5 }
6 6
7 body 7 body
8 { 8 {
9 background-color: #f8f6f2; 9 background-color: #f8f6f2;
10 background-image: url(../img/background.png); 10 background-image: url(../img/background.png);
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 #flag-zh_CN 212 #flag-zh_CN
213 { 213 {
214 background-position: -51px -24px; 214 background-position: -51px -24px;
215 } 215 }
216 216
217 #flag-zh_TW 217 #flag-zh_TW
218 { 218 {
219 background-position: -68px -24px; 219 background-position: -68px -24px;
220 } 220 }
221 221
222 a[hreflang="de"]:not(:lang(de)):after, 222 a[hreflang="de"]:not(:lang(de)):not(#language-selector a):after,
223 a[hreflang="en"]:not(:lang(en)):after 223 a[hreflang="en"]:not(:lang(en)):not(#language-selector a):after
Wladimir Palant 2015/04/08 12:29:12 While it will work for this particular flag, would
saroyanm 2015/04/08 12:32:50 Unfortunately not, because we show flag also for h
Wladimir Palant 2015/04/08 12:37:02 I see, too bad. However, per specification :not()
saroyanm 2015/04/08 12:42:20 Yes definitely, good point. Updated.
224 { 224 {
225 display: inline-block; 225 display: inline-block;
226 width: 16px; 226 width: 16px;
227 height: 11px; 227 height: 11px;
228 background-image: url(../img/sprite-flags.png); 228 background-image: url(../img/sprite-flags.png);
229 content: ""; 229 content: "";
230 margin-left: 2px; 230 margin-left: 2px;
231 } 231 }
232 232
233 a[hreflang="de"]:not(:lang(de)):after 233 a[hreflang="de"]:not(:lang(de)):not(#language-selector a):after
234 { 234 {
235 background-position: -34px 0px; 235 background-position: -34px 0px;
236 } 236 }
237 237
238 a[hreflang="en"]:not(:lang(en)):after 238 a[hreflang="en"]:not(:lang(en)):not(#language-selector a):after
239 { 239 {
240 background-position: -51px 0px; 240 background-position: -51px 0px;
241 } 241 }
242 242
243 #logo 243 #logo
244 { 244 {
245 position: absolute; 245 position: absolute;
246 width: 128px; 246 width: 128px;
247 height: 128px; 247 height: 128px;
248 background-position: -83px -83px; 248 background-position: -83px -83px;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 374
375 div.animation[started="false"] 375 div.animation[started="false"]
376 { 376 {
377 cursor: pointer; 377 cursor: pointer;
378 } 378 }
379 379
380 div.animation[started="true"] 380 div.animation[started="true"]
381 { 381 {
382 -moz-user-select: none; 382 -moz-user-select: none;
383 } 383 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld