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. Built from https://develop.svn.wordpress.org/trunk@30946 git-svn-id: http://core.svn.wordpress.org/trunk@30935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6b9d5a87e3
commit
626af35acb
|
@ -45,7 +45,6 @@
|
|||
|
||||
.wp-badge {
|
||||
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;
|
||||
-webkit-background-size: 85px 85px;
|
||||
background-size: 85px 85px;
|
||||
|
@ -63,6 +62,9 @@
|
|||
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 {
|
||||
position: absolute;
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
|
||||
.wp-badge {
|
||||
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;
|
||||
-webkit-background-size: 85px 85px;
|
||||
background-size: 85px 85px;
|
||||
|
@ -63,6 +62,9 @@
|
|||
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 {
|
||||
position: absolute;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue