cat, home, tag,search pages

This commit is contained in:
infeeeee
2019-08-06 19:24:58 +02:00
parent 02e6844883
commit 8e00b8717b
24 changed files with 392 additions and 848 deletions

View File

@@ -76,6 +76,9 @@
@media #{$smalldesktop} {
font-size: 1.2rem;
}
@media #{$bigdesktop} {
font-size: 1.8rem;
}
}
@mixin home-metadata {

View File

@@ -759,7 +759,8 @@ $v-unit-6: 24rem;
// no overflow on touch devices, where no horizontal scrollbar visible
.archive,
.home, .search-results {
.home,
.search-results {
@media #{$smalldesktop} {
overflow-y: hidden;
}
@@ -771,7 +772,8 @@ $v-unit-6: 24rem;
/* -------------------------------------------------------------------------- */
.archive,
.home, .search-results {
.home,
.search-results {
@media #{$smalldesktop} {
// overflow-y: hidden;
}
@@ -1179,20 +1181,24 @@ $v-unit-6: 24rem;
.archivetitle {
margin: 0 auto;
width: 100%;
width: calc(100% / 3);
position: relative;
bottom: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
padding: 2rem 0;
padding: 1rem 2rem;
text-align: center;
border-right: #000 1px solid;
@include triangle-corner-bordered($h-unit-1, 0, transparent, #000, left);
h1 {
@include home-title();
margin: 0 auto;
margin: 0;
display: block;
width: 100%;
text-align: left;
// width: calc(100% / 3);
}
&.tag {
order: 1;
@@ -1233,15 +1239,29 @@ $v-unit-6: 24rem;
} //main end
} //home, archive, search end
/* -------------------------------------------------------------------------- */
/* Search results */
/* -------------------------------------------------------------------------- */
.search-results{
#content{
.archivetitle{
.search-results {
#content {
.archivetitle {
word-wrap: break-word;
h1 {
@include home-title-small();
}
}
}
}
.search-no-results {
main {
@media #{$smalldesktop} {
padding: 0 $h-unit-4;
.archivetitle h1, article h2 {
}
}
}
}