About: Improve color contrast of WP Badge text, and update the logo to use the latest version.

Fixes #35661.
Props @hugobaeta.


git-svn-id: https://develop.svn.wordpress.org/trunk@36910 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mel Choyce 2016-03-09 21:52:29 +00:00
parent 57686e8b5d
commit 14d0424513
3 changed files with 8 additions and 8 deletions

View File

@ -49,11 +49,11 @@
/* WordPress Version Badge */ /* WordPress Version Badge */
.wp-badge { .wp-badge {
background: #0073aa url(../images/w-logo-white.png?ver=20131202) no-repeat; background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
background-position: center 24px; background-position: center 25px;
-webkit-background-size: 85px 85px; -webkit-background-size: 80px 80px;
background-size: 85px 85px; background-size: 80px 80px;
color: #78c8e6; color: #fff;
font-size: 14px; font-size: 14px;
text-align: center; text-align: center;
font-weight: 600; font-weight: 600;
@ -61,14 +61,14 @@
padding-top: 120px; padding-top: 120px;
height: 40px; height: 40px;
display: inline-block; display: inline-block;
width: 150px; width: 140px;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
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 { .svg .wp-badge {
background-image: url(../images/wordpress-logo-white.svg?ver=20131110); background-image: url(../images/wordpress-logo-white.svg?ver=20160308);
} }
.about-wrap .wp-badge { .about-wrap .wp-badge {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve"><style>.style0{fill:#fff;}</style><g><g><path d="M4.548 31.999c0 10.9 6.3 20.3 15.5 24.706L6.925 20.827C5.402 24.2 4.5 28 4.5 31.999z M50.531 30.614c0-3.394-1.219-5.742-2.264-7.57c-1.391-2.263-2.695-4.177-2.695-6.439c0-2.523 1.912-4.872 4.609-4.872 c0.121 0 0.2 0 0.4 0.022C45.653 7.3 39.1 4.5 32 4.548c-9.591 0-18.027 4.921-22.936 12.4 c0.645 0 1.3 0 1.8 0.033c2.871 0 7.316-0.349 7.316-0.349c1.479-0.086 1.7 2.1 0.2 2.3 c0 0-1.487 0.174-3.142 0.261l9.997 29.735l6.008-18.017l-4.276-11.718c-1.479-0.087-2.879-0.261-2.879-0.261 c-1.48-0.087-1.306-2.349 0.174-2.262c0 0 4.5 0.3 7.2 0.349c2.87 0 7.317-0.349 7.317-0.349 c1.479-0.086 1.7 2.1 0.2 2.262c0 0-1.489 0.174-3.142 0.261l9.92 29.508l2.739-9.148 C49.628 35.7 50.5 33 50.5 30.614z M32.481 34.4l-8.237 23.934c2.46 0.7 5.1 1.1 7.8 1.1 c3.197 0 6.262-0.552 9.116-1.556c-0.072-0.118-0.141-0.243-0.196-0.379L32.481 34.4z M56.088 18.8 c0.119 0.9 0.2 1.8 0.2 2.823c0 2.785-0.521 5.916-2.088 9.832l-8.385 24.242c8.161-4.758 13.65-13.6 13.65-23.728 C59.451 27.2 58.2 22.7 56.1 18.83z M32 0c-17.645 0-32 14.355-32 32C0 49.6 14.4 64 32 64s32-14.355 32-32.001 C64 14.4 49.6 0 32 0z M32 62.533c-16.835 0-30.533-13.698-30.533-30.534C1.467 15.2 15.2 1.5 32 1.5 s30.534 13.7 30.5 30.532C62.533 48.8 48.8 62.5 32 62.533z" class="style0"/></g></g></svg> <svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><g fill="none"><g fill="#fff"><g><path d="M40 2.48c5.07 0 9.98 1 14.6 2.94 2.23.94 4.37 2.1 6.38 3.46 2 1.35 3.86 2.9 5.55 4.6 1.7 1.68 3.24 3.55 4.6 5.54 1.34 2 2.5 4.15 3.45 6.37 1.95 4.62 2.94 9.53 2.94 14.6s-1 9.98-2.94 14.6c-.94 2.23-2.1 4.37-3.46 6.38-1.35 2-2.9 3.86-4.6 5.55-1.68 1.7-3.55 3.24-5.54 4.6-2 1.34-4.15 2.5-6.37 3.45-4.62 1.95-9.53 2.94-14.6 2.94s-9.98-1-14.6-2.94c-2.23-.94-4.37-2.1-6.38-3.46-2-1.35-3.86-2.9-5.55-4.6-1.7-1.68-3.24-3.55-4.6-5.54-1.34-2-2.5-4.15-3.45-6.37C3.47 50 2.48 45.08 2.48 40s1-9.98 2.94-14.6c.94-2.23 2.1-4.37 3.46-6.38 1.35-2 2.9-3.86 4.6-5.55 1.68-1.7 3.55-3.24 5.54-4.6 2-1.34 4.15-2.5 6.37-3.45C30 3.47 34.92 2.48 40 2.48m0-2.4C17.95.08.08 17.95.08 40S17.95 79.92 40 79.92 79.92 62.05 79.92 40 62.05.08 40 .08"/><path d="M6.73 40c0 13.17 7.65 24.55 18.75 29.94L9.6 26.46C7.78 30.6 6.74 35.18 6.74 40zm55.73-1.68c0-4.1-1.48-6.96-2.74-9.17-1.7-2.74-3.27-5.06-3.27-7.8 0-3.06 2.32-5.9 5.58-5.9.15 0 .3 0 .43.02-5.9-5.43-13.8-8.74-22.46-8.74-11.62 0-21.85 5.97-27.8 15 .8.02 1.52.04 2.15.04 3.47 0 8.86-.43 8.86-.43 1.8-.1 2.02 2.53.22 2.75 0 0-1.8.2-3.8.3l12.1 36.04 7.3-21.84-5.2-14.2c-1.78-.1-3.48-.3-3.48-.3-1.8-.12-1.58-2.86.2-2.76 0 0 5.5.43 8.77.43 3.5 0 8.88-.43 8.88-.43 1.8-.1 2 2.53.2 2.75 0 0-1.8.2-3.8.3l12.03 35.76 3.44-10.87c1.52-4.77 2.42-8.13 2.42-10.98zm-21.88 4.6l-9.98 29c2.98.87 6.13 1.35 9.4 1.35 3.87 0 7.6-.67 11.05-1.9-.1-.13-.17-.28-.24-.45l-10.22-28zm28.6-18.88c.16 1.06.24 2.2.24 3.42 0 3.37-.64 7.17-2.53 11.92L56.72 68.75C66.63 63 73.27 52.27 73.27 40c0-5.8-1.48-11.22-4.08-15.96z"/></g></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB