Skip to content

Commit

Permalink
Fixing CSS on posts list
Browse files Browse the repository at this point in the history
  • Loading branch information
Digital-Grinnell committed Dec 12, 2024
1 parent f45dcee commit ef59bd1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
4 changes: 4 additions & 0 deletions assets/css/_extra.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,7 @@ figcaption h4 {
pre {
white-space: pre; /* was pre-line */
}

a.posts-list-item-title {
font-size: 1.5em;
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: "`dg_timestamp` Google Sheet Apps Script"
publishDate: 2024-12-12T16:10:55-06:00
last_modified_at: 2024-12-12T16:53:10
last_modified_at: 2024-12-12T17:58:45
draft: false
description: Inserts a static/permanent "dg_<timestamp>" value into a Google Sheets cell when any other cell in the corresponding Google Sheet row is edited. This UNIX epoch timestamp (with "dg_" prepended) becomes the identifier of a "new" object -- one that has no legacy identifier -- Digital.Grinnell object.
description: Inserts a static/permanent "dg_<timestamp>" value into a Google Sheets cell when any other cell in the corresponding Google Sheet row is edited. This UNIX epoch timestamp (with "dg_" prepended) becomes the identifier of a "new" -- one that has no legacy identifier -- Digital.Grinnell or _CollectionBuilder_ object.
supersedes:
tags:
- Digital.Grinnell
Expand Down
10 changes: 9 additions & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{{ define "main" }}

<style>
a.posts-list-item-title {
font-size: 1.5em;
}
</style>

<article>
<h1>{{ .Title }}</h1>
<p style="margin-left: 20px">{{ .Site.Params.subtitle | markdownify }}</p>
Expand Down Expand Up @@ -60,7 +67,8 @@ <h1>{{ .Title }}</h1>
&nbsp;&nbsp;<strong>{{ partial "icon.html" (dict "ctx" $ "name" "at-sign") }} {{ .Params.author }}</strong>
{{ end }}
<br/>
<span class="summary">{{ htmlUnescape .Summary }} ...</span>
<!-- span class="summary">{{ htmlUnescape .Summary | markdownify }} ...</span -->
<span class="summary">{{ htmlUnescape .Description | markdownify }}</span>
</span>
{{ end }}

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*{box-sizing:border-box}html{line-height:1.6}body{margin:0;font-family:sans-serif;background:#000;color:#d2b076}h1,h2,h3,h4,h5,h6{color:#d3d3d3}a{color:#fff;transition:color .35s;text-decoration:none}a:hover{color:#d3d3d3}code{font-family:monospace,monospace;font-size:1em;color:rgba(210,176,118,.8)}pre{font-size:1rem;line-height:1.2em;margin:0;overflow:auto}pre code{font-size:.8em}::selection{background:rgba(210,176,118,.25)}::-moz-selection{background:rgba(210,176,118,.25)}.app-header{padding:2.5em;background:#da291c;text-align:center}.app-header-avatar{width:15rem;height:15rem;border-radius:100%;border:.5rem solid #fff}.app-container{padding:2.5rem}.app-header-social{font-size:2em;color:#d3d3d3}.app-header-social a{margin:0 .1em}@media(min-width:940px){.app-header{position:fixed;top:0;left:0;width:20rem;min-height:100vh}.app-container{max-width:65rem;margin-left:20rem}}.error-404{text-align:center}.error-404-title{text-transform:uppercase}.icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em}.pagination{display:block;list-style:none;padding:0;font-size:.8em;text-align:center;margin:3em 0}.page-item{display:inline-block}.page-item .page-link{display:block;padding:.285em .8em}.page-item.active .page-link{color:#d3d3d3;border-radius:2em;background:#fff}.post-title{color:#d3d3d3}.post-content>pre,.post-content .highlight{margin:1em 0}.post-content>pre,.post-content .highlight>pre,.post-content .highlight>div{border-left:.4em solid rgba(255,255,255,.8);padding:.5em 1em}.post-content img{max-width:100%}.post-meta{font-size:.8em}.posts-list{padding:0}.posts-list-item{list-style:none;padding:.4em 0}.posts-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}.posts-list-item-description{display:block;font-size:.8em}.tag{display:inline-block;margin-right:.2em;padding:0 .6em;font-size:.9em;border-radius:.2em;white-space:nowrap;background:rgba(255,255,255,.1);transition:color .35s,background .35s}.tag:hover{transition:color .25s,background .05s;background:rgba(255,255,255,.3)}.tags-list{padding:0}.tags-list-item{list-style:none;padding:.4em 0}.tags-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}@media(min-width:450px){.tags-list{display:flex;flex-wrap:wrap}.tags-list-item{width:calc(50% - 1em)}.tags-list-item:nth-child(even){margin-left:1em}.tags-list-item:nth-last-child(2){border:none}}div.original,div.obsolete,div.code{background-color:rgba(255,255,128,.25);padding:1em 2em!important}div.obsolete p{color:gray;text-decoration:line-through!important}div.annotation{background-color:#1f353d;padding:.5em 1em!important}div.code{font-family:lucida console,courier new,monospace}table{margin-top:5px}.post-meta{line-height:1.5em}html{line-height:1.25;font-weight:lighter}strong{color:#dcff07}h1,h2{line-height:1.2}.app-header{padding:1.5em 2em}.app-header-avatar{border:.5rem solid #000}.page-item.active .page-link{color:#da291c}header{height:100%;display:flex;flex-direction:column;justify-content:space-between}.copyright{font-size:.75em;line-height:1;text-align:center}.site-rev{font-size:.75em;color:#000;line-height:1}.site-description{color:#000;line-height:1}.app-header-avatar{max-width:10rem;max-height:10rem;border-radius:100%;border:.25rem solid #000}.app-container{max-width:65rem}.summary{color:#d3d3d3}.breadcrumbs{font-size:.8rem;color:#da291c;border-bottom:1px solid #da291c}.sidebar-nav>a{border-right:1px solid #000;padding:0 10px 0 5px}.sidebar-nav>a:last-child{border-right:0}a{color:#f09393}code{font-size:95%;color:#ce785d}th,td{border:1px solid gray;padding:1em}th{padding-bottom:.5em}.post-content pre{border-left:1px solid rgba(255,255,255,.8);padding-left:1em;margin-left:10px}.onetabs-list-item-title{color:#dcff07}.post-meta{color:#bb995f}span.posts-list-item-description{color:#bb995f}figcaption h4{margin:0;padding:2px 0 0 10px;font-style:italic}pre{white-space:pre}
*{box-sizing:border-box}html{line-height:1.6}body{margin:0;font-family:sans-serif;background:#000;color:#d2b076}h1,h2,h3,h4,h5,h6{color:#d3d3d3}a{color:#fff;transition:color .35s;text-decoration:none}a:hover{color:#d3d3d3}code{font-family:monospace,monospace;font-size:1em;color:rgba(210,176,118,.8)}pre{font-size:1rem;line-height:1.2em;margin:0;overflow:auto}pre code{font-size:.8em}::selection{background:rgba(210,176,118,.25)}::-moz-selection{background:rgba(210,176,118,.25)}.app-header{padding:2.5em;background:#da291c;text-align:center}.app-header-avatar{width:15rem;height:15rem;border-radius:100%;border:.5rem solid #fff}.app-container{padding:2.5rem}.app-header-social{font-size:2em;color:#d3d3d3}.app-header-social a{margin:0 .1em}@media(min-width:940px){.app-header{position:fixed;top:0;left:0;width:20rem;min-height:100vh}.app-container{max-width:65rem;margin-left:20rem}}.error-404{text-align:center}.error-404-title{text-transform:uppercase}.icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em}.pagination{display:block;list-style:none;padding:0;font-size:.8em;text-align:center;margin:3em 0}.page-item{display:inline-block}.page-item .page-link{display:block;padding:.285em .8em}.page-item.active .page-link{color:#d3d3d3;border-radius:2em;background:#fff}.post-title{color:#d3d3d3}.post-content>pre,.post-content .highlight{margin:1em 0}.post-content>pre,.post-content .highlight>pre,.post-content .highlight>div{border-left:.4em solid rgba(255,255,255,.8);padding:.5em 1em}.post-content img{max-width:100%}.post-meta{font-size:.8em}.posts-list{padding:0}.posts-list-item{list-style:none;padding:.4em 0}.posts-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}.posts-list-item-description{display:block;font-size:.8em}.tag{display:inline-block;margin-right:.2em;padding:0 .6em;font-size:.9em;border-radius:.2em;white-space:nowrap;background:rgba(255,255,255,.1);transition:color .35s,background .35s}.tag:hover{transition:color .25s,background .05s;background:rgba(255,255,255,.3)}.tags-list{padding:0}.tags-list-item{list-style:none;padding:.4em 0}.tags-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}@media(min-width:450px){.tags-list{display:flex;flex-wrap:wrap}.tags-list-item{width:calc(50% - 1em)}.tags-list-item:nth-child(even){margin-left:1em}.tags-list-item:nth-last-child(2){border:none}}div.original,div.obsolete,div.code{background-color:rgba(255,255,128,.25);padding:1em 2em!important}div.obsolete p{color:gray;text-decoration:line-through!important}div.annotation{background-color:#1f353d;padding:.5em 1em!important}div.code{font-family:lucida console,courier new,monospace}table{margin-top:5px}.post-meta{line-height:1.5em}html{line-height:1.25;font-weight:lighter}strong{color:#dcff07}h1,h2{line-height:1.2}.app-header{padding:1.5em 2em}.app-header-avatar{border:.5rem solid #000}.page-item.active .page-link{color:#da291c}header{height:100%;display:flex;flex-direction:column;justify-content:space-between}.copyright{font-size:.75em;line-height:1;text-align:center}.site-rev{font-size:.75em;color:#000;line-height:1}.site-description{color:#000;line-height:1}.app-header-avatar{max-width:10rem;max-height:10rem;border-radius:100%;border:.25rem solid #000}.app-container{max-width:65rem}.summary{color:#d3d3d3}.breadcrumbs{font-size:.8rem;color:#da291c;border-bottom:1px solid #da291c}.sidebar-nav>a{border-right:1px solid #000;padding:0 10px 0 5px}.sidebar-nav>a:last-child{border-right:0}a{color:#f09393}code{font-size:95%;color:#ce785d}th,td{border:1px solid gray;padding:1em}th{padding-bottom:.5em}.post-content pre{border-left:1px solid rgba(255,255,255,.8);padding-left:1em;margin-left:10px}.onetabs-list-item-title{color:#dcff07}.post-meta{color:#bb995f}span.posts-list-item-description{color:#bb995f}figcaption h4{margin:0;padding:2px 0 0 10px;font-style:italic}pre{white-space:pre}a.posts-list-item-title{font-size:1.5em}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"css/main.min.bc1abb622a656fb4c816fed09d36c15e272b31b7beae2e7113b2f9418bff0361.css","MediaType":"text/css","Data":{"Integrity":"sha256-vBq7Yiplb7TIFv7QnTbBXicrMbe+ri5xE7L5QYv/A2E="}}
{"Target":"css/main.min.5efe2f062080343a28f3b21576ff0c6dbf2b0a5d89ed855f45479992bd62d0e6.css","MediaType":"text/css","Data":{"Integrity":"sha256-Xv4vBiCANDoo87IVdv8Mbb8rCl2J7YVfRUeZkr1i0OY="}}

0 comments on commit ef59bd1

Please sign in to comment.