This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Oldphaloskepsis/style.css

1174 lines
19 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* The main stylesheet
*
* This is the main stylesheet for the entire Theme.
*
* @package WordPress
* @subpackage Omphaloskepsis
* @since Omphaloskepsis 1.0
*
* Contents
* ========
*
* 1. Constants
* 2. Globals
* 2.1 Containers
* 2.2.1 Fluid Grid
* 2.2.2 Main Containers
* 2.2 Text
* 2.2.1 Headings
* 2.2.2 Regular Text
* 2.2.3 Special Text
* 2.2.4 Links
* 2.3 Images
* [...]
*
*/
/*******************************************************************************
* 1. Constants
*/
:root {
--light: #95b2bf;
--dark: #003d52;
--text: #2b0000;
--linktext: #666666;
}
/*******************************************************************************
* 2. Globals
*/
/***************************************
* 2.1 Containers
*/
/******************
* 2.1.1 Fluid Grid
*
* <767px ≈ Mobile Phone
* 768px ≈ Tablet
* 1024px ≈ Laptop
* 1444px ≈ Desktop
*/
* {
box-sizing: border-box;
}
.row::after {
content: "";
clear: both;
display: block;
}
/* Source: W3Schools */
[class*="col-"] {
float: left;
padding-right: 15px;
padding-left: 15px;
width: 100%;
}
@media only screen and (min-width: 768px) {
.col-m-1 {width: 8.33%;}
.col-m-2 {width: 16.66%;}
.col-m-3 {width: 25%;}
.col-m-4 {width: 33.33%;}
.col-m-5 {width: 41.66%;}
.col-m-6 {width: 50%;}
.col-m-7 {width: 58.33%;}
.col-m-8 {width: 66.66%;}
.col-m-9 {width: 75%;}
.col-m-10 {width: 83.33%;}
.col-m-11 {width: 91.66%;}
.col-m-12 {width: 100%;}
}
@media only screen and (min-width: 1024px) {
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
}
@media only screen and (min-width: 1444px) {
.col-w-1 {width: 8.33%;}
.col-w-2 {width: 16.66%;}
.col-w-3 {width: 25%;}
.col-w-4 {width: 33.33%;}
.col-w-5 {width: 41.66%;}
.col-w-6 {width: 50%;}
.col-w-7 {width: 58.33%;}
.col-w-8 {width: 66.66%;}
.col-w-9 {width: 75%;}
.col-w-10 {width: 83.33%;}
.col-w-11 {width: 91.66%;}
.col-w-12 {width: 100%;}
}
/* End Source */
/******************
* 2.1.2 Main Containers
*/
body {
font-family: 'Lato', sans-serif;
background-color: white;
height: 100%;
margin: 0;
}
figure {
margin-top: 10px;
margin-bottom: 10px;
width: auto !important;
}
figcaption {
font-size: 0.8em;
color: #555;
font-style: italic;
}
/******************
* 2.1.3 Special Containers
*/
#intro-text {
background-color: #95b2bf;
padding: 20px;
text-align: justify;
}
#header-row {
margin-top: 15px;
margin-bottom: 15px;
}
#header-bar {
width: 100%;
height: 15%;
max-height: 40px;
background-color: #95b2bf;
position: fixed;
float: left;
z-index: 1;
opacity: 0.65;
top: 0;
left: 0;
right: 0;
transform: translateY(-100%);
transition: 0.2s transform cubic-bezier(.3,.73,.3,.74);
}
#header-bar.show {
transform: translateY(0);
}
#header-bar:hover,
#header-bar:focus {
opacity: 1;
}
#infinite-footer {
display: none;
}
#post-header-details-container {
border-top: 3px solid #003d52;
display: block;
position: relative;
width: 100%;
background-color: #003d52;
opacity: 0.7;
margin-top: auto;
text-align: center;
max-height: 40%;
height: auto;
padding: 4% 15px;
}
#comments {
margin: auto;
margin-top: 20px;
}
#comments-reply {
border-left: 2px solid #003d52;
margin-bottom: 20px;
}
.comment {
background-color: #95b2bf;
border-radius: 20px;
padding: 20px;
}
.comment-meta,
.comment-content {
float: left;
}
.comment-meta {
width: 20%;
}
.comment-content {
width: 80%;
}
.tile {
margin-top: 20px;
margin-bottom: 20px;
}
/***************************************
* 2.2 Text
*/
/******************
* 2.2.1 Headings
*/
h1, h2, h3, h4, h5, h6 {
margin: 0;
font-family: 'Montserrat', sans-serif;
color: #003d52;
}
#header-bar-title {
line-height: 40px;
font-size: 1.5em;
font-weight: bold;
color: #003d52;
margin-right: 25px;
}
#website-title {
margin-left: 25px;
text-align: center;
font-size: 3.5em;
font-weight: bold;
text-shadow: -1px -1px 0 white,
1px -1px 0 white,
-1px 1px 0 white,
1px 1px 0 white;
}
#page-title {
text-align: center;
font-size: 6em;
}
#page-subtitle {
margin-left: 10px;
text-align: center;
font-size: 1.2em;
color: #95b2bf;
}
#post-title {
font-size: 6em;
text-align: center;
vertical-align: middle;
color: white;
}
#post-date {
font-size: 1em;
color: white;
}
#post-date::before,
#post-date::after {
content: ' — ';
}
.post-title {
text-shadow: -1px -1px 0 #95b2bf,
1px -1px 0 #95b2bf,
-1px 1px 0 #95b2bf,
1px 1px 0 #95b2bf;
}
.ohwhatohjeez .post-title {
color: #454545;
text-shadow: none;
}
.post-title,
.subheading {
font-size: 2em;
margin: 0;
text-decoration: none !important;
text-align: center;
}
.subheading {
margin-top: 1em;
}
.post-title.qsmall { font-size: 1.5em; }
.post-title.small { font-size: 1.4em; }
.post-title.vsmall { font-size: 1em; }
.subheading-subtitle {
color: #95b2bf;
}
#comments-list-title,
#comments-reply-title {
text-align: center;
font-size: 2em;
}
/******************
* 2.2.2 Regular Text
*/
p {
font-size: 1em;
color: #2b0000;
line-height: 1.2em;
padding: 0.5em;
}
li p {
padding: 0.2em;
}
strong { font-weight: bold; }
sup, sup {
font-size:xx-small;
line-height: 1.2em;
}
sup { vertical-align:top; }
sub { vertical-align:bottom; }
ul {
list-style: circle;
color: #003d52;
padding-left: 1.8em;
}
/******************
* 2.2.3 Special Text
*/
code,
samp,
var {
font-family: "Lucida Console", Monaco, monospace;
font-size: 1em;
background-color: #d1d1d1;
border-radius: 5px;
padding: 2px 2px;
}
.heading code,
.subheading code {
background-color: transparent;
}
samp {
display: block;
width: 80ch;
margin: 1em 4em 1em 4em;
border-left: 2px solid #ccc;
color: #333;
}
/* Source: Stack Overflow */
kbd {
padding: 0.1em 0.6em;
border: 1px solid #ccc;
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
background-color: #f7f7f7;
color: #333;
box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px white inset;
border-radius: 3px;
display: inline-block;
margin: 0 0.1em;
text-shadow: 0 1px 0 white;
line-height: 1.4;
white-space: nowrap;
}
/* End Source */
blockquote {
margin: 1em 4em 1em 4em;
border-left: 2px solid #003d52;
}
blockquote:first-of-type {
margin: 2em 4em 2em 4em;
font-size: 1.2em;
font-style: italic;
border-left: 0;
}
blockquote footer {
text-align: right;
margin-right: 10%;
font-style: normal;
}
blockquote footer:before {
content: '—';
}
q, blockquote {
quotes: "" "" "“" "”" ;
}
q.guillemets {
quotes: "«" "»" "«" "»";
}
q:before, blockquote p:first-of-type::before {
content: open-quote;
}
q:after, blockquote p:last-of-type::after {
content: close-quote;
}
cite:not(.smallcite), i, em { font-style: italic; }
cite.smallcite:before { content: '“'; }
cite.smallcite:after { content: '”'; }
.note {
width: 80%;
background-color: #fc6f73;
padding: 20px;
text-align: center;
margin: auto;
border-radius: 20px;
border: 2px dashed #000;
}
.company-name {
font-size: 1.5em;
margin-top: 25%;
}
/******************
* 2.2.4 Links
*/
a {
font-weight: bold;
color: #003d52;
padding: 0;
opacity: 0.7;
}
a:hover {
opacity: 1;
}
#header-bar-list {
list-style: none;
}
#header-bar-list li {
float: left;
margin-right: 10px;
}
#header-bar-list li:not(.mobile) {
display: none;
}
#header-bar-list li .hyperlink-button {
margin-top: 5px;
}
.subheading a {
color: #95b2bf;
font-size: 0.4em;
vertical-align: middle;
text-decoration: underline;
}
.hyperlink-button, .post-edit-link {
float: left;
margin: 10px 20px 10px 0px;
padding: 20px 30px 20px 30px;
border-radius: 35px;
border: 2px solid #003d52;
background-color: #95b2bf;
color: #003d52;
text-decoration: none;
}
.hyperlink-button.thin {
padding: 2px 20px;
display: inline-block;
margin: 0;
float: none;
top: 2px;
position: relative;
}
.hyperlink-button.thin:hover {
color: #95b2bf;
background-color: #003d52;
border-color: #95b2bf;
}
li a.hyperlink-button:not(.thin) {
width: 100%;
}
.index-item {
overflow: hidden;
background-color: #95b2bf;
height: 250px;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
position: relative;
display: flex;
flex-direction: column;
margin-top: 7.5px;
margin-bottom: 7.5px;
}
.index-item header {
background-color: #003d52;
opacity: 0.7;
margin-top: auto;
text-align: center;
max-height: 40%;
height: auto;
padding: 10% 15px;
}
.index-item header.ohwhatohjeez {
background-color: #FFA008;
}
.index:hover .index-item {
opacity: 0.7;
}
.index:hover .index-item:hover {
opacity: 1;
}
/***************************************
* 2.4 Images
*/
#frontpage-img-wrapper {
border-radius: 50%;
margin: auto;
overflow: hidden;
height: 150px;
width: 150px;
border: 2px solid #003D52;
}
#main-background {
width: 100vw;
height: 100vh;
z-index: -1;
display: none;
position: fixed;
object-fit: contain;
object-position: 100% 100%;
}
#frontpage-img {
max-width: 150%;
height: 150%;
}
.entry-content img:not(.latex) {
border: 2px solid #444;
}
.latex {
vertical-align: middle;
}
.aligncenter {
text-align: center;
margin: 1em auto 1em auto;
display: block;
}
.entry-content img {
max-width: 100%;
height: auto;
}
#post-header-image {
height:100vh;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
position: relative;
text-align:center;
display: flex;
flex-direction: column;
}
.children {
background-size: cover;
}
.taxonomy-background-container {
height: 100vh;
width: 100vw;
position: fixed;
top: 0;
left: 0;
z-index: -1;
opacity: 0.2;
}
.taxonomy-background {
height: 100%;
width: 100%;
object-fit: contain;
padding: 10vh 20vw;
}
.location-block {
position: fixed;
top: 20px;
left: 20px;
z-index: 1;
max-width: 35% !important;
}
.sampler {
width: 100%;
height: 60vh;
}
.entry-content {
padding: 20px 0px;
display: block;
margin-left: auto;
margin-right: auto;
}
.blog-post .entry-content {
border-bottom: 2px solid #003D52;
}
.blog-post .entry-content p,
.tile p {
text-align: justify;
}
.jp-relatedposts-post p {
text-align: center !important;
}
.blog-post .entry-content ul {
padding: 0 2em 0 2em;
}
.blog-post .entry-content ul li {
line-height: 1.2em;
}
.sharedaddy, #jp-relatedposts {
text-align: center !important;
}
.jp-relatedposts-headline {
width: 100%;
}
/*
* Home
*/
i {
color: #2b0000;
}
.row-item {
display: block;
overflow: hidden;
margin: 10px 0 10px 0;
text-align: left;
width: 20%;
float: left;
}
.wrapper-home .row {
text-align: center;
}
.wrapper-home .button {
width: 100%;
}
.icons-wrapper {
margin-top: 10px;
margin-bottom: 10px;
overflow: hidden;
}
.button-1 {
animation: slideinandfadebutton 1.6s both;
animation-delay: 0.5s;
}
.button-2 {
animation: slideinandfadebutton 1.6s both;
animation-delay: 1s;
}
.button-3 {
animation: slideinandfadebutton 1.6s both;
animation-delay: 1.5s;
}
.button-4 {
animation: slideinandfadebutton 1.6s both;
animation-delay: 2s;
}
.button-5 {
animation: slideinandfadebutton 1.6s both;
animation-delay: 2.5s;
}
.button-6 {
animation: slideinandfadebutton 1.6s both;
animation-delay: 3s;
}
.icon {
height: 50px;
width: 50px;
border-radius: 10px;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
cursor: pointer;
margin: 5px 10px 5px 10px;
float: left;
animation: slideinandfadebutton 1.6s both;
}
.icon:hover {
-moz-box-shadow: inset 0 0 10px #000000;
-webkit-box-shadow: inset 0 0 10px #000000;
box-shadow: inset 0 0 10px #000000;
}
.seperator {
float: left;
color: #aaa;
border: 1px solid #95b2bf;
border-radius: 10px;
margin-right: 10px;
}
.back-button {
padding: 10px 25px 10px 25px;
background-color: #b00;
border-radius: 0 0 20px 0;
text-align: left;
color: #ddd;
font-weight: bold;
text-decoration: none;
float: left;
}
.back-button:hover {
-moz-box-shadow: inset 0 0 10px #000000;
-webkit-box-shadow: inset 0 0 10px #000000;
box-shadow: inset 0 0 10px #000000;
}
#list {
display: block;
overflow: hidden;
margin-left: 40px;
margin-right: 40px;
}
#list li {
list-style: none;
}
.block {
height: 200px;
width: 18%;
border-radius: 20px;
margin: 10px;
background-color: #fff;
border: 3px solid #000;
float: left;
text-align: right;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
cursor: pointer;
visibility: hidden;
opacity: 0;
}
@media all and (max-width: 1400px) {
.block {
width: 17%;
}
}
@media all and (max-width: 1000px) {
.block {
width: 20%;
}
}
@media all and (max-width: 750px) {
.block {
width: 25%;
}
}
@media all and (max-width: 500px) {
.block {
width: 40%;
}
}
@media all and (max-width: 360px) {
.block {
width: 90%;
}
}
.block:hover {
-moz-box-shadow: inset 0 0 10px #000000;
-webkit-box-shadow: inset 0 0 10px #000000;
box-shadow: inset 0 0 10px #000000;
}
.half-wrapper .block {
width: 30%;
height: 140px;
}
.small-block {
visibility: visible;
opacity: 1;
}
.block-text {
margin: auto;
background-color: rgba(20, 20, 20, 0.8);
visibility: hidden;
border-radius: 17px;
height: 100%;
position: relative;
top: -26px;
}
.block:hover .block-text {
visibility: visible;
transition: all 10s;
}
.name {
text-align: center;
font-size: 26px;
font-weight: bold;
color: #95b2bf;
padding-top: 25%;
}
.childblock {
position: relative;
z-index: 2;
float: left;
margin-top:0px;
margin-bottom:0px;
}
.children {
text-align: center;
}
.company-info-container {
background-color: #95b2bf;
max-width: 60px;
overflow: hidden;
border-bottom: 1px solid #003d52;
}
.company-info-container.left {
border-radius: 0px 0px 15px 0px;
float: left;
border-right: 1px solid #003d52;
}
.company-info-container.right {
border-radius: 0px 0px 0px 15px;
float: right;
border-left: 1px solid #003d52;
}
.company-info-container.right .company-info {
padding-left: 4px;
}
.company-info {
font-size: 1em;
line-height: 1.3em;
color: #003d52;
opacity: 0.8;
padding: 2px;
width: auto;
}
#wrapper {
height: 100%;
margin: 0;
width: 100%;
animation: slideinandfadein 1.6s 1s both;
}
.wrapper-list {
margin-left: -30px;
}
.wrapper-home {
height: 100vh;
}
@media all and (max-width: 378px) {
.wrapper-home {
background-size: cover;
}
}
.wrapper-footer {
min-height: 85%;
/* equal to footer height */
margin-bottom: -142px;
animation: slideinandfade 1.6s both;
}
.wrapper-footer:after {
content: "";
display: block;
}
footer, .wrapper-footer:after {
height: 15%;
}
.wrapper-footer li {
list-style: none;
}
#timeline {
display: block;
margin: auto;
min-height: 200px;
}
.wip:after {
content: '(WIP)';
padding-left: 4px;
}
/Show static HTML/CSS as a placeholder in case js is not enabled - javascript include will override this if things work -->
.gr_custom_container_1472037445 {
/* customize your Goodreads widget container here*/
border: 1px solid gray;
border-radius:10px;
padding: 10px 5px 10px 5px;
background-color: transparent;
color: ##003D52;
width: 300px
}
.gr_custom_header_1472037445 {
/* customize your Goodreads header here*/
border-bottom: 1px solid gray;
width: 100%;
margin-bottom: 5px;
text-align: center;
font-size: 120%
}
.gr_custom_each_container_1472037445 {
/* customize each individual book container here */
width: 100%;
clear: both;
margin-bottom: 10px;
overflow: auto;
padding-bottom: 4px;
border-bottom: 1px solid #aaa;
}
.gr_custom_book_container_1472037445 {
/* customize your book covers here */
overflow: hidden;
height: 60px;
float: left;
margin-right: 4px;
width: 39px;
}
.gr_custom_author_1472037445 {
/* customize your author names here */
font-size: 10px;
}
.gr_custom_tags_1472037445 {
/* customize your tags here */
font-size: 10px;
color: gray;
}
.gr_custom_rating_1472037445 {
/* customize your rating stars here */
float: right;
}
.loading {
margin: auto;
display: block;
margin-top: 84px;
height: auto;
}
#companies-grid-small {
height: 0;
}
#companies-grid:hover li,
#companies-grid-small:hover li {
opacity: 0.4;
}
#companies-grid:hover li:hover,
#companies-grid-small:hover li:hover {
opacity: 1;
}
#companies-grid li,
#companies-grid-small li {
overflow: hidden;
background-color: #95b2bf;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-origin: content-box;
background-clip:content-box;
padding-top: 7.5px;
padding-bottom: 7.5px;
}
#companies-grid li {
min-height: 250px;
}
#companies-grid-small li {
min-height: 140px;
}
/*
* AUTHOR STUFF - CURRENTLY UNNECESSARY
*
.author a {
border-radius: 0 35px 35px 0;
background-color: #95b2bf;
padding: 3px 20px 3px 20px;
color: #003D52;
margin-left: -5px;
}
.edit-link {
float: right;
line-height: 3.6em;
margin-right: 30px;
}
.posted-on a {
color: #666;
padding: 3px 20px 3px 20px;
font-size: 0.8em;
}
.posted-on a:before, .posted-on a:after {
content: ' — ';
}
.posted-on a:hover {
color: #999;
}
.author img {
padding: 5px;
border-radius: 50%;
vertical-align: middle;
background-color: #95b2bf;
}
*/
/*******************************************************************************
* x. Media Queries
*
* <767px ≈ Mobile Phone
* 768px ≈ Tablet
* 1024px ≈ Laptop
* 1444px ≈ Desktop
*/
@media only screen and (min-width: 768px) {
#website-title {
font-size: 4.5em;
}
.blog-post .entry-content,
.tile:not(#intro-text),
#comments {
width: 80%;
max-width: 1124px;
}
}
@media only screen and (min-width: 1024px) {
#website-title {
font-size: 8em;
}
.frontpage-section-title {
text-align: left;
}
#frontpage-img-wrapper {
display: none;
}
.wrapper-home {
background-size: contain;
background-repeat: no-repeat;
background-position: right top;
}
#main-background {
display: block;
}
.blog-post .entry-content,
.tile {
padding: 20px 40px;
background-color: #95b2bf;
border-bottom: 2px solid #003D52;
}
#header-bar-list {
float: left;
}
#header-bar-list li.mobile-only {
display: none;
}
#header-bar-list li:not(.mobile) {
display: block;
}
}
@media only screen and (min-width: 1444px) {
.wrapper-home .row {
margin-bottom: 20px;
}
}