Compare commits
9 Commits
854327d111
...
65c654fede
| Author | SHA1 | Date | |
|---|---|---|---|
| 65c654fede | |||
| 74fc4dbaec | |||
| 373a910356 | |||
| 4f3865ca78 | |||
| 58b5b20ddc | |||
| eb48bb0971 | |||
| db951130bc | |||
| 7ee6ce2488 | |||
| d6a4bb4bb3 |
@@ -5,6 +5,21 @@
|
|||||||
* You should not modify this file.
|
* You should not modify this file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Enable smooth scrolling for footnotes. */
|
||||||
|
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ol > li > ::first-line {
|
||||||
|
line-height: 3.1em;
|
||||||
|
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
* Dark theme
|
||||||
|
*/
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
body {
|
body {
|
||||||
color: #eee;
|
color: #eee;
|
||||||
@@ -18,7 +33,7 @@
|
|||||||
.content {
|
.content {
|
||||||
background: #121212;
|
background: #121212;
|
||||||
border: solid;
|
border: solid;
|
||||||
border-width: 1px;
|
border-width: 3px;
|
||||||
border-color: white;
|
border-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,7 +61,7 @@
|
|||||||
color: white;
|
color: white;
|
||||||
border: solid;
|
border: solid;
|
||||||
border-color: white;
|
border-color: white;
|
||||||
border-width: 2px;
|
border-width: 3px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,20 +16,18 @@
|
|||||||
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-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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
p {
|
p {
|
||||||
margin: 1.5em 0;
|
margin: 1.5em 0;
|
||||||
}
|
}
|
||||||
@@ -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;
|
||||||
@@ -86,7 +84,7 @@ p {
|
|||||||
.nav-header {
|
.nav-header {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.4em;
|
padding: 0.4em;
|
||||||
font-size: 1.4em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
.nav-text {
|
.nav-text {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@@ -94,7 +92,7 @@ p {
|
|||||||
z-index: 105;
|
z-index: 105;
|
||||||
color: black;
|
color: black;
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
font-size: 3rem;
|
font-size: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -102,6 +100,7 @@ p {
|
|||||||
|
|
||||||
.menu-container {
|
.menu-container {
|
||||||
align-content: space-between;
|
align-content: space-between;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu {
|
#menu {
|
||||||
@@ -129,14 +128,14 @@ p {
|
|||||||
|
|
||||||
|
|
||||||
.post {
|
.post {
|
||||||
margin: 0 0 1em 0;
|
margin: 3vw 1.8vw 3vw 1.8vw;
|
||||||
line-height: 1.9;
|
line-height: 1.9;
|
||||||
}
|
}
|
||||||
.post-header {
|
.post-header {
|
||||||
margin: 0 0 1.5em 0;
|
margin: 0 0 1.5em 0;
|
||||||
}
|
}
|
||||||
.post-title {
|
.post-title {
|
||||||
font-size: 1.8em;
|
font-size: 2em;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
margin: 0 0 0.4em 0;
|
margin: 0 0 0.4em 0;
|
||||||
@@ -167,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -193,23 +192,22 @@ p {
|
|||||||
margin: 5em 0;
|
margin: 5em 0;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
.card-container {
|
|
||||||
}
|
|
||||||
/* .card-container > a:first-of-type {
|
/* .card-container > a:first-of-type {
|
||||||
margin-top: 5em;
|
margin-top: 5em;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
display: block;
|
display: block;
|
||||||
/* 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;
|
||||||
@@ -224,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;
|
||||||
@@ -239,6 +237,7 @@ p {
|
|||||||
|
|
||||||
.bc-next {
|
.bc-next {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
.card-img-container {
|
.card-img-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -252,14 +251,13 @@ p {
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
.card-img-overlay {
|
.card-img-overlay {
|
||||||
/* border-radius: 0.8rem 0.8rem 0 0; */
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
font-size: 1.27em;
|
font-size: 1.27em;
|
||||||
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);
|
||||||
@@ -320,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 {
|
||||||
@@ -337,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;
|
||||||
@@ -500,7 +498,6 @@ footer h3 {
|
|||||||
|
|
||||||
.nav-header {
|
.nav-header {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1.4em;
|
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -529,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;
|
||||||
@@ -538,9 +536,8 @@ footer h3 {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 16em;
|
width: 16em;
|
||||||
}
|
}
|
||||||
.card-img-overlay {
|
|
||||||
/* border-radius: 0.8rem 0.8rem 0 0; */
|
|
||||||
}
|
|
||||||
.card-body {
|
.card-body {
|
||||||
margin: 1.3em 1.7em;
|
margin: 1.3em 1.7em;
|
||||||
}
|
}
|
||||||
@@ -555,12 +552,7 @@ footer h3 {
|
|||||||
font-size: 0.7em;
|
font-size: 0.7em;
|
||||||
margin-bottom: 0.7em;
|
margin-bottom: 0.7em;
|
||||||
}
|
}
|
||||||
.content {
|
|
||||||
/* border-radius: 1.2rem; */
|
|
||||||
}
|
|
||||||
.post {
|
|
||||||
margin: 1em 1.8em 2em 1.8em;
|
|
||||||
}
|
|
||||||
.post-title {
|
.post-title {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -4,12 +4,11 @@
|
|||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
|
|
||||||
<body class="single-body">
|
<body class="single-body">
|
||||||
|
|
||||||
<main class="">
|
|
||||||
<!-- -->
|
|
||||||
{{ partial "nav-bar.html" . }}
|
{{ partial "nav-bar.html" . }}
|
||||||
|
|
||||||
<article class="content side-text-padding {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
<main class="content side-text-padding">
|
||||||
|
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h1 class="post-title">{{ .Title }}</h1>
|
<h1 class="post-title">{{ .Title }}</h1>
|
||||||
{{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }}
|
{{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }}
|
||||||
@@ -31,7 +30,7 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
<nav class="end-nav card">
|
<nav class="end-nav card-container card">
|
||||||
{{ with .PrevInSection }}
|
{{ with .PrevInSection }}
|
||||||
{{ .Render "li-next" }}
|
{{ .Render "li-next" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
<nav class="content card card-container side-padding">
|
<nav class="end-nav side-padding card-container card content">
|
||||||
{{ partial "openring-out.html" . }}
|
{{ partial "openring-out.html" . }}
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<nav class="content card card-container side-padding">
|
<nav class="nav-bar card-container">
|
||||||
|
|
||||||
<div>
|
<div class="menu-container">
|
||||||
<h1 class="nav-header">
|
<h1 class="nav-header">
|
||||||
<a href="{{ .Site.BaseURL }}" class="nav-text">
|
<a href="{{ .Site.BaseURL }}" class="nav-text">
|
||||||
{{- if isset $.Site.Params "brand"}}
|
{{- if isset $.Site.Params "brand"}}
|
||||||
|
|||||||
Reference in New Issue
Block a user