body { --color-text: var(--section-light-text-color); --color-background: var(--section-light-bg-color); } /* ===== Cover =======*/ #blog-logo { display: block; max-height: 100px; width: auto; margin: 0 auto; line-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 { position: relative; display: table; width: 100%; height: 100%; margin-bottom: 0rem; text-align: center; color: var(--cover-text-color); 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); border-radius: 25px; width: fit-content; } .blog-title { margin: 10px 0 10px 0; font-size: 5rem; letter-spacing: -1px; text-shadow: var(--cover-title-text-shadow); } .blog-description { margin: 0; font-size: 2.5rem; line-height: 1.5em; font-weight: 400; font-family: "Roboto Slab", serif; letter-spacing: 0; text-shadow: var(--cover-title-text-shadow); } // Landing screen menu a.btn { text-decoration: none; background-color: var(--highlight); color: var(--highlight-contrast); border-radius: 6px; -webkit-border-radius: 6px; display: inline-block; font-size: 16px; letter-spacing: 1px; margin: 0; overflow: visible; padding: 10px 20px 10px 20px; position: relative; margin-top: 2rem; cursor: pointer; font-family: "Oswald", sans-serif; text-transform: uppercase; font-weight: lighter; &: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: absolute; width: 100%; left: 0; bottom: -120px; 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; } 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