repos / pico

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

commit
3e19682
parent
7c00b4a
author
Eric Bower
date
2022-08-26 03:23:34 +0000 UTC
feat(prose): markdown footnotes

style: tweak heading sizes
7 files changed,  +14, -13
M imgs/public/main.css
+2, -2
 1@@ -248,12 +248,12 @@ figure {
 2 }
 3 
 4 .text-xl {
 5-  font-size: 1.45rem;
 6+  font-size: 1.55rem;
 7   line-height: 1.15;
 8 }
 9 
10 .text-lg {
11-  font-size: 1.25rem;
12+  font-size: 1.35rem;
13   line-height: 1.15;
14 }
15 
M lists/public/main.css
+2, -2
 1@@ -248,12 +248,12 @@ figure {
 2 }
 3 
 4 .text-xl {
 5-  font-size: 1.45rem;
 6+  font-size: 1.55rem;
 7   line-height: 1.15;
 8 }
 9 
10 .text-lg {
11-  font-size: 1.25rem;
12+  font-size: 1.35rem;
13   line-height: 1.15;
14 }
15 
M pastes/public/main.css
+2, -2
 1@@ -248,12 +248,12 @@ figure {
 2 }
 3 
 4 .text-xl {
 5-  font-size: 1.45rem;
 6+  font-size: 1.55rem;
 7   line-height: 1.15;
 8 }
 9 
10 .text-lg {
11-  font-size: 1.25rem;
12+  font-size: 1.35rem;
13   line-height: 1.15;
14 }
15 
M prose/public/main.css
+2, -2
 1@@ -248,12 +248,12 @@ figure {
 2 }
 3 
 4 .text-xl {
 5-  font-size: 1.45rem;
 6+  font-size: 1.55rem;
 7   line-height: 1.15;
 8 }
 9 
10 .text-lg {
11-  font-size: 1.25rem;
12+  font-size: 1.35rem;
13   line-height: 1.15;
14 }
15 
M prose/public/prose.css
+3, -3
 1@@ -9,21 +9,21 @@ table {
 2 }
 3 
 4 .md h1 {
 5-  font-size: 1.85rem;
 6+  font-size: 1.55rem;
 7   line-height: 1.15;
 8   font-weight: bold;
 9   padding: 0.6rem 0 0 0;
10 }
11 
12 .md h2 {
13-  font-size: 1.45rem;
14+  font-size: 1.35rem;
15   line-height: 1.15;
16   font-weight: bold;
17   padding: 0.6rem 0 0 0;
18 }
19 
20 .md h3 {
21-  font-size: 1.25rem;
22+  font-size: 1.10rem;
23   font-weight: bold;
24   padding: 0.6rem 0 0 0;
25 }
M shared/mdparser.go
+1, -0
1@@ -185,6 +185,7 @@ func ParseText(text string, absURL string) (*ParsedText, error) {
2 	md := goldmark.New(
3 		goldmark.WithExtensions(
4 			extension.GFM,
5+			extension.Footnote,
6 			meta.Meta,
7 			hili,
8 		),
M smol.css
+2, -2
 1@@ -248,12 +248,12 @@ figure {
 2 }
 3 
 4 .text-xl {
 5-  font-size: 1.45rem;
 6+  font-size: 1.55rem;
 7   line-height: 1.15;
 8 }
 9 
10 .text-lg {
11-  font-size: 1.25rem;
12+  font-size: 1.35rem;
13   line-height: 1.15;
14 }
15