Ticket #28237: 28237.6.diff
File 28237.6.diff, 2.3 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfourteen/style.css
861 861 float: left; 862 862 font-size: 18px; 863 863 font-weight: 700; 864 line-height: 48px; 864 line-height: 24px; 865 padding: 12px 96px 12px 0; 865 866 margin: 0; 866 867 overflow: hidden; 867 text-overflow: ellipsis;868 white-space: nowrap;869 868 } 870 869 871 870 .site-title, … … 874 873 color: #fff; 875 874 } 876 875 876 .site-title a { 877 display: block; 878 } 879 877 880 /* Search in the header */ 878 881 879 882 .search-toggle { … … 880 883 background-color: #24890d; 881 884 cursor: pointer; 882 885 float: right; 883 height: 48px;884 margin-right: 38px;886 height: 100%; 887 margin-right: 0; 885 888 text-align: center; 886 889 width: 48px; 890 position: absolute; 891 top: 0; 892 right: 0; 887 893 } 888 894 889 895 .search-toggle:hover, … … 895 901 color: #fff; 896 902 content: "\f400"; 897 903 font-size: 20px; 898 margin-top: 14px; 904 position: absolute; 905 top: 50%; 906 left: 50%; 907 margin-top: -10px; 908 margin-left: -9px; 899 909 } 900 910 901 911 .search-toggle .screen-reader-text { … … 975 985 } 976 986 977 987 .primary-navigation.toggled-on { 978 padding: 72px 0 36px; 988 padding: 24px 0 36px; 989 clear: both; 979 990 } 980 991 981 992 .primary-navigation .nav-menu { … … 1013 1024 padding: 0; 1014 1025 position: absolute; 1015 1026 top: 0; 1016 right: 0;1027 right: 48px; 1017 1028 text-align: center; 1018 1029 width: 48px; 1019 1030 } … … 3080 3091 } 3081 3092 3082 3093 @media screen and (max-width: 400px) { 3083 .site-title {3084 max-width: 71%;3085 }3086 3087 3094 .list-view .site-content .post-thumbnail { 3088 3095 background: none; 3089 3096 width: auto; … … 3158 3165 } 3159 3166 3160 3167 @media screen and (min-width: 401px) { 3161 .site-title {3162 max-width: 77%;3163 }3164 3165 3168 a.post-thumbnail:hover img { 3166 3169 opacity: 0.85; 3167 3170 } … … 3291 3294 3292 3295 @media screen and (min-width: 594px) { 3293 3296 .site-title { 3294 max-width: 85%; 3297 line-height: 48px; 3298 padding: 0; 3295 3299 } 3296 3300 3297 3301 .site-content .entry-header { 3298 3302 padding-right: 30px; 3299 3303 padding-left: 30px; … … 3309 3313 padding: 0 30px; 3310 3314 } 3311 3315 3312 .site-title {3313 max-width: 89%;3314 }3315 3316 .search-toggle {3317 margin-right: 18px;3318 }3319 3320 3316 .search-box .search-field { 3321 3317 width: 50%; 3322 3318 } … … 3447 3443 .header-main { 3448 3444 padding-right: 0; 3449 3445 } 3450 3451 .site-title { 3452 max-width: 93%; 3453 } 3454 3446 3455 3447 .search-toggle { 3448 position: relative; 3449 right: 0; 3456 3450 margin-right: 0; 3457 3451 } 3458 3452