About: Fix the WordPress badge.
`css-clean` (minifies our CSS) has an issue when using multiple backgrounds and background position together. Instead of relying on browser support for multiple backgrounds to display the WP logo as SVG, use the `.svg` CSS class. see #30735. git-svn-id: https://develop.svn.wordpress.org/trunk@30946 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e2c36c3176
commit
fabd47a2ff
|
@ -45,7 +45,6 @@
|
||||||
|
|
||||||
.wp-badge {
|
.wp-badge {
|
||||||
background: #0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat;
|
background: #0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat;
|
||||||
background: #0074a2, url(../images/wordpress-logo-white.svg?ver=20131110) no-repeat; /* multiple backgrounds are ignored by browsers that don't support SVGs */
|
|
||||||
background-position: center 24px;
|
background-position: center 24px;
|
||||||
-webkit-background-size: 85px 85px;
|
-webkit-background-size: 85px 85px;
|
||||||
background-size: 85px 85px;
|
background-size: 85px 85px;
|
||||||
|
@ -63,6 +62,9 @@
|
||||||
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.svg .wp-badge {
|
||||||
|
background-image: url(../images/wordpress-logo-white.svg?ver=20131110);
|
||||||
|
}
|
||||||
|
|
||||||
.about-wrap .wp-badge {
|
.about-wrap .wp-badge {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -474,4 +476,4 @@
|
||||||
.about-wrap .feature-list.finer-points p {
|
.about-wrap .feature-list.finer-points p {
|
||||||
margin-left: 80px;
|
margin-left: 80px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue