repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
af3ceae
parent
5359de0
author
Eric Bower
date
2024-10-03 19:43:40 +0000 UTC
style(pastes): smol-v2 styles
4 files changed,  +9, -5
M pastes/html/blog.page.tmpl
+3, -3
 1@@ -27,8 +27,8 @@
 2 
 3 {{define "body"}}
 4 <header class="text-center">
 5-    <h1 class="text-2xl font-bold">{{.Header.Title}}</h1>
 6-    <hr />
 7+    <h1 class="text-2xl">{{.Header.Title}}</h1>
 8+    <hr class="my-2" />
 9 </header>
10 <main>
11     <section class="posts">
12@@ -36,7 +36,7 @@
13         <article class="my">
14             <div class="flex items-center">
15                 <time datetime="{{.PublishAtISO}}" class="font-italic text-sm post-date">{{.PublishAt}}</time>
16-                <div class="text-md flex-1"><a href="{{.URL}}">{{.Title}}</a></div>
17+                <div class="text-md flex-1 transform-none m-0"><a href="{{.URL}}">{{.Title}}</a></div>
18             </div>
19         </article>
20         {{end}}
M pastes/html/footer.partial.tmpl
+1, -1
1@@ -1,6 +1,6 @@
2 {{define "footer"}}
3 <footer>
4-    <hr />
5+    <hr class="my-2" />
6     published with <a href={{.Site.HomeURL}}>{{.Site.Domain}}</a>
7 </footer>
8 {{end}}
M pastes/html/post.page.tmpl
+1, -1
1@@ -25,7 +25,7 @@
2 
3 {{define "body"}}
4 <header>
5-    <h1 class="text-2xl font-bold">{{.Title}}</h1>
6+    <h1 class="text-2xl font-bold transform-none">{{.Title}}</h1>
7     <p class="font-bold m-0">
8       {{if .Unlisted}} <code>unlisted</code>{{end}}
9       <time datetime="{{.PublishAtISO}}">{{.PublishAt}}</time>
M pastes/public/main.css
+4, -0
1@@ -5,3 +5,7 @@ body {
2 .post-date {
3   width: 110px;
4 }
5+
6+.transform-none {
7+  text-transform: none;
8+}