diff options
author | elioat@tilde.institute <eli@newstartmobile.com> | 2023-01-15 22:25:59 -0500 |
---|---|---|
committer | elioat@tilde.institute <eli@newstartmobile.com> | 2023-01-15 22:25:59 -0500 |
commit | 3a9909a366aa4517f0b88cea920e7620f1b78c84 (patch) | |
tree | 0a0e704636b708c3ae89db98d38df35c581f82eb | |
parent | 16f7f96a9f1815091d6dc69ef96a19a64d416ab9 (diff) | |
download | wiki-3a9909a366aa4517f0b88cea920e7620f1b78c84.tar.gz |
*
-rw-r--r-- | changelog.md | 1 | ||||
-rw-r--r-- | content/index.md | 6 | ||||
-rwxr-xr-x | mynah | 4 | ||||
-rw-r--r-- | public/archive.html | 24 | ||||
-rw-r--r-- | public/changelog.html | 2 | ||||
-rw-r--r-- | public/feed.xml | 12 | ||||
-rw-r--r-- | public/index.html | 34 | ||||
-rw-r--r-- | styles.css | 57 | ||||
-rw-r--r-- | updated | 2 |
9 files changed, 134 insertions, 8 deletions
diff --git a/changelog.md b/changelog.md index 5577a5d..2d3e58e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,2 +1,3 @@ +- [index](https://elioat.tilde.institute/wiki/index.html), Sun, 15 Jan 2023 22:24:35 -0500 - [index](https://elioat.tilde.institute/wiki/index.html), Tue, 10 Jan 2023 22:15:47 -0500 - [index](/index.html), Tue, 10 Jan 2023 22:11:32 -0500 diff --git a/content/index.md b/content/index.md index 365ad2a..d26b8ed 100644 --- a/content/index.md +++ b/content/index.md @@ -1,3 +1,7 @@ # wiki -the start of a little wiki. \ No newline at end of file +the start of a little wiki. I am adding some more text to test my `css` stuff. + + + +Testing pictures, too! \ No newline at end of file diff --git a/mynah b/mynah index e42250d..cf9c876 100755 --- a/mynah +++ b/mynah @@ -45,7 +45,7 @@ build_logs() { echo -e "$archive_entry" >> ../archive.md done cd .. - pandoc archive.md -o public/archive.html + pandoc -c styles.css -s archive.md -o public/archive.html } build() { @@ -64,7 +64,7 @@ build() { (( i++ )) updated_at="- [${file%.*}](${SITEURL}/${file%.*}.html), ${RFC822}" echo -e "$updated_at\n$(cat ../changelog.md)" > ../changelog.md - pandoc "${file}" -o ../public/"${file%.*}".html + pandoc -c ../styles.css -s "${file}" -o ../public/"${file%.*}".html rss_entry='<item> <title> <![CDATA[ the page "'${file%.*}'" was updated! ]]> diff --git a/public/archive.html b/public/archive.html index 98d3b82..722971f 100644 --- a/public/archive.html +++ b/public/archive.html @@ -1,5 +1,29 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang=""> +<head> + <meta charset="utf-8" /> + <meta name="generator" content="pandoc" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> + <title>archive</title> + <style> + code{white-space: pre-wrap;} + span.smallcaps{font-variant: small-caps;} + span.underline{text-decoration: underline;} + div.column{display: inline-block; vertical-align: top; width: 50%;} + div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} + ul.task-list{list-style: none;} + .display.math{display: block; text-align: center; margin: 0.5rem auto;} + </style> + <link rel="stylesheet" href="styles.css" /> + <!--[if lt IE 9]> + <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> + <![endif]--> +</head> +<body> <h1 id="archive">Archive</h1> <ul> <li><a href="https://elioat.tilde.institute/wiki/index.html">index</a></li> </ul> +</body> +</html> diff --git a/public/changelog.html b/public/changelog.html index c32a4af..526f01e 100644 --- a/public/changelog.html +++ b/public/changelog.html @@ -1,5 +1,7 @@ <ul> <li><a href="https://elioat.tilde.institute/wiki/index.html">index</a>, +Sun, 15 Jan 2023 22:24:35 -0500</li> +<li><a href="https://elioat.tilde.institute/wiki/index.html">index</a>, Tue, 10 Jan 2023 22:15:47 -0500</li> <li><a href="/index.html">index</a>, Tue, 10 Jan 2023 22:11:32 -0500</li> diff --git a/public/feed.xml b/public/feed.xml index 688e84c..962f770 100644 --- a/public/feed.xml +++ b/public/feed.xml @@ -14,13 +14,19 @@ <![CDATA[ the page "index" was updated! ]]> </title> <link>https://elioat.tilde.institute/wiki/index.html</link> - <guid>https://elioat.tilde.institute/wiki/index.html#D81AA6D9-A45A-4FEF-9801-DE390B9AA66C</guid> - <pubDate>Tue, 10 Jan 2023 22:15:47 -0500</pubDate> + <guid>https://elioat.tilde.institute/wiki/index.html#2921B8B5-70BF-4BDF-80CE-D33B6E319F6D</guid> + <pubDate>Sun, 15 Jan 2023 22:24:35 -0500</pubDate> <description> <![CDATA[ <p><a href="https://elioat.tilde.institute/wiki/index.html">index</a> updated!</p><br><br><pre><code># wiki -the start of a little wiki.</code></pre> ]]> +the start of a little wiki. I am adding some more text to test my `css` stuff. + + + +Testing pictures, too!</code></pre> ]]> </description> </item> </channel> diff --git a/public/index.html b/public/index.html index cc8b10b..7ead946 100644 --- a/public/index.html +++ b/public/index.html @@ -1,2 +1,34 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang=""> +<head> + <meta charset="utf-8" /> + <meta name="generator" content="pandoc" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> + <title>index</title> + <style> + code{white-space: pre-wrap;} + span.smallcaps{font-variant: small-caps;} + span.underline{text-decoration: underline;} + div.column{display: inline-block; vertical-align: top; width: 50%;} + div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} + ul.task-list{list-style: none;} + .display.math{display: block; text-align: center; margin: 0.5rem auto;} + </style> + <link rel="stylesheet" href="../styles.css" /> + <!--[if lt IE 9]> + <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> + <![endif]--> +</head> +<body> <h1 id="wiki">wiki</h1> -<p>the start of a little wiki.</p> +<p>the start of a little wiki. I am adding some more text to test my +<code>css</code> stuff.</p> +<figure> +<img +src="https://eli.li/_assets/_images/ios/9D0EB90B-D874-46BD-80CC-291C360153C6.png" +alt="Picture of a beastly cat." /> +<figcaption aria-hidden="true">Picture of a beastly cat.</figcaption> +</figure> +<p>Testing pictures, too!</p> +</body> +</html> diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..7983802 --- /dev/null +++ b/styles.css @@ -0,0 +1,57 @@ +*:focus { + outline: 4px solid #ffd700; + outline-offset: 4px; +} + +::selection { + background-color: #ddd; + color: #000; + text-decoration: none; +} + +body { + max-width: 42em; + padding: 0 1em; + color: #1e273a; +} + +p { + line-height: 1.25; +} + +img { + max-width: 100%; + margin: 0; + padding-bottom: 2em; +} + +a { + color: deeppink; +} + +a:visited { + color: teal; +} + +a:hover { + opacity: 0.5; +} + +a, blockquote { + transition-duration: .1s; + transition-timing-function: ease-in-out; +} + +blockquote { + border-left: 8px solid deeppink; + padding-left: 1em; +} + +blockquote:hover { + border-left: 8px solid #72dec2; +} + +pre { + background-color: #e5e5e5; + padding: 1em; +} diff --git a/updated b/updated index 0f34261..3b4970b 100644 --- a/updated +++ b/updated @@ -1 +1 @@ -1673406947 +1673839475 |