Make WordPress Core

Ticket #29146: 29146.5.diff

File 29146.5.diff, 1.5 KB (added by mikeyarce, 10 years ago)

Fixes bottom margin in Twenty Ten, Twenty Eleven, and Twenty Thirteen for the Video Player, VideoPress, and Audio Player elements in the Standard Post Format. Tested all default themes up to Twenty Fifteen - all other themes either have top margin in the footer .entry-meta or aren't affected.

  • wp-content/themes/twentyeleven/style.css

     
    12411241        padding: 0;
    12421242}
    12431243
     1244/* =Standard
     1245----------------------------------------------- */
    12441246
     1247.format-standard .wp-video,
     1248.format-standard .wp-audio-shortcode,
     1249.format-standard .video-player {
     1250        margin-bottom: 24px;
     1251}
     1252
    12451253/* =Quote
    12461254----------------------------------------------- */
    12471255
  • wp-content/themes/twentyten/style.css

     
    725725#content .video-player {
    726726        padding: 0;
    727727}
     728.format-standard .wp-video,
     729.format-standard .wp-audio-shortcode,
     730.format-standard .video-player {
     731        margin-bottom: 24px;
     732}
    728733
    729 
    730734/* =Asides
    731735-------------------------------------------------------------- */
    732736
  • wp-content/themes/twentythirteen/style.css

     
    15591559        display: inline;
    15601560}
    15611561
     1562/* Standard */
     1563.format-standard .wp-video,
     1564.format-standard .wp-audio-shortcode,
     1565.format-standard .video-player {
     1566        margin-bottom: 24px;
     1567}
     1568
    15621569/* Quote */
    15631570.format-quote {
    15641571        background-color: #210d10;