mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 07:20:01 +01:00
fa5fb55e1d
Improves information provided by the headings, their alignment and spacing in the following special pages: - search page with and without search results - 404 page (no content) - archive pages Props ianbelanger, kjellr, nrqsnchz, audrasjb. Fixes #47140. Built from https://develop.svn.wordpress.org/trunk@46234 git-svn-id: http://core.svn.wordpress.org/trunk@46046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
66 lines
1.1 KiB
SCSS
66 lines
1.1 KiB
SCSS
.archive .page-header,
|
|
.search .page-header,
|
|
.error404 .page-header {
|
|
|
|
margin: $size__spacing-unit $size__spacing-unit calc(3 * #{$size__spacing-unit});
|
|
|
|
@include media(tablet) {
|
|
margin: 0 $size__site-margins calc(3 * #{$size__spacing-unit});
|
|
}
|
|
|
|
.page-title {
|
|
|
|
color: $color__text-light;
|
|
display: inline;
|
|
letter-spacing: normal;
|
|
|
|
&:before {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.search-term,
|
|
.page-description {
|
|
display: inherit;
|
|
clear: both;
|
|
}
|
|
}
|
|
|
|
.archive .page-header .page-description,
|
|
.search .page-header .page-description {
|
|
display: block;
|
|
color: $color__text-main;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.hfeed .entry .entry-header {
|
|
|
|
@include media(tablet) {
|
|
margin: calc(3 * #{$size__spacing-unit}) $size__site-margins calc(#{ $size__spacing-unit } / 2);
|
|
}
|
|
}
|
|
|
|
/* 404 & Not found */
|
|
|
|
.error-404.not-found,
|
|
.no-results.not-found {
|
|
|
|
.page-content {
|
|
|
|
margin: calc(3 * #{$size__spacing-unit}) #{$size__spacing-unit};
|
|
|
|
@include media(tablet) {
|
|
margin: calc(3 * #{$size__spacing-unit}) $size__site-margins calc(#{ $size__spacing-unit } / 2);
|
|
}
|
|
}
|
|
|
|
.search-submit {
|
|
vertical-align: middle;
|
|
margin: $size__spacing-unit 0;
|
|
}
|
|
|
|
.search-field {
|
|
width: 100%;
|
|
}
|
|
}
|