summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentynineteen/sass/site/primary/_archives.scss')
-rw-r--r--themes/twentynineteen/sass/site/primary/_archives.scss71
1 files changed, 71 insertions, 0 deletions
diff --git a/themes/twentynineteen/sass/site/primary/_archives.scss b/themes/twentynineteen/sass/site/primary/_archives.scss
new file mode 100644
index 00000000..c040c27b
--- /dev/null
+++ b/themes/twentynineteen/sass/site/primary/_archives.scss
@@ -0,0 +1,71 @@
+.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 $size__site-margins;
+ }
+
+ .page-title {
+
+ color: $color__text-light;
+ display: inline;
+ letter-spacing: normal;
+
+ &:before {
+ display: none;
+ }
+ }
+
+ .search-term,
+ .page-description {
+ display: inherit;
+ clear: both;
+
+ &:after {
+ content: ".";
+ font-weight: bold;
+ color: $color__text-light;
+ }
+ }
+}
+
+.archive .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-title,
+ .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%;
+ }
+}