Compare commits

...

3 Commits

4 changed files with 21 additions and 23 deletions

View File

@ -33,7 +33,7 @@ line-height: 3.1em;
.content { .content {
background: #121212; background: #121212;
border: solid; border: solid;
border-width: 1px; border-width: 3px;
border-color: white; border-color: white;
} }
@ -61,7 +61,7 @@ line-height: 3.1em;
color: white; color: white;
border: solid; border: solid;
border-color: white; border-color: white;
border-width: 2px; border-width: 3px;
} }

View File

@ -16,17 +16,15 @@
body { body {
font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light", font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light",
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
/* color: #454545; */ color: #454545;
font-size: 1.1em; font-size: 1.1em;
background: linear-gradient(90deg, #000 21px, transparent 1%) center, linear-gradient(#000 21px, transparent 1%) center, white;
background-color: #C9C8C8;
background-size: 22px 22px; background-size: 22px 22px;
margin: 0; margin: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
width: 100%; width: 100%;
box-sizing: border-box; /* box-sizing: border-box; */
word-break: break-word; word-break: break-word;
} }
@ -54,7 +52,7 @@ p {
width: 100%; width: 100%;
background-color: white; background-color: white;
border-radius: 1.2rem; border-radius: 1.2rem;
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); /* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
} }
.home-faceshot { .home-faceshot {
margin: 0; margin: 0;
@ -95,7 +93,6 @@ p {
color: black; color: black;
font-weight: bolder; font-weight: bolder;
font-size: 5rem; font-size: 5rem;
transition: font-size 0.4s;
} }
@ -169,10 +166,10 @@ p {
max-width: 50rem; max-width: 50rem;
/* border-radius: 1.2rem; */ /* border-radius: 1.2rem; */
z-index: 2; z-index: 2;
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); /* transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); */
border: solid; border: solid;
border-width: 1px; border-width: 3px;
border-color: black; border-color: black;
} }
@ -205,13 +202,12 @@ p {
/* margin: 3rem 0; */ /* margin: 3rem 0; */
width: 100%; width: 100%;
max-width: 50rem; max-width: 50rem;
box-sizing: border-box; /* /* box-sizing: border-box; */ */
background-color: white; background-color: white;
text-decoration: none; text-decoration: none;
/* border-radius: 1.2rem; */ /* border-radius: 1.2rem; */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); /* transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); */
/* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
} }
.home-card { .home-card {
padding: 0.8em; padding: 0.8em;
@ -226,7 +222,7 @@ p {
display: flex; display: flex;
border: solid; border: solid;
border-color: grey; border-color: black;
border-width: 3px; border-width: 3px;
flex-direction: column; flex-direction: column;
@ -261,7 +257,7 @@ p {
text-align: center; text-align: center;
padding: 0.77em 0; padding: 0.77em 0;
width: 100%; width: 100%;
box-sizing: border-box; /* /* box-sizing: border-box; */ */
margin: 0; margin: 0;
color: white; color: white;
background-color: rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.4);
@ -322,11 +318,11 @@ p {
background-color: #FFF; background-color: #FFF;
text-decoration: none; text-decoration: none;
border-radius: 0.3rem; border-radius: 0.3rem;
transition: transform 0.1s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.1s cubic-bezier(0.25,0.8,0.25,1); /* transition: transform 0.1s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.1s cubic-bezier(0.25,0.8,0.25,1); */
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); /* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
} }
.button:hover { .button:hover {
box-shadow: 0 0.05rem 0.15rem rgba(0,0,0,0.12), 0 0.05rem 0.1rem rgba(0,0,0,0.24); /* box-shadow: 0 0.05rem 0.15rem rgba(0,0,0,0.12), 0 0.05rem 0.1rem rgba(0,0,0,0.24); */
transform: scale(0.97); transform: scale(0.97);
} }
.button:active { .button:active {
@ -339,12 +335,12 @@ p {
.side-padding { .side-padding {
padding-left: 1.2rem !important; padding-left: 1.2rem !important;
padding-right: 1.2rem !important; padding-right: 1.2rem !important;
box-sizing: border-box !important; /* /* box-sizing: border-box !important; */ */
} }
.side-text-padding { .side-text-padding {
padding-left: 1.2rem !important; padding-left: 1.2rem !important;
padding-right: 1.2rem !important; padding-right: 1.2rem !important;
box-sizing: border-box !important; /* /* box-sizing: border-box !important; */ */
} }
.small-pic { .small-pic {
display: block; display: block;
@ -530,8 +526,9 @@ footer h3 {
flex-direction: row; flex-direction: row;
align-items: stretch; align-items: stretch;
border: solid; border: solid;
border-color: grey; border-color: black;
border-width: 3px; border-width: 3px;
border-style: solid;
} }
.card-img { .card-img {
margin: 0; margin: 0;

View File

@ -1,6 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}" dir="ltr"> <html lang="{{ .Site.LanguageCode }}" dir="ltr">
{{ partial "head.html" . }} {{ partial "head.html" . }}
<body class="list-body"> <body class="list-body">
<main class="card-container side-gutter"> <main class="card-container side-gutter">

View File

@ -1,5 +1,4 @@
<a <a href="{{ .Permalink }}" class="card blog-card blog-card-feed" rel="bookmark" >
href="{{ .Permalink }}" class="card blog-card blog-card-feed" rel="bookmark" >
<div class="card-img-container"> <div class="card-img-container">
{{ with .Resources.GetMatch "featuredImage" }} {{ with .Resources.GetMatch "featuredImage" }}
<picture> <picture>