Compare commits

..

No commits in common. "4f3865ca78a7c8214ba63150c4cf3bb50ab95160" and "854327d111f3a6b98eff953bda90d6b6e7f86e73" have entirely different histories.

5 changed files with 27 additions and 36 deletions

View File

@ -5,21 +5,6 @@
* 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) {
body {
color: #eee;

View File

@ -18,8 +18,7 @@ body {
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
/* color: #454545; */
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: linear-gradient(90deg, #000 21px, transparent 1%) center, linear-gradient(#000 21px, transparent 1%) center, white; */
background-size: 22px 22px;
margin: 0;
display: flex;
@ -30,6 +29,7 @@ body {
word-break: break-word;
}
}
p {
margin: 1.5em 0;
}
@ -86,7 +86,7 @@ p {
.nav-header {
margin: 0;
padding: 0.4em;
font-size: 1.5em;
font-size: 1.4em;
}
.nav-text {
font-weight: normal;
@ -94,8 +94,7 @@ p {
z-index: 105;
color: black;
font-weight: bolder;
font-size: 5rem;
transition: font-size 0.4s;
font-size: 3rem;
}
@ -103,7 +102,6 @@ p {
.menu-container {
align-content: space-between;
display: flex;
}
#menu {
@ -131,14 +129,14 @@ p {
.post {
margin: 3vw 1.8vw 3vw 1.8vw;
margin: 0 0 1em 0;
line-height: 1.9;
}
.post-header {
margin: 0 0 1.5em 0;
}
.post-title {
font-size: 2em;
font-size: 1.8em;
font-weight: 500;
line-height: 1.2;
margin: 0 0 0.4em 0;
@ -195,11 +193,11 @@ p {
margin: 5em 0;
line-height: 1.6em;
}
.card-container {
}
/* .card-container > a:first-of-type {
margin-top: 5em;
} */
.card {
display: block;
/* margin: 3rem 0; */
@ -241,7 +239,6 @@ p {
.bc-next {
margin-top: 0;
}
.card-img-container {
position: relative;
@ -255,6 +252,7 @@ p {
object-fit: cover;
}
.card-img-overlay {
/* border-radius: 0.8rem 0.8rem 0 0; */
position: absolute;
top: 0;
font-size: 1.27em;
@ -502,6 +500,7 @@ footer h3 {
.nav-header {
margin: 0;
font-size: 1.4em;
background-color: white;
}
@ -539,8 +538,9 @@ footer h3 {
height: 100%;
width: 16em;
}
.card-img-overlay {
/* border-radius: 0.8rem 0.8rem 0 0; */
}
.card-body {
margin: 1.3em 1.7em;
}
@ -555,7 +555,12 @@ footer h3 {
font-size: 0.7em;
margin-bottom: 0.7em;
}
.content {
/* border-radius: 1.2rem; */
}
.post {
margin: 1em 1.8em 2em 1.8em;
}
.post-title {
font-size: 2em;
}

View File

@ -4,11 +4,12 @@
{{ partial "head.html" . }}
<body class="single-body">
<main class="">
<!-- -->
{{ partial "nav-bar.html" . }}
<main class="content side-text-padding">
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
<article class="content side-text-padding {{ if ne .Params.dropcap false }}dropcase{{ end }}">
<header class="post-header">
<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 }}
@ -30,7 +31,7 @@
{{ .Content }}
</article>
</main>
<nav class="end-nav card-container card">
<nav class="end-nav card">
{{ with .PrevInSection }}
{{ .Render "li-next" }}
{{ end }}

View File

@ -1,5 +1,5 @@
<nav class="end-nav side-padding card-container card content">
<nav class="content card card-container side-padding">
{{ partial "openring-out.html" . }}
</nav>

View File

@ -1,6 +1,6 @@
<nav class="nav-bar card-container">
<nav class="content card card-container side-padding">
<div class="menu-container">
<div>
<h1 class="nav-header">
<a href="{{ .Site.BaseURL }}" class="nav-text">
{{- if isset $.Site.Params "brand"}}