work on sthome and archive pages, template cleanup
This commit is contained in:
242
css/base.css
242
css/base.css
@@ -447,6 +447,9 @@ object {
|
||||
font: bold 1rem "Westeinde Caption";
|
||||
color: #000;
|
||||
z-index: 1; }
|
||||
@media (min-width: 769px) {
|
||||
.wrapper main section article .metadata {
|
||||
font-size: 1.2rem; } }
|
||||
.wrapper main section article .metadata::after {
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -501,19 +504,23 @@ object {
|
||||
display: none !important; }
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* HOMEPAGE */
|
||||
/* ARCHIVE AND HOMEPAGE */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@media (min-width: 769px) {
|
||||
.archive,
|
||||
.home {
|
||||
overflow-y: hidden; } }
|
||||
|
||||
.archive .wrapper,
|
||||
.home .wrapper {
|
||||
/* ----------------------------- header on home ----------------------------- */ }
|
||||
@media (min-width: 769px) {
|
||||
.archive .wrapper,
|
||||
.home .wrapper {
|
||||
overflow-y: hidden;
|
||||
width: fit-content; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive .wrapper .header .header-scroll,
|
||||
.home .wrapper .header .header-scroll {
|
||||
display: block;
|
||||
position: fixed;
|
||||
@@ -521,65 +528,82 @@ object {
|
||||
width: 10rem;
|
||||
flex: 1 0 auto !important;
|
||||
top: 0; } }
|
||||
.archive .wrapper .header .header-scroll.header-scroll-left,
|
||||
.home .wrapper .header .header-scroll.header-scroll-left {
|
||||
left: 10rem; }
|
||||
.archive .wrapper .header .header-scroll.header-scroll-left button,
|
||||
.home .wrapper .header .header-scroll.header-scroll-left button {
|
||||
cursor: url("../img/arrow-black-left.png"), w-resize; }
|
||||
.archive .wrapper .header .header-scroll.header-scroll-right,
|
||||
.home .wrapper .header .header-scroll.header-scroll-right {
|
||||
right: 10rem; }
|
||||
.archive .wrapper .header .header-scroll.header-scroll-right button,
|
||||
.home .wrapper .header .header-scroll.header-scroll-right button {
|
||||
cursor: url("../img/arrow-black-right.png"), e-resize; }
|
||||
.archive .wrapper .header .header-scroll button,
|
||||
.home .wrapper .header .header-scroll button {
|
||||
height: 100vh;
|
||||
width: 10rem; }
|
||||
|
||||
@media (min-width: 769px) {
|
||||
.archive main,
|
||||
.home main {
|
||||
height: 100vh;
|
||||
width: fit-content;
|
||||
position: relative; } }
|
||||
|
||||
.archive main section,
|
||||
.home main section {
|
||||
/* --------------------------- home article mobile/default -------------------------- */
|
||||
/* ------------------------ home article desktop big ------------------------ */
|
||||
/* ----------------------- home article desktop small ----------------------- */ }
|
||||
/* ----------------------- articles desktop small ----------------------- */ }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section,
|
||||
.home main section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
width: fit-content; } }
|
||||
.archive main section article,
|
||||
.home main section article {
|
||||
height: 100vh; }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section article > a,
|
||||
.home main section article > a {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
display: inline-block; }
|
||||
.archive main section article .thumbnailwrapper img.attachment-home-thumbnail,
|
||||
.home main section article .thumbnailwrapper img.attachment-home-thumbnail {
|
||||
height: 50vh;
|
||||
width: 100vw;
|
||||
object-fit: cover; }
|
||||
.archive main section article h2,
|
||||
.home main section article h2 {
|
||||
width: 100%;
|
||||
height: 50vh;
|
||||
padding: 2rem;
|
||||
padding-top: 3rem;
|
||||
margin: 0; }
|
||||
.archive main section article h2 a,
|
||||
.home main section article h2 a {
|
||||
font: bold 3rem "Westeinde Caption";
|
||||
color: #000; } }
|
||||
@media (min-width: 769px) and (-webkit-min-device-pixel-ratio: 2.1) {
|
||||
.archive main section article h2 a,
|
||||
.home main section article h2 a {
|
||||
font-size: 2.5rem !important; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section article h2 a,
|
||||
.home main section article h2 a {
|
||||
font-size: 5rem; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home-wrapper-big,
|
||||
.home main section .home-wrapper-big {
|
||||
flex: 0 0 auto; }
|
||||
.archive main section .home-wrapper-big article,
|
||||
.home main section .home-wrapper-big article {
|
||||
position: relative;
|
||||
width: calc(100vw - (10rem * 3));
|
||||
@@ -591,21 +615,25 @@ object {
|
||||
/* -------------------------------- thumbnail and title ------------------------------- */
|
||||
/* -------------------------- home article metadata big------------------------- */
|
||||
/* ------------------------- home article big hover ------------------------- */ }
|
||||
.archive main section .home-wrapper-big article .thumbnailwrapper,
|
||||
.home main section .home-wrapper-big article .thumbnailwrapper {
|
||||
height: calc(100% - 4rem);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
border-top: 1px #000 solid; }
|
||||
.archive main section .home-wrapper-big article .thumbnailwrapper img.attachment-home-big-thumbnail,
|
||||
.home main section .home-wrapper-big article .thumbnailwrapper img.attachment-home-big-thumbnail {
|
||||
object-fit: cover;
|
||||
width: 50%;
|
||||
height: 100%; }
|
||||
.archive main section .home-wrapper-big article h2,
|
||||
.home main section .home-wrapper-big article h2 {
|
||||
height: unset;
|
||||
position: absolute;
|
||||
top: 6rem;
|
||||
padding: 4rem; }
|
||||
.archive main section .home-wrapper-big article .metadata,
|
||||
.home main section .home-wrapper-big article .metadata {
|
||||
bottom: 0;
|
||||
background: transparent;
|
||||
@@ -615,9 +643,12 @@ object {
|
||||
flex-direction: row;
|
||||
padding: 0;
|
||||
justify-content: flex-start;
|
||||
align-items: stretch; }
|
||||
align-items: center; }
|
||||
.archive main section .home-wrapper-big article .metadata::after,
|
||||
.home main section .home-wrapper-big article .metadata::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
top: 0;
|
||||
border: none;
|
||||
width: calc(100% - 4rem);
|
||||
@@ -625,6 +656,7 @@ object {
|
||||
left: calc(4rem);
|
||||
background-color: transparent;
|
||||
margin-left: -0; }
|
||||
.archive main section .home-wrapper-big article .metadata::before,
|
||||
.home main section .home-wrapper-big article .metadata::before {
|
||||
display: block;
|
||||
content: "";
|
||||
@@ -634,7 +666,6 @@ object {
|
||||
top: 0;
|
||||
left: -0;
|
||||
border-left: #000 solid 1px;
|
||||
border-top: #000 1px solid;
|
||||
-moz-transform: skewX(-45deg);
|
||||
-o-transform: skewX(-45deg);
|
||||
-ms-transform: skewX(-45deg);
|
||||
@@ -642,27 +673,42 @@ object {
|
||||
transform: skewX(-45deg);
|
||||
transform-origin: left bottom;
|
||||
background-color: transparent;
|
||||
z-index: 9; }
|
||||
z-index: 9; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section .home-wrapper-big article .metadata,
|
||||
.home main section .home-wrapper-big article .metadata {
|
||||
font-size: 2rem; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home-wrapper-big article .metadata > div,
|
||||
.home main section .home-wrapper-big article .metadata > div {
|
||||
width: 30%;
|
||||
padding-top: 2rem; } }
|
||||
width: 30%; } }
|
||||
@media (min-width: 769px) and (-webkit-min-device-pixel-ratio: 2.1) {
|
||||
.archive main section .home-wrapper-big article .metadata,
|
||||
.home main section .home-wrapper-big article .metadata {
|
||||
height: calc(10rem / 2); } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home-wrapper-big article .metadata .categories,
|
||||
.home main section .home-wrapper-big article .metadata .categories {
|
||||
display: none;
|
||||
display: block;
|
||||
border-right: #000 solid 1px; }
|
||||
display: block; }
|
||||
.archive main section .home-wrapper-big article .metadata .bevezeto,
|
||||
.archive main section .home-wrapper-big article .metadata .alcim,
|
||||
.home main section .home-wrapper-big article .metadata .bevezeto,
|
||||
.home main section .home-wrapper-big article .metadata .alcim {
|
||||
display: none; }
|
||||
.archive main section .home-wrapper-big article.hovered,
|
||||
.home main section .home-wrapper-big article.hovered {
|
||||
width: calc(100vw - (10rem * 2)); }
|
||||
.archive main section .home-wrapper-big article.hovered h2 > a,
|
||||
.home main section .home-wrapper-big article.hovered h2 > a {
|
||||
color: #000; }
|
||||
.home main section .home-wrapper-1 article a.thumbnailwrapper {
|
||||
justify-content: flex-end; }
|
||||
.home main section .home-wrapper-2 article {
|
||||
border-left: #000 1px solid; } }
|
||||
.archive main section .home-wrapper-big.home-wrapper-1 article a.thumbnailwrapper,
|
||||
.home main section .home-wrapper-big.home-wrapper-1 article a.thumbnailwrapper {
|
||||
justify-content: flex-end; }
|
||||
.archive main section .home-wrapper-big.home-wrapper-2 article,
|
||||
.home main section .home-wrapper-big.home-wrapper-2 article {
|
||||
border-left: #000 1px solid; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home-wrapper-small,
|
||||
.home main section .home-wrapper-small {
|
||||
width: calc(100vw - (10rem * 3));
|
||||
height: calc((100vw - (10rem * 3)) / 3 * 2);
|
||||
@@ -671,20 +717,41 @@ object {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
margin: auto 0; }
|
||||
.home main section .home-wrapper-small:nth-child(3) {
|
||||
margin-left: 10rem; }
|
||||
.home main section .home-wrapper-small article {
|
||||
.archive main section .home-wrapper-small.home-wrapper-s1,
|
||||
.home main section .home-wrapper-small.home-wrapper-s1 {
|
||||
margin-left: 10rem !important; }
|
||||
.archive main section .home-wrapper-small article,
|
||||
.archive main section .home-wrapper-small .archivetitle,
|
||||
.archive main section .home-wrapper-small .archivedescription,
|
||||
.home main section .home-wrapper-small article,
|
||||
.home main section .home-wrapper-small .archivetitle,
|
||||
.home main section .home-wrapper-small .archivedescription {
|
||||
flex: 0 0 calc(100% / 3);
|
||||
height: 50%;
|
||||
position: relative; }
|
||||
.home main section .home-wrapper-small article .thumbnailwrapper {
|
||||
.archive main section .home-wrapper-small article .thumbnailwrapper,
|
||||
.archive main section .home-wrapper-small .archivetitle .thumbnailwrapper,
|
||||
.archive main section .home-wrapper-small .archivedescription .thumbnailwrapper,
|
||||
.home main section .home-wrapper-small article .thumbnailwrapper,
|
||||
.home main section .home-wrapper-small .archivetitle .thumbnailwrapper,
|
||||
.home main section .home-wrapper-small .archivedescription .thumbnailwrapper {
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
.home main section .home-wrapper-small article .thumbnailwrapper img {
|
||||
.archive main section .home-wrapper-small article .thumbnailwrapper img,
|
||||
.archive main section .home-wrapper-small .archivetitle .thumbnailwrapper img,
|
||||
.archive main section .home-wrapper-small .archivedescription .thumbnailwrapper img,
|
||||
.home main section .home-wrapper-small article .thumbnailwrapper img,
|
||||
.home main section .home-wrapper-small .archivetitle .thumbnailwrapper img,
|
||||
.home main section .home-wrapper-small .archivedescription .thumbnailwrapper img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover; }
|
||||
.home main section .home-wrapper-small article .metadata {
|
||||
.archive main section .home-wrapper-small article .metadata,
|
||||
.archive main section .home-wrapper-small .archivetitle .metadata,
|
||||
.archive main section .home-wrapper-small .archivedescription .metadata,
|
||||
.home main section .home-wrapper-small article .metadata,
|
||||
.home main section .home-wrapper-small .archivetitle .metadata,
|
||||
.home main section .home-wrapper-small .archivedescription .metadata {
|
||||
width: 100%;
|
||||
height: 20%;
|
||||
position: absolute;
|
||||
@@ -697,8 +764,15 @@ object {
|
||||
justify-content: flex-end;
|
||||
align-items: stretch;
|
||||
display: none; }
|
||||
.home main section .home-wrapper-small article .metadata::after {
|
||||
.archive main section .home-wrapper-small article .metadata::after,
|
||||
.archive main section .home-wrapper-small .archivetitle .metadata::after,
|
||||
.archive main section .home-wrapper-small .archivedescription .metadata::after,
|
||||
.home main section .home-wrapper-small article .metadata::after,
|
||||
.home main section .home-wrapper-small .archivetitle .metadata::after,
|
||||
.home main section .home-wrapper-small .archivedescription .metadata::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
top: 0;
|
||||
border: none;
|
||||
width: calc(100% - 4rem);
|
||||
@@ -706,7 +780,12 @@ object {
|
||||
left: calc(4rem);
|
||||
background-color: transparent;
|
||||
margin-left: -0; }
|
||||
.home main section .home-wrapper-small article .metadata::before {
|
||||
.archive main section .home-wrapper-small article .metadata::before,
|
||||
.archive main section .home-wrapper-small .archivetitle .metadata::before,
|
||||
.archive main section .home-wrapper-small .archivedescription .metadata::before,
|
||||
.home main section .home-wrapper-small article .metadata::before,
|
||||
.home main section .home-wrapper-small .archivetitle .metadata::before,
|
||||
.home main section .home-wrapper-small .archivedescription .metadata::before {
|
||||
display: block;
|
||||
content: "";
|
||||
position: absolute;
|
||||
@@ -715,7 +794,6 @@ object {
|
||||
top: 0;
|
||||
left: -0;
|
||||
border-left: #000 solid 1px;
|
||||
border-top: #000 1px solid;
|
||||
-moz-transform: skewX(-45deg);
|
||||
-o-transform: skewX(-45deg);
|
||||
-ms-transform: skewX(-45deg);
|
||||
@@ -724,24 +802,129 @@ object {
|
||||
transform-origin: left bottom;
|
||||
background-color: transparent;
|
||||
z-index: 9; }
|
||||
.home main section .home-wrapper-small article .metadata.vis {
|
||||
.archive main section .home-wrapper-small article .metadata.vis,
|
||||
.archive main section .home-wrapper-small .archivetitle .metadata.vis,
|
||||
.archive main section .home-wrapper-small .archivedescription .metadata.vis,
|
||||
.home main section .home-wrapper-small article .metadata.vis,
|
||||
.home main section .home-wrapper-small .archivetitle .metadata.vis,
|
||||
.home main section .home-wrapper-small .archivedescription .metadata.vis {
|
||||
display: flex; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section .home-wrapper-small article h2,
|
||||
.archive main section .home-wrapper-small article h2 a,
|
||||
.archive main section .home-wrapper-small .archivetitle h2,
|
||||
.archive main section .home-wrapper-small .archivetitle h2 a,
|
||||
.archive main section .home-wrapper-small .archivedescription h2,
|
||||
.archive main section .home-wrapper-small .archivedescription h2 a,
|
||||
.home main section .home-wrapper-small article h2,
|
||||
.home main section .home-wrapper-small article h2 a {
|
||||
.home main section .home-wrapper-small article h2 a,
|
||||
.home main section .home-wrapper-small .archivetitle h2,
|
||||
.home main section .home-wrapper-small .archivetitle h2 a,
|
||||
.home main section .home-wrapper-small .archivedescription h2,
|
||||
.home main section .home-wrapper-small .archivedescription h2 a {
|
||||
font-size: 1.2rem;
|
||||
-webkit-text-stroke: #000 1px;
|
||||
color: #fff; } }
|
||||
@media (min-width: 769px) {
|
||||
.home main section .home-wrapper-small article h2 {
|
||||
.archive main section .home-wrapper-small article h2,
|
||||
.archive main section .home-wrapper-small .archivetitle h2,
|
||||
.archive main section .home-wrapper-small .archivedescription h2,
|
||||
.home main section .home-wrapper-small article h2,
|
||||
.home main section .home-wrapper-small .archivetitle h2,
|
||||
.home main section .home-wrapper-small .archivedescription h2 {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
background-color: #fff;
|
||||
height: 100%; }
|
||||
.home main section .home-wrapper-small article h2 a {
|
||||
.archive main section .home-wrapper-small article h2 a,
|
||||
.archive main section .home-wrapper-small .archivetitle h2 a,
|
||||
.archive main section .home-wrapper-small .archivedescription h2 a,
|
||||
.home main section .home-wrapper-small article h2 a,
|
||||
.home main section .home-wrapper-small .archivetitle h2 a,
|
||||
.home main section .home-wrapper-small .archivedescription h2 a {
|
||||
top: 50%;
|
||||
position: absolute; } }
|
||||
position: absolute; }
|
||||
.archive main section .home-wrapper-small .archivetitle,
|
||||
.home main section .home-wrapper-small .archivetitle {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
align-items: flex-start;
|
||||
padding: 2rem;
|
||||
border-right: #000 1px solid;
|
||||
font: bold 3rem "Westeinde Caption";
|
||||
color: #000; } }
|
||||
@media (min-width: 769px) and (-webkit-min-device-pixel-ratio: 2.1) {
|
||||
.archive main section .home-wrapper-small .archivetitle,
|
||||
.home main section .home-wrapper-small .archivetitle {
|
||||
font-size: 2.5rem !important; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section .home-wrapper-small .archivetitle,
|
||||
.home main section .home-wrapper-small .archivetitle {
|
||||
font-size: 5rem; } }
|
||||
@media (min-width: 769px) {
|
||||
.archive main section .home-wrapper-small .archivetitle::after,
|
||||
.home main section .home-wrapper-small .archivetitle::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
top: 0;
|
||||
border: none;
|
||||
width: calc(100% - 5rem);
|
||||
border-top: #000 1px solid;
|
||||
left: calc(5rem);
|
||||
background-color: transparent;
|
||||
margin-left: -0; }
|
||||
.archive main section .home-wrapper-small .archivetitle::before,
|
||||
.home main section .home-wrapper-small .archivetitle::before {
|
||||
display: block;
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: calc(5rem);
|
||||
height: calc(5rem);
|
||||
top: 0;
|
||||
left: -0;
|
||||
border-left: #000 solid 1px;
|
||||
-moz-transform: skewX(-45deg);
|
||||
-o-transform: skewX(-45deg);
|
||||
-ms-transform: skewX(-45deg);
|
||||
-webkit-transform: skewX(-45deg);
|
||||
transform: skewX(-45deg);
|
||||
transform-origin: left bottom;
|
||||
background-color: transparent;
|
||||
z-index: 9; }
|
||||
.archive main section .home-wrapper-small .archivetitle.tag,
|
||||
.home main section .home-wrapper-small .archivetitle.tag {
|
||||
text-transform: uppercase; }
|
||||
.archive main section .home-wrapper-small .archivedescription,
|
||||
.home main section .home-wrapper-small .archivedescription {
|
||||
order: 1;
|
||||
border-top: #000 1px solid;
|
||||
border-right: #000 1px solid;
|
||||
border-bottom: #000 1px solid;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
align-items: flex-start;
|
||||
padding: 2rem; }
|
||||
.archive main section .home-wrapper-small .archivedescription p,
|
||||
.home main section .home-wrapper-small .archivedescription p {
|
||||
margin: 0;
|
||||
font: bold 1rem "Butler";
|
||||
color: #000; } }
|
||||
@media (min-width: 769px) and (min-width: 769px) {
|
||||
.archive main section .home-wrapper-small .archivedescription p,
|
||||
.home main section .home-wrapper-small .archivedescription p {
|
||||
font-size: 1.2rem; } }
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* single */
|
||||
@@ -835,6 +1018,8 @@ object {
|
||||
width: calc(100% - 5rem) !important; }
|
||||
.single article .titlewrapper .metadata::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
top: 0;
|
||||
border: none;
|
||||
width: calc(100% - 5rem + 5rem);
|
||||
@@ -851,7 +1036,6 @@ object {
|
||||
top: 0;
|
||||
left: -5rem;
|
||||
border-left: #000 solid 1px;
|
||||
border-top: #000 1px solid;
|
||||
-moz-transform: skewX(-45deg);
|
||||
-o-transform: skewX(-45deg);
|
||||
-ms-transform: skewX(-45deg);
|
||||
|
||||
Reference in New Issue
Block a user