Ticket #47140: 47140.1.diff
File 47140.1.diff, 4.2 KB (added by , 5 years ago) |
---|
-
src/wp-content/themes/twentynineteen/sass/site/primary/_archives.scss
5 5 margin: $size__spacing-unit $size__spacing-unit calc(3 * #{$size__spacing-unit}); 6 6 7 7 @include media(tablet) { 8 margin: 0 $size__site-margins $size__site-margins;8 margin: 0 $size__site-margins calc(3 * #{$size__spacing-unit}); 9 9 } 10 10 11 11 .page-title { … … 25 25 clear: both; 26 26 27 27 &:after { 28 content: ".";29 28 font-weight: bold; 30 29 color: $color__text-light; 31 30 } … … 32 31 } 33 32 } 34 33 35 .archive .page-header .page-description { 34 .archive .page-header .page-description, 35 .search .page-header .page-description { 36 36 display: block; 37 37 color: $color__text-main; 38 38 font-size: 1em; … … 50 50 .error-404.not-found, 51 51 .no-results.not-found { 52 52 53 .page-title,54 53 .page-content { 55 54 56 55 margin: calc(3 * #{$size__spacing-unit}) #{$size__spacing-unit}; -
src/wp-content/themes/twentynineteen/search.php
19 19 20 20 <header class="page-header"> 21 21 <h1 class="page-title"> 22 <?php _e( 'Search results for:', 'twentynineteen' ); ?> 22 <?php _e( 'Search results for: ', 'twentynineteen' ); ?> 23 <span class="page-description"><?php echo get_search_query(); ?></span> 23 24 </h1> 24 <div class="page-description"><?php echo get_search_query(); ?></div>25 25 </header><!-- .page-header --> 26 26 27 27 <?php -
src/wp-content/themes/twentynineteen/style-rtl.css
4973 4973 .search .page-header .page-description:after, 4974 4974 .error404 .page-header .search-term:after, 4975 4975 .error404 .page-header .page-description:after { 4976 content: ".";4977 4976 font-weight: bold; 4978 4977 color: #767676; 4979 4978 } 4980 4979 4981 .archive .page-header .page-description { 4980 .archive .page-header .page-description, 4981 .search .page-header .page-description { 4982 4982 display: block; 4983 4983 color: #111; 4984 4984 font-size: 1em; … … 4991 4991 } 4992 4992 4993 4993 /* 404 & Not found */ 4994 .error-404.not-found .page-title,4995 4994 .error-404.not-found .page-content, 4996 .no-results.not-found .page-title,4997 4995 .no-results.not-found .page-content { 4998 4996 margin: calc(3 * 1rem) 1rem; 4999 4997 } 5000 4998 5001 4999 @media only screen and (min-width: 768px) { 5002 .error-404.not-found .page-title,5003 5000 .error-404.not-found .page-content, 5004 .no-results.not-found .page-title,5005 5001 .no-results.not-found .page-content { 5006 5002 margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2); 5007 5003 } -
src/wp-content/themes/twentynineteen/style.css
4945 4945 .archive .page-header, 4946 4946 .search .page-header, 4947 4947 .error404 .page-header { 4948 margin: 0 calc(10% + 60px) calc( 10% + 60px);4948 margin: 0 calc(10% + 60px) calc(3 * 1rem); 4949 4949 } 4950 4950 } 4951 4951 … … 4979 4979 .search .page-header .page-description:after, 4980 4980 .error404 .page-header .search-term:after, 4981 4981 .error404 .page-header .page-description:after { 4982 content: ".";4983 4982 font-weight: bold; 4984 4983 color: #767676; 4985 4984 } 4986 4985 4987 .archive .page-header .page-description { 4986 .archive .page-header .page-description, 4987 .search .page-header .page-description { 4988 4988 display: block; 4989 4989 color: #111; 4990 4990 font-size: 1em; … … 4997 4997 } 4998 4998 4999 4999 /* 404 & Not found */ 5000 .error-404.not-found .page-title,5001 5000 .error-404.not-found .page-content, 5002 .no-results.not-found .page-title,5003 5001 .no-results.not-found .page-content { 5004 5002 margin: calc(3 * 1rem) 1rem; 5005 5003 } 5006 5004 5007 5005 @media only screen and (min-width: 768px) { 5008 .error-404.not-found .page-title,5009 5006 .error-404.not-found .page-content, 5010 .no-results.not-found .page-title,5011 5007 .no-results.not-found .page-content { 5012 5008 margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2); 5013 5009 }