Changeset 46234
- Timestamp:
- 09/22/2019 09:58:06 PM (5 years ago)
- Location:
- trunk/src/wp-content/themes/twentynineteen
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/sass/site/primary/_archives.scss
r44652 r46234 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 … … 24 24 display: inherit; 25 25 clear: both; 26 27 &:after {28 content: ".";29 font-weight: bold;30 color: $color__text-light;31 }32 26 } 33 27 } 34 28 35 .archive .page-header .page-description { 29 .archive .page-header .page-description, 30 .search .page-header .page-description { 36 31 display: block; 37 32 color: $color__text-main; … … 51 46 .no-results.not-found { 52 47 53 .page-title,54 48 .page-content { 55 49 -
trunk/src/wp-content/themes/twentynineteen/search.php
r45942 r46234 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 -
trunk/src/wp-content/themes/twentynineteen/style-rtl.css
r45920 r46234 4940 4940 .search .page-header, 4941 4941 .error404 .page-header { 4942 margin: 0 calc(10% + 60px) calc( 10% + 60px);4942 margin: 0 calc(10% + 60px) calc(3 * 1rem); 4943 4943 } 4944 4944 } … … 4968 4968 } 4969 4969 4970 .archive .page-header .search-term:after, 4971 .archive .page-header .page-description:after, 4972 .search .page-header .search-term:after, 4973 .search .page-header .page-description:after, 4974 .error404 .page-header .search-term:after, 4975 .error404 .page-header .page-description:after { 4976 content: "."; 4977 font-weight: bold; 4978 color: #767676; 4979 } 4980 4981 .archive .page-header .page-description { 4970 .archive .page-header .page-description, 4971 .search .page-header .page-description { 4982 4972 display: block; 4983 4973 color: #111; … … 4992 4982 4993 4983 /* 404 & Not found */ 4994 .error-404.not-found .page-title,4995 4984 .error-404.not-found .page-content, 4996 .no-results.not-found .page-title,4997 4985 .no-results.not-found .page-content { 4998 4986 margin: calc(3 * 1rem) 1rem; … … 5000 4988 5001 4989 @media only screen and (min-width: 768px) { 5002 .error-404.not-found .page-title,5003 4990 .error-404.not-found .page-content, 5004 .no-results.not-found .page-title,5005 4991 .no-results.not-found .page-content { 5006 4992 margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2); -
trunk/src/wp-content/themes/twentynineteen/style.css
r45920 r46234 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 } … … 4974 4974 } 4975 4975 4976 .archive .page-header .search-term:after, 4977 .archive .page-header .page-description:after, 4978 .search .page-header .search-term:after, 4979 .search .page-header .page-description:after, 4980 .error404 .page-header .search-term:after, 4981 .error404 .page-header .page-description:after { 4982 content: "."; 4983 font-weight: bold; 4984 color: #767676; 4985 } 4986 4987 .archive .page-header .page-description { 4976 .archive .page-header .page-description, 4977 .search .page-header .page-description { 4988 4978 display: block; 4989 4979 color: #111; … … 4998 4988 4999 4989 /* 404 & Not found */ 5000 .error-404.not-found .page-title,5001 4990 .error-404.not-found .page-content, 5002 .no-results.not-found .page-title,5003 4991 .no-results.not-found .page-content { 5004 4992 margin: calc(3 * 1rem) 1rem; … … 5006 4994 5007 4995 @media only screen and (min-width: 768px) { 5008 .error-404.not-found .page-title,5009 4996 .error-404.not-found .page-content, 5010 .no-results.not-found .page-title,5011 4997 .no-results.not-found .page-content { 5012 4998 margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2);
Note: See TracChangeset
for help on using the changeset viewer.