initial checkin

This commit is contained in:
Pim van Pelt
2022-09-04 13:08:42 +02:00
commit 45928abf52
129 changed files with 10172 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,99 @@
@font-face
{
font-family: FreeSans;
src: url(../fonts/FreeSans-small.woff);
}
@font-face
{
font-family: FreeSans;
src: url(../fonts/FreeSansBoldOblique.woff);
font-weight: bold;
font-style: oblique;
}
@font-face
{
font-family: FreeSans;
src: url(../fonts/FreeSansBold-small.woff);
font-weight: bold;
}
@font-face
{
font-family: FreeSans;
src: url(../fonts/FreeSansOblique.woff);
font-style: oblique;
}
@font-face
{
font-family: FreeSerif;
src: url(../fonts/FreeSerif-small.woff);
}
@font-face
{
font-family: FreeSerif;
src: url(../fonts/FreeSerifItalic-small.woff);
font-style: italic;
}
@font-face
{
font-family: FreeSerif;
src: url(../fonts/FreeSerifBoldItalic-small.woff);
font-style: italic;
font-weight: bold;
}
@font-face
{
font-family: FreeSerif;
src: url(../fonts/FreeSerifBold-small.woff);
font-weight: bold;
}
@font-face
{
font-family: Mononoki;
src: url(../fonts/mononoki-Regular.woff2);
}
/* Copied from Font Awesome and modified for filepath and filetype*/
/*!
* Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face
{
font-family: 'Font Awesome 5 Brands';
font-style: normal;
font-weight: 400;
font-display: block;
src: url("../fonts/fa-brands-400.woff2") format("woff2");
}
.fab
{
font-family: 'Font Awesome 5 Brands';
font-weight: 400;
}
/*!
* Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face {
font-family: 'Font Awesome 5 Free';
font-style: normal;
font-weight: 900;
font-display: block;
src: url("../fonts/fa-solid-900.woff2") format("woff2");
}
.fa,
.fas {
font-family: 'Font Awesome 5 Free';
font-weight: 900; }

View File

@ -0,0 +1,778 @@
@charset "UTF-8";
html {
margin: 0;
height: 100vh;
}
body {
margin: 0;
min-height: 100vh;
overflow-y: scroll;
font-size: 1.21em;
line-height: 1.21;
font-family: FreeSerif, serif;
}
@media (min-width: 64em) {
body {
font-size: 1.32em;
line-height: 1.32;
}
}
@media (min-width: 85.375em) {
body {
font-size: 1.43em;
}
}
@media (min-width: 120em) {
body {
font-size: 1.54em;
}
}
@media (min-width: 160em) {
body {
font-size: 1.76em;
}
}
/*largest screens*/
main {
display: block;
margin: 0;
padding: 1em 1em;
background-color: white;
}
@media (min-width: 48em) {
main {
margin: 0 15%;
}
}
@media (min-width: 64em) {
main {
margin: 0 17%;
}
}
@media (min-width: 85.375em) {
main {
margin: 0 21%;
}
}
@media (min-width: 120em) {
main {
margin: 0 24%;
}
}
@media (min-width: 160em) {
main {
margin: 0 27%;
}
}
a {
font-family: FreeSerif, serif;
color: #07608f;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
font-family: FreeSans, sans-serif;
font-weight: bold;
font-style: normal;
color: #333;
}
p, li {
color: #444;
font-family: FreeSerif, serif;
text-align: justify;
}
strong {
font-style: normal;
font-family: FreeSerif, serif;
font-weight: bold;
}
em {
font-style: normal;
font-family: FreeSerif, serif;
font-style: italic;
}
kbd, code {
font-family: Mononoki, monospace;
color: #444;
background-color: #f3f3f3;
font-size: 0.9em;
}
pre {
background-color: #f6f8fa;
padding: 0.5em;
}
pre code {
background-color: transparent;
}
th {
font-family: FreeSerif, serif;
font-weight: bold;
color: #444;
}
td {
font-family: FreeSerif, serif;
color: #444;
}
.footnotes ol li {
font-family: FreeSerif, serif;
font-size: 0.8em;
}
figure.image-shortcode {
margin: 1em auto;
}
figure.image-shortcode img {
width: 100%;
}
@media (max-width: 28em) {
figure.image-shortcode {
width: 100% !important;
}
}
figure.wide {
display: flex;
flex-direction: column;
align-items: center;
}
figure.wide img {
width: 90vw;
padding-bottom: 0.5em;
}
figure.right, .right {
float: right;
margin: 0 0 0.5em 1em;
}
@media (max-width: 28em) {
figure.right, .right {
margin-bottom: 1em;
}
}
figure.right:first-child, .right:first-child {
margin-top: 1em;
}
figure.left, .left {
float: left;
margin: 0 1em 0.5em 0;
}
@media (max-width: 28em) {
figure.left, .left {
margin-bottom: 1em;
}
}
figure.left:first-child, .left:first-child {
margin-top: 1em;
color: blue;
}
figure.frame {
background-color: #f7f7f7;
border: 1px solid #bbb;
border-radius: 0.2em;
padding: 0.5em;
box-sizing: border-box;
}
figure.frame img {
border: 1px solid #bbb;
}
figure.frame figcaption {
border: none;
}
figcaption {
font-size: 0.8em;
padding: 0;
width: 100%;
margin: 0 0 0.5em 0;
border-bottom: 1px solid #666674;
}
figcaption p {
margin-top: 0em;
color: #666674;
text-align: left;
}
figcaption h4 {
margin: 0.3em 0;
color: #444;
text-align: left;
}
.page-title {
text-align: center;
font-size: 1.9em;
}
.page-title.blog {
text-align: left;
margin-bottom: 0.5em;
}
nav {
display: flex;
justify-content: flex-end;
flex-flow: row wrap;
overflow: hidden;
margin: auto 2% 0.6em auto;
padding-left: 2em;
}
nav ul {
list-style-type: none;
margin: 0;
}
nav li {
background-color: inherit;
float: left;
cursor: pointer;
padding: 0;
margin: 0;
border-width: 0 0 0.3em 0;
border-color: transparent;
border-style: solid;
display: inline-block;
}
nav a {
color: #444;
padding: 0.25em 0.63em;
font-family: FreeSans, sans-serif;
font-size: 1.2em;
display: block;
}
nav li:hover {
border-color: #ddd;
}
.dropdown .sub-menu {
display: none;
position: absolute;
background-color: #f9f9f9;
color: #444;
cursor: pointer;
border-width: 0 0 0.3em 0;
min-width: 6em;
margin-top: 0.3em;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown:hover .sub-menu {
display: block;
}
.sub-menu a:hover {
background-color: #474a4f;
color: white;
}
.sub-menu a {
display: block;
text-align: left;
padding: 0.2em 0.63em;
color: #444;
}
.dropdown.activetab, .activetab, li.activetab {
background-color: #474a4f;
border-color: white;
}
.activetab > a, a.activetab {
color: white;
}
.page-header {
border-bottom: 1px solid black;
text-align: center;
display: flex;
flex-flow: row wrap;
margin: 1em 1em 0 1em;
}
.myname {
margin: 0 auto 0 0;
padding: 0 0 0.25em 0.25em;
font-size: 2em;
}
.myname a {
color: black;
text-decoration: none;
font-family: FreeSerif, serif;
font-style: italic;
font-weight: bold;
}
.myname h2 {
margin: 0;
}
.blog-post-summary {
margin: 0;
}
@media (min-width: 28em) {
.blog-post-summary {
margin: 2em;
}
}
#latest-blog-home {
text-align: center;
font-size: 2em;
}
.delimiter {
font-size: 2em;
text-align: center;
}
.blog-post-title {
margin-bottom: 0.2em;
padding-bottom: 0;
font-size: 1.6em;
}
.blog-post-title a {
color: #333;
font-family: FreeSans, sans-serif;
}
.blog-post-info {
margin: 0.2em 0;
font-size: 0.8em;
color: #5f5a6f;
margin-left: 1em;
text-align: left;
}
.blog-post-info a {
text-transform: capitalize;
}
em.taxonomy-emph {
font-family: FreeSans, sans-serif;
font-style: oblique;
}
.blog-post-content h1 {
font-size: 1.4em;
}
.blog-post-content h2 {
font-size: 1.3em;
}
.blog-post-content h3 {
font-size: 1.2em;
}
.blog-post-content h4 {
font-size: 1.1em;
}
.taxonomy-links ul {
list-style-type: none;
display: flex;
justify-content: center;
margin: 0;
padding: 0;
border-bottom: 2px solid #444;
}
.taxonomy-links ul li {
flex-grow: 1;
margin: 1em 0.5em;
width: 100%;
display: flex;
}
.taxonomy-links ul li a {
display: inline-block;
background-color: #ddd;
font-size: 1.5em;
text-align: center;
color: #444;
padding: 0.5em;
flex-grow: 1;
text-transform: capitalize;
}
.pagination {
list-style-type: none;
font-family: FreeSans, sans-serif;
display: flex;
justify-content: center;
margin: 1em;
padding: 0;
}
.page-item {
color: #444;
display: inline-block;
padding: 0.2em 0.6em;
}
.page-item a {
color: #444;
}
.page-item.active {
background-color: #474a4f;
}
.page-item.active a {
background-color: #474a4f;
color: white;
}
.resume-content {
display: flex;
flex-flow: row wrap;
}
.category-title {
text-align: left;
width: 8em;
padding: 0.5em;
flex: 1 3 auto;
}
.category-title h4 {
margin: 0 0.5em 0 0;
font-size: 1.3em;
}
.category-content {
flex: 2 1 65%;
padding: 0.5em;
}
.category-content a {
color: #4c7e99;
}
.category-content p {
margin: 0;
font-size: 0.9em;
color: #5f5a6f;
}
.category-content ul {
list-style-type: " ";
}
.category-content ul, .category-content ol {
font-family: FreeSans, sans-serif;
margin-top: 0;
}
.category-content li {
font-size: 0.9em;
color: #5f5a6f;
}
.resume-entry {
margin: 0 0 1em 0;
}
.resume-entry .what {
font-family: FreeSans, serif;
text-align: left;
font-size: 1em;
color: #444;
}
.resume-entry .resume-entry-data {
font-family: FreeSans, serif;
text-align: left;
font-size: 0.8em;
color: #767676;
margin-left: 0.9rem;
}
.resume-entry .resume-inner {
line-height: 1;
margin-top: 0.2em;
margin-left: 0.9rem;
}
.resume-entry p, .resume-entry ul, .resume-entry ol, .resume-entry li {
font-family: FreeSerif, serif;
color: #5f5a6f;
text-align: left;
font-size: 0.9em;
}
p.resume-subcategory {
font-family: FreeSans, sans-serif;
font-size: 1.4em;
text-decoration: underline;
padding: 0 0 0.3em 0;
}
#contactinformation {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.social {
display: flex;
justify-content: center;
}
.social ul {
list-style-type: none;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
width: 100%;
padding: 0;
}
.social ul li {
display: inline-block;
padding: 0.5em;
}
.social ul li a {
white-space: nowrap;
color: #3f444d;
font-size: 1em;
font-family: FreeSans, sans-serif;
}
.social ul li a i {
font-size: 2em;
vertical-align: middle;
}
.contactbox {
padding: 0 1em 0 1em;
box-sizing: border-box;
}
@media (max-width: 28em) {
.contactbox {
width: 100% !important;
}
}
.contactbox ul {
list-style-type: none;
background-color: #eee;
border-radius: 0.5em;
box-shadow: 0.025em 0.1em 0.2em 0.1em #333;
box-shadow: 0.025em 0.1em 0.2em 0.1em rgba(0, 0, 0, 0.3);
padding: 10%;
margin: auto;
}
.contactbox i {
padding-right: 0.3em;
}
.contactbox a {
font-family: FreeSans, sans-serif;
font-weight: bold;
font-size: 1em;
color: #524e59;
white-space: nowrap;
}
.contactbox img {
height: 0.7em;
padding-right: 0.5em;
filter: opacity(80%);
}
.p5js {
width: 100%;
border: none;
display: block;
padding: 0;
margin: 0;
overflow-y: none;
}
.video-shortcode {
width: 100%;
height: auto;
padding: 1em 0;
}
#ethos {
text-align: justify;
}
blockquote {
font-family: FreeSerif, serif;
font-size: 0.9em;
color: #444;
}
cite {
font-family: FreeSerif, serif;
font-style: italic;
}
#gallery h3 {
font-size: 1.7em;
}
.gallery-category {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
list-style-type: none;
padding: 0;
margin: 0;
}
.gallery-photo {
flex-grow: 1;
height: 10.5em;
padding: 0.2em;
}
.gallery-photo img {
min-width: 100%;
max-height: 100%;
object-fit: cover;
vertical-align: bottom;
border-radius: 0.2em;
}
.gallery-photo img:hover {
opacity: 0.7;
transition: 0.3s;
cursor: pointer;
}
.gallery-photo:last-child {
flex-grow: 10;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 5vh; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0, 0, 0); /* Fallback color */
background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}
/* Modal Content (image) */
.modal-content {
margin: 4vh auto;
padding: 4vh 3%;
display: block;
width: auto;
height: auto;
max-height: 69vh;
max-width: 94%;
pointer-events: none;
user-select: none;
}
#loader {
display: none;
position: absolute;
left: 50%;
top: 50%;
z-index: 1;
width: 150px;
height: 150px;
margin: -75px 0 0 -75px;
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 120px;
height: 120px;
-webkit-animation: fadein 1s, spin 2s linear infinite;
animation: fadein 1s, spin 2s linear infinite;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Caption of Modal Image */
#caption {
margin: auto;
display: block;
width: 80%;
max-width: 30em;
text-align: center;
color: #ccc;
padding: 1vh 0;
height: 8vh;
}
/* Add Animation */
.modal-content, #caption {
animation-name: zoom;
animation-duration: 0.4s;
}
@keyframes zoom {
from {
transform: scale(0.4);
}
to {
transform: scale(1);
}
}
/* The Close Button */
.close {
position: absolute;
top: 2vh;
right: 3vh;
color: #f1f1f1;
font-size: 6vh;
font-weight: bold;
transition: 0.3s;
}
.close:hover, .close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
footer {
position: fixed;
width: 100vw;
color: #444;
font-size: 0.8em;
padding-left: 1em;
padding-top: 0.2em;
padding-bottom: 0.1em;
bottom: 0;
left: 0;
background-color: #f7f7f7;
}
/*# sourceMappingURL=styles.css.map */

View File

@ -0,0 +1,823 @@
// Colors
$midnight-blue: #07608f;
$midnight-matte: #4c7e99;
$text-color: #444;
$tab-border-color: #ddd;
$tab-active-color: #474a4f;
$heading-gray: #333;
$caption-color: #ccc;
$close-button-gray: #f1f1f1;
$close-hover-gray: #bbb;
$contactlinks-color: #eee;
$contactlinks-text-color: #524e59;
$cv-red: #b25347;
$light-text: #5f5a6f;
$very-light-text: #767676;
$medium-light-text: #4f4a5f;
$code-background: #f3f3f3;
$codeblock-background: #f6f8fa;
$code-text: #f8f8f2;
// Breakpoints
$bp-mini: 28em; // 288px
$bp-small: 48em; // 768px
$bp-medium: 64em; // 1024px
$bp-large: 85.375em; // 1366px
$bp-xlarge: 120em; // 1920px
$bp-xxlarge: 160em; // 2560px
// Media Queries
$mq-mini: "(min-width: #{$bp-mini})";
$mq-mini-reverse: "(max-width: #{$bp-mini})";
$mq-small: "(min-width: #{$bp-small})";
$mq-medium: "(min-width: #{$bp-medium})";
$mq-large: "(min-width: #{$bp-large})";
$mq-xlarge: "(min-width: #{$bp-xlarge})";
$mq-xxlarge: "(min-width: #{$bp-xxlarge})";
$mq-retina: "(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)";
// Font-Size
$base-font-size: 1.1em;
// Line-Height
$base-line-height: 1.1;
$header-line-height: 1.25;
// HUGO
html {
margin: 0;
height: 100vh;
}
body {
margin: 0;
min-height: 100vh;
overflow-y: scroll;
font-size: $base-font-size * 1.1;
line-height: $base-line-height * 1.1;
font-family: FreeSerif, serif;
@media #{$mq-medium} {
font-size: $base-font-size*1.2;
line-height: $base-line-height*1.2;
}
@media #{$mq-large} {
font-size: $base-font-size*1.3;
}
@media #{$mq-xlarge} {
font-size: $base-font-size*1.4;
}
@media #{$mq-xxlarge} {
font-size: $base-font-size*1.6;
}
}
/*largest screens*/
main {
display: block;
margin: 0;
padding: 1em 1em;
background-color: white;
@media #{$mq-small} {
margin: 0 15%;
}
@media #{$mq-medium} {
margin: 0 17%;
}
@media #{$mq-large} {
margin: 0 21%;
}
@media #{$mq-xlarge} {
margin: 0 24%;
}
@media #{$mq-xxlarge} {
margin: 0 27%;
}
}
a {
font-family: FreeSerif, serif;
color: $midnight-blue;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
font-family: FreeSans, sans-serif;
font-weight: bold;
font-style: normal;
color: $heading-gray;
}
p, li {
color: $text-color;
font-family: FreeSerif, serif;
text-align: justify;
}
strong {
font-style: normal;
font-family: FreeSerif, serif;
font-weight: bold;
}
em {
font-style: normal;
font-family: FreeSerif, serif;
font-style: italic;
}
kbd, code {
font-family: Mononoki, monospace;
color: $text-color;
background-color: $code-background;
font-size: 0.9em;
}
pre {
background-color: $codeblock-background;
padding: 0.5em;
code {
background-color: transparent;
}
}
th {
font-family: FreeSerif, serif;
font-weight: bold;
color: $text-color;
}
td {
font-family: FreeSerif, serif;
color: $text-color;
}
.footnotes ol li {
font-family: FreeSerif, serif;
font-size: 0.8em;
}
figure.image-shortcode {
margin: 1em auto;
img {
width: 100%;
}
@media #{$mq-mini-reverse} {
width: 100% !important;
}
}
figure.wide {
display: flex;
flex-direction: column;
align-items: center;
img {
width: 90vw;
padding-bottom: 0.5em;
}
}
figure.right, .right {
float: right;
margin: 0 0 0.5em 1em;
@media #{$mq-mini-reverse} {
margin-bottom: 1.0em;
}
}
figure.right:first-child, .right:first-child {
margin-top: 1em;
}
figure.left, .left {
float: left;
margin: 0 1em 0.5em 0;
@media #{$mq-mini-reverse} {
margin-bottom: 1.0em;
}
}
figure.left:first-child, .left:first-child {
margin-top: 1em;
color: blue;
}
figure.frame {
background-color: #f7f7f7;
border: 1px solid #bbb;
border-radius: 0.2em;
padding: 0.5em;
box-sizing: border-box;
img { border: 1px solid #bbb; }
figcaption { border: none; }
}
figcaption {
font-size: 0.8em;
padding: 0;
width: 100%;
margin: 0 0 0.5em 0;
border-bottom: 1px solid #666674;
p {
margin-top: 0em;
color: #666674;
text-align: left;
}
h4 {
margin: 0.3em 0;
color: $text-color;
text-align: left;
}
}
.page-title {
text-align: center;
font-size: 1.9em;
}
.page-title.blog {
text-align: left;
margin-bottom: 0.5em;
}
// NAVBAR
nav {
display: flex;
justify-content: flex-end;
flex-flow: row wrap;
overflow: hidden;
margin: auto 2% .6em auto;
padding-left: 2em;
}
nav ul {
list-style-type: none;
margin: 0;
}
nav li {
background-color: inherit;
float: left;
cursor: pointer;
padding: 0;
margin: 0;
border-width: 0 0 .3em 0;
border-color: transparent;
border-style: solid;
display: inline-block;
}
nav a {
color: $text-color;
padding: .25em .63em;
font-family: FreeSans, sans-serif;
font-size: 1.2em;
display: block;
}
nav li:hover {
border-color: $tab-border-color;
}
.dropdown .sub-menu {
display: none;
position: absolute;
background-color: #f9f9f9;
color: $text-color;
cursor: pointer;
border-width: 0 0 .3em 0;
min-width: 6em;
margin-top: .3em;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown:hover .sub-menu {
display: block;
}
.sub-menu a:hover {
background-color: $tab-active-color;
color: white;
}
.sub-menu a {
display: block;
text-align: left;
padding: .2em .63em;
color: $text-color;
}
.dropdown.activetab, .activetab, li.activetab {
background-color: $tab-active-color;
border-color: white;
}
.activetab > a, a.activetab {
color: white;
}
.page-header {
border-bottom: 1px solid black;
text-align: center;
display: flex;
flex-flow: row wrap;
margin: 1em 1em 0 1em;
}
.myname {
margin: 0 auto 0 0;
padding: 0 0 .25em .25em;
font-size: 2em;
}
.myname a {
color: black;
text-decoration: none;
font-family: FreeSerif, serif;
font-style: italic;
font-weight: bold;
}
.myname h2 {
margin: 0;
}
// HOME
.blog-post-summary {
margin: 0;
@media #{$mq-mini} {
margin: 2em;
}
}
#latest-blog-home {
text-align: center;
font-size: 2em;
}
.delimiter {
font-size: 2em;
text-align: center;
}
// BLOG
.blog-post-title {
margin-bottom: 0.2em;
padding-bottom: 0;
font-size: 1.6em;
a {
color: $heading-gray;
font-family: FreeSans, sans-serif;
}
}
.blog-post-info {
margin: 0.2em 0;
font-size: 0.8em;
color: $light-text;
margin-left: 1em;
text-align: left;
a { text-transform: capitalize; }
}
em.taxonomy-emph {
font-family: FreeSans, sans-serif;
font-style: oblique;
}
.blog-post-content {
h1 { font-size: 1.4em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }
}
.taxonomy-links ul {
list-style-type: none;
display: flex;
justify-content: center;
margin: 0;
padding: 0;
border-bottom: 2px solid $text-color;
li {
flex-grow: 1;
margin: 1em 0.5em;
width: 100%;
display: flex;
}
li a {
display: inline-block;
background-color: $tab-border-color;
font-size: 1.5em;
text-align: center;
color: $text-color;
padding: .5em;
flex-grow: 1;
text-transform: capitalize;
}
}
.pagination {
list-style-type: none;
font-family: FreeSans, sans-serif;
display: flex;
justify-content: center;
margin: 1em;
padding: 0;
}
.page-item {
color: $text-color;
display: inline-block;
padding: .2em .6em;
a {
color: $text-color;
}
}
.page-item.active {
background-color: $tab-active-color;
a {
background-color: $tab-active-color;
color: white;
}
}
// RESUME
.resume-content {
display: flex;
flex-flow: row wrap;
}
.category-title {
text-align: left;
width: 8em;
padding: .5em;
flex: 1 3 auto;
h4 {
margin: 0 0.5em 0 0;
font-size: 1.3em;
}
}
.category-content {
flex: 2 1 65%;
padding: .5em;
a {
color: $midnight-matte;
}
p {
margin: 0;
font-size: 0.9em;
color: $light-text;
}
ul {
list-style-type: " ";
}
ul, ol {
font-family: FreeSans, sans-serif;
margin-top: 0;
}
li {
font-size: 0.9em;
color: $light-text;
}
}
.resume-entry {
margin: 0 0 1em 0;
.what {
font-family: FreeSans, serif;
text-align: left;
font-size: 1.0em;
color: $text-color;
}
.resume-entry-data {
font-family: FreeSans, serif;
text-align: left;
font-size: 0.8em;
color: $very-light-text;
margin-left: 0.9rem;
}
.resume-inner {
line-height: 1;
margin-top: 0.2em;
margin-left: 0.9rem;
}
p, ul, ol, li {
font-family: FreeSerif, serif;
color: $light-text;
text-align: left;
font-size: 0.9em;
}
}
p.resume-subcategory {
font-family: FreeSans, sans-serif;
font-size: 1.4em;
text-decoration: underline;
padding: 0 0 .3em 0;
}
// CONTACT
#contactinformation {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.social {
display: flex;
justify-content: center;
ul {
list-style-type: none;
display:flex;
justify-content: space-around;
flex-wrap: wrap;
width: 100%;
padding: 0;
li {
display: inline-block;
padding: 0.5em;
a {
white-space: nowrap;
color: #3f444d;
font-size: 1em;
font-family: FreeSans, sans-serif;
i {
font-size: 2em;
vertical-align: middle;
}
}
}
}
}
.contactbox {
padding: 0 1.0em 0 1.0em;
box-sizing: border-box;
@media #{$mq-mini-reverse} {
width: 100% !important;
}
ul {
list-style-type: none;
background-color: $contactlinks-color;
border-radius: 0.5em;
box-shadow: 0.025em 0.1em 0.2em 0.1em #333;
box-shadow: 0.025em 0.1em 0.2em 0.1em rgba(0, 0, 0, 0.3);
padding: 10%;
margin: auto;
}
i {
padding-right: 0.3em;
}
a {
font-family: FreeSans, sans-serif;
font-weight: bold;
font-size: 1em;
color: $contactlinks-text-color;
white-space: nowrap;
}
img {
height:.7em;
padding-right: .5em;
filter: opacity(80%);
}
}
// Projects tab
.p5js {
width: 100%;
border: none;
display: block;
padding: 0;
margin: 0;
overflow-y: none;
}
.video-shortcode {
width: 100%;
height: auto;
padding: 1em 0;
}
// Ethos tab
#ethos {
text-align: justify;
}
// General
blockquote {
font-family: FreeSerif, serif;
font-size: .9em;
color: $text-color;
}
cite {
font-family: FreeSerif, serif;
font-style: italic;
}
// GALLERY
#gallery h3 { font-size: 1.7em; }
.gallery-category {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
list-style-type: none;
padding: 0;
margin: 0;
}
.gallery-photo {
flex-grow: 1;
height: 10.5em;
padding: .2em;
img {
min-width: 100%;
max-height: 100%;
object-fit: cover;
vertical-align: bottom;
border-radius: .2em;
}
img:hover {
opacity: 0.7;
transition: 0.3s;
cursor: pointer;
}
}
.gallery-photo:last-child { flex-grow: 10; }
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 5vh; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
/* Modal Content (image) */
.modal-content {
margin: 4vh auto;
padding: 4vh 3%;
display: block;
width: auto;
height: auto;
max-height: 69vh;
max-width: 94%;
pointer-events: none;
user-select: none;
}
#loader {
display: none;
position: absolute;
left: 50%;
top: 50%;
z-index: 1;
width: 150px;
height: 150px;
margin: -75px 0 0 -75px;
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 120px;
height: 120px;
-webkit-animation: fadein 1s, spin 2s linear infinite;
animation: fadein 1s, spin 2s linear infinite;
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Caption of Modal Image */
#caption {
margin: auto;
display: block;
width: 80%;
max-width: 30em;
text-align: center;
color: $caption-color;
padding: 1vh 0;
height: 8vh;
}
/* Add Animation */
.modal-content, #caption {
animation-name: zoom;
animation-duration: 0.4s;
}
@keyframes zoom {
from {transform: scale(0.4)}
to {transform: scale(1)}
}
/* The Close Button */
.close {
position: absolute;
top: 2vh;
right: 3vh;
color: $close-button-gray;
font-size: 6vh;
font-weight: bold;
transition: 0.3s;
}
.close:hover, .close:focus {
color: $close-hover-gray;
text-decoration: none;
cursor: pointer;
}
footer {
position: fixed;
width: 100vw;
color: #444;
font-size: .8em;
padding-left: 1em;
padding-top: .2em;
padding-bottom: .1em;
bottom: 0;
left: 0;
background-color: #f7f7f7;
}