From 22997677e0958a72a9ee674612b7f86fab0fb705 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Mon, 14 Jul 2014 17:48:15 +0000 Subject: [PATCH] Twenty Fourteen: improve styles for media "play" button. Props iamtakashi, closes #26469. Built from https://develop.svn.wordpress.org/trunk@29168 git-svn-id: http://core.svn.wordpress.org/trunk@28952 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyfourteen/css/editor-style.css | 12 ++++++------ wp-content/themes/twentyfourteen/style.css | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/wp-content/themes/twentyfourteen/css/editor-style.css b/wp-content/themes/twentyfourteen/css/editor-style.css index 049cb227d6..1d66b73c59 100644 --- a/wp-content/themes/twentyfourteen/css/editor-style.css +++ b/wp-content/themes/twentyfourteen/css/editor-style.css @@ -620,21 +620,21 @@ img { .mejs-overlay-button { background-color: #fff; background-image: none; - border-radius: 10px; + border-radius: 2px; box-shadow: 1px 1px 1px rgba(0,0,0,.8); color: #000; - height: 48px; - margin: -24px 0 0 -32px; - width: 64px; + height: 36px; + margin-left: -24px; + width: 48px; } .mejs-overlay-button:before { -webkit-font-smoothing: antialiased; content: '\f452'; display: inline-block; - font: normal 48px/1 Genericons; + font: normal 32px/1.125 Genericons; position: absolute; - top: 0; + top: 1px; left: 10px; } diff --git a/wp-content/themes/twentyfourteen/style.css b/wp-content/themes/twentyfourteen/style.css index cf8d57b0f9..d93ad8a2cb 100644 --- a/wp-content/themes/twentyfourteen/style.css +++ b/wp-content/themes/twentyfourteen/style.css @@ -1378,21 +1378,21 @@ a.post-thumbnail:hover { .hentry .mejs-overlay-button { background-color: #fff; background-image: none; - border-radius: 10px; + border-radius: 2px; box-shadow: 1px 1px 1px rgba(0,0,0,.8); color: #000; - height: 48px; - margin: -24px 0 0 -32px; - width: 64px; + height: 36px; + margin-left: -24px; + width: 48px; } .hentry .mejs-overlay-button:before { -webkit-font-smoothing: antialiased; content: '\f452'; display: inline-block; - font: normal 48px/1 Genericons; + font: normal 32px/1.125 Genericons; position: absolute; - top: 0; + top: 1px; left: 10px; }