From 9379f1702c1357cc5cb111f2d4d8a3a5f5f6a1a0 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Mon, 17 Nov 2014 18:09:13 +0000 Subject: [PATCH] Twenty Ten, Eleven, Thirteen: add bottom margin to audio and video players. Fixes #29146. Props mikeyarce, gregrickaby, DavidTheMachine, jeanyoungkim, ccprice. git-svn-id: https://develop.svn.wordpress.org/trunk@30371 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyeleven/style.css | 11 ++++++++++- src/wp-content/themes/twentyten/style.css | 9 +++++++-- src/wp-content/themes/twentythirteen/style.css | 8 ++++++++ 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyeleven/style.css b/src/wp-content/themes/twentyeleven/style.css index aaafcbb39e..edc16f8bbc 100644 --- a/src/wp-content/themes/twentyeleven/style.css +++ b/src/wp-content/themes/twentyeleven/style.css @@ -1241,6 +1241,15 @@ blockquote.pull.alignright { padding: 0; } +/* =Standard +----------------------------------------------- */ + +.format-standard .wp-video, +.format-standard .wp-audio-shortcode, +.format-audio .wp-audio-shortcode, +.format-standard .video-player { + margin-bottom: 24px; +} /* =Quote ----------------------------------------------- */ @@ -2750,4 +2759,4 @@ p.comment-form-comment { } #ie8 section.featured-post .attachment-small-feature { max-width: none; -} \ No newline at end of file +} diff --git a/src/wp-content/themes/twentyten/style.css b/src/wp-content/themes/twentyten/style.css index 66ae2a309c..fbb8eb2df1 100644 --- a/src/wp-content/themes/twentyten/style.css +++ b/src/wp-content/themes/twentyten/style.css @@ -725,7 +725,12 @@ body.page .edit-link { #content .video-player { padding: 0; } - +.format-standard .wp-video, +.format-standard .wp-audio-shortcode, +.format-audio .wp-audio-shortcode, +.format-standard .video-player { + margin-bottom: 24px; +} /* =Asides -------------------------------------------------------------- */ @@ -1378,4 +1383,4 @@ code { .home .sticky { border: none; } -} \ No newline at end of file +} diff --git a/src/wp-content/themes/twentythirteen/style.css b/src/wp-content/themes/twentythirteen/style.css index 78cf78bd40..7d017f7ad7 100644 --- a/src/wp-content/themes/twentythirteen/style.css +++ b/src/wp-content/themes/twentythirteen/style.css @@ -1559,6 +1559,14 @@ footer.entry-meta { display: inline; } +/* Standard */ +.format-standard .wp-video, +.format-standard .wp-audio-shortcode, +.format-audio .wp-audio-shortcode, +.format-standard .video-player { + margin-bottom: 24px; +} + /* Quote */ .format-quote { background-color: #210d10;