body { --color-text: var(--section-light-text-color); --color-background: var(--section-light-bg-color); width: 100%; } /* ===== Cover =======*/ #blog-logo { //display: flex; max-height: 6rem; width: auto; line-height: 0; object-fit: contain; } #flag-logo { height: 24px; vertical-align: middle; } #site-page-head { height: 0%; } #site-head.withCenteredImage{ /* can't be used together with video */ background: var(--section-light-bg-color) no-repeat center center; } #site-head, #site-head.withCenteredImage, #site-page-head { // position: relative; display: table; width: 100%; height: 100vh; margin-bottom: 0rem; text-align: center; color: var(--highlight); background-size: cover; /* Big cover video at the landing area */ video { bottom: 0; height: 100%; min-width: 100%; -o-object-fit: cover; object-fit: cover; position: absolute; right: 0; top: 0; width: auto; z-index: -100; } .title-and-description-guard { margin: auto; padding: 0.6em; background-color: var(--cover-title-and-description-guard-bg-color); width: 100%; } .blog-title { margin: 10px 0 10px 0; font-size: 5rem; letter-spacing: -1px; //text-shadow: var(--cover-title-text-shadow); //-webkit-text-fill-color: white; /* Will override color (regardless of order) */ //-webkit-text-stroke: 1px var(--cover-title-text-shadow); -webkit-text-stroke: 3px black; } .blog-description { margin: 0; font-size: 3rem; line-height: 1.5em; font-weight: 400; font-family: "Roboto Slab", serif; letter-spacing: 0; // text-shadow: var(--cover-title-text-shadow); //-webkit-text-fill-color: white; /* Will override color (regardless of order) */ //-webkit-text-stroke: 2px var(--cover-title-text-shadow); -webkit-text-stroke: 5px var(--section-dark-bg-color); paint-order: stroke fill; } #top-banner { // position: absolute; // top: 0px; // left: 0px; // max-width: 100%; // width: 100%; // height: fit-content; display: flex; justify-content: space-between; padding: 0 2rem; background-color: var(--cover-title-and-description-guard-bg-color); } #site-languages { //text-align: right; width: fit-content; // height: 100%; position: relative; float: right; order: 2; } #site-menu { position: relative; float: left; order: 1; display: flex; justify-content: space-around; align-items: center; // width: fit-content; // height: 100%; } #site-languages .btn-lang { text-decoration: none; background-color: var(--highlight); color: var(--highlight-contrast); border-radius: 3px; -webkit-border-radius: 3px; display: inline-block; font-size: 70%; margin: 2rem 0.3rem; padding: 0.0rem 0.7rem; position: relative; text-transform: uppercase; &.active, &:hover { color: var(--highlight-inverse-contrast); background-color: var(--highlight-inverse); } } #site-head-content { // position: absolute; // bottom: 200px; // max-width: 100%; align-content: end; height: 100%; } // Landing screen menu a.btn, #site-languages .btn-lang { font-family: "Oswald", sans-serif; } a.btn { text-decoration: none; background-color: var(--highlight); color: var(--highlight-contrast); border-radius: 4px; -webkit-border-radius: 4px; display: inline-block; // font-size: 16px; letter-spacing: 1px; margin: 1rem; overflow: visible; padding: 0.5rem 1rem; position: relative; cursor: pointer; text-transform: uppercase; font-weight:normal; height: fit-content; // border: solid 1px var(--highlight-contrast); &:hover { color: var(--highlight-inverse-contrast); background-color: var(--highlight-inverse); } } /** The arrow button to scroll to content */ #header-arrow { font-size: 140px; margin: -10px auto; text-align: center; position: relative; width: 100%; left: 0; bottom: -20px; cursor: pointer; opacity: 0.6; transition: all ease 0.3s; -webkit-transition: all ease 0.3s; -moz-transition: all ease 0.3s; &:hover { color: inherit; opacity: 0.9; } } } // ========== Sticky menus =========== /* Left sticky menu */ .fixed-nav { background-color: var(--section-light-bg-color); border-radius: 0 25px 20px 0; padding: 1em 1.5em; display: none; flex-direction: column; position: fixed; top: 40px; z-index: 99999; font-family: "Open Sans Condensed", sans-serif; text-transform: uppercase; font-size: 1.5rem; line-height: 130%; font-weight: bold; box-shadow: var(--cover-title-text-shadow); } a.fn-item { display: block; cursor: pointer; opacity: 0.7; text-decoration: none; &:hover, &.active { color: var(--sticky-menu-text-color); } &.active { opacity: 1; } } /* ========= Content ==========*/ .post-title { margin: 0; a { text-decoration: none; } } .post-holder { width: 100%; height: 100%; background-color: var(--color-background); color: var(--color-text); position: relative; &.dark { // override variables for alternative style --color-text: var(--section-dark-text-color); --color-background: var(--section-dark-bg-color); background-color: var(--section-dark-bg-color); color: var(--section-dark-text-color); // Fix