summary refs log tree commit diff
path: root/generate.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2024-04-14 15:59:10 -0400
committerJune McEnroe <june@causal.agency>2024-04-14 15:59:10 -0400
commitb8f32f1551bbd21a0748a5f580c899097860e5d3 (patch)
treed20c048455e72f03ae160729383755551698a9c7 /generate.sh
parentAdd rsync script (diff)
downloadsrc-b8f32f1551bbd21a0748a5f580c899097860e5d3.tar.gz
src-b8f32f1551bbd21a0748a5f580c899097860e5d3.zip
Add meta viewport, some padding for the anchors
Diffstat (limited to '')
-rw-r--r--generate.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/generate.sh b/generate.sh
index 5e26638b..e337aada 100644
--- a/generate.sh
+++ b/generate.sh
@@ -44,10 +44,11 @@ page_head() {
 	cat <<-EOF
 	<!DOCTYPE html>
 	<meta charset="utf-8">
+	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<title>${title}</title>
 	<style>
 	html { color: #bbb; background-color: black; font-family: sans-serif; }
-	figure { margin: 1em; text-align: center; }
+	figure { margin: 1em; padding-top: 0.5em; text-align: center; }
 	img { max-width: calc(100vw - 2.5em); max-height: calc(100vh - 2.5em); }
 	details { max-width: 78ch; margin: 0.5em auto; }
 	</style>
@@ -104,6 +105,7 @@ index_head() {
 	cat <<-EOF
 	<!DOCTYPE html>
 	<meta charset="utf-8">
+	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<title>Photos</title>
 	<style>
 	html { color: #bbb; background-color: black; font-family: sans-serif; }
td>June McEnroe 2019-12-31Add option to group events by contextJune McEnroe 2019-12-31Add missing includeJune McEnroe 2019-12-31Use standout mode for highlightingJune McEnroe 2019-12-31Rewrite scoop(1) argument descriptionsJune McEnroe 2019-12-31Color both nicks in a changeJune McEnroe 2019-12-31Implement nick-colored outputJune McEnroe 2019-12-31Only enable highlighting on terminal outputJune McEnroe 2019-12-31Set up pager pipeJune McEnroe 2019-12-30Normalize date inputJune McEnroe 2019-12-30Add initial rough version of scoopJune McEnroe 2019-12-30Join with USING wherever possibleJune McEnroe 2019-12-30Add -D flag to prospective scoop manualJune McEnroe 2019-12-30Order results by ID in outer query in litterboxJune McEnroe 2019-12-30Use X macro for Type enumJune McEnroe 2019-12-30Remove scoop -ABCJune McEnroe 2019-12-30Add limit option for litterbox's search query interfaceJune McEnroe.1&id=eef9c0faa89365a9c4a94c13de2fc81cadd24396&follow=1'>Normalize date inputJune McEnroe Mostly this just allows the use of 'now'. 2019-12-30Add initial rough version of scoopJune McEnroe 2019-12-30Join with USING wherever possibleJune McEnroe 2019-12-30Add -D flag to prospective scoop manualJune McEnroe 2019-12-30Order results by ID in outer query in litterboxJune McEnroe 2019-12-30Use X macro for Type enumJune McEnroe 2019-12-30Remove scoop -ABCJune McEnroe I can almost get these to work with an inner and outer SQL query, but when contexts starts overlapping it becomes a disaster, so I'm leavin it out at least for now. 2019-12-30Add limit option for litterbox's search query interfaceJune McEnroe