Ticket #30326: 30326.diff
File 30326.diff, 2.0 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfifteen/inc/custom-header.php
89 89 ?> 90 90 <style type="text/css" id="twentyfifteen-header-css"> 91 91 <?php 92 // Short header for when there is no Custom Header and Header Text is hidden. 93 if ( empty( $header_image ) && ! display_header_text() ) : 94 ?> 95 .site-header { 96 padding-top: 14px; 97 padding-bottom: 14px; 98 } 99 100 .site-branding { 101 min-height: 42px; 102 } 103 104 @media screen and (min-width: 46.25em) { 105 .site-header { 106 padding-top: 21px; 107 padding-bottom: 21px; 108 } 109 .site-branding { 110 min-height: 56px; 111 } 112 } 113 @media screen and (min-width: 55em) { 114 .site-header { 115 padding-top: 25px; 116 padding-bottom: 25px; 117 } 118 .site-branding { 119 min-height: 62px; 120 } 121 } 122 @media screen and (min-width: 59.6875em) { 123 .site-header { 124 padding-top: 0; 125 padding-bottom: 0; 126 } 127 .site-branding { 128 min-height: 0; 129 } 130 } 131 <?php 132 endif; 133 134 // Has a Custom Header been added? 92 135 if ( ! empty( $header_image ) ) : 93 136 ?> 94 137 .site-header { -
src/wp-content/themes/twentyfifteen/style.css
905 905 background-color: transparent; 906 906 border: 1px solid #eaeaea; 907 907 border: 1px solid rgba(51, 51, 51, 0.1); 908 height: 4 8px;908 height: 42px; 909 909 overflow: hidden; 910 910 padding: 0; 911 911 position: absolute; … … 915 915 -webkit-transform: translateY(-50%); 916 916 -ms-transform: translateY(-50%); 917 917 transform: translateY(-50%); 918 width: 4 8px;918 width: 42px; 919 919 } 920 920 921 921 .secondary-toggle:before { 922 922 color: #333; 923 923 content: "\f419"; 924 line-height: 4 8px;924 line-height: 42px; 925 925 position: relative; 926 926 top: -1px; 927 927 left: 0;