diff --git a/.markdownlintrc b/.markdownlintrc index 46d084f5..1449725e 100644 --- a/.markdownlintrc +++ b/.markdownlintrc @@ -11,7 +11,7 @@ "no-blanks-blockquote": true, "no-empty-links": false, "no-hard-tabs": false, - "no-inline-html": { "allowed_elements": [ "p", "a", "img", "svg", "path", "h2", "h3", "span", "sup" ] }, + "no-inline-html": { "allowed_elements": [ "p", "a", "strong", "em", "img", "svg", "path", "h2", "h3", "code", "span", "sup", "figure", "figcaption", "iframe" ] }, "no-multiple-blanks": false, "no-trailing-punctuation": false, "single-h1": false, diff --git a/README.md b/README.md index ac7d1db1..98e13cbf 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,4 @@ External assets include: - [**Twemoji**](https://twemoji.twitter.com/): Copyright (c) 2018 Twitter, Inc. and other contributors. [Licensed under CC-BY-4.0.](https://github.com/twitter/twemoji/blob/v12.1.5/LICENSE-GRAPHICS) - [**Inter**](https://rsms.me/inter/): Copyright (c) 2016-2020 The Inter Project Authors. [Licensed under the SIL Open Font License, Version 1.1.](https://github.com/rsms/inter/blob/v3.13/LICENSE.txt) - [**Hack**](https://sourcefoundry.org/hack/): Copyright (c) 2018 Source Foundry Authors. [Licensed under the MIT License.](https://github.com/source-foundry/Hack/blob/v3.003/LICENSE.md) +- [**Comic Neue**](http://comicneue.com/): Copyright (c) 2014 The Comic Neue Project Authors. [Licensed under the SIL Open Font License, Version 1.1.](https://github.com/crozynski/comicneue/blob/v2.5/OFL.txt) diff --git a/content/humans.txt b/content/humans.txt index 3446add9..23363c7d 100644 --- a/content/humans.txt +++ b/content/humans.txt @@ -63,3 +63,9 @@ Authors. Licensed under the MIT License: https://sourcefoundry.org/hack/ + + Comic Neue: Copyright (c) 2014 The Comic Neue + Project Authors. Licensed under the SIL Open + Font License, Version 1.1: + + http://comicneue.com/ diff --git a/content/previously/index.md b/content/previously/index.md index 6b793c5e..a30d623d 100644 --- a/content/previously/index.md +++ b/content/previously/index.md @@ -4,17 +4,44 @@ date: 2020-04-22 10:50:04-0400 description: "An incredibly embarrassing and somewhat painful walkthrough of this site's long history..." image: "images/2001_12.png" layout: etc +css: | + /*! + * Comic Neue typeface v2.5 - http://comicneue.com/ + * + * Copyright (c) 2014 The Comic Neue Project Authors. + * Licensed under the SIL Open Font License, Version 1.1: + * https://github.com/crozynski/comicneue/blob/v2.5/OFL.txt + */ + @font-face { + font-family: "Comic Neue"; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url('/vendor/comic-neue/comic-neue-bold.woff2') format('woff2'), + url('/vendor/comic-neue/comic-neue-bold.woff') format('woff'); + } + body { + font-family: "Comic Neue", "Comic Sans MS", "Comic Sans", cursive; + font-weight: 700; + } + div#content figure figcaption { + font-size: 1.1em; + } + footer div#copyright, footer div#poweredby { + font-size: 0.95em; + } --- {{< image src="images/wayback.png" link="https://web.archive.org/web/20010501000000*/jakejarvis.com" >}} -**...the [Cringey Chronicles™](https://web.archive.org/web/20010501000000*/jakejarvis.com) of this website's past.** +...the [Cringey Chronicles™](https://web.archive.org/web/20010501000000*/jakejarvis.com) of this website's past. {{}} --- -{{< image src="images/2001_12.gif" link="/y2k/" >}} -**🚨 Trigger warning:** marquees, Comic Sans MS, popup windows, `color: limegreen`... [Click to experience anyway.](/y2k/) -{{}} +
+ +
🚨 Trigger warning: marquees, Comic Sans MS, popup windows, color: limegreen... Click to experience fullscreen anyway.
+
--- diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index ee75c3b5..f9221bd6 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -2,12 +2,13 @@ {{- with .Inner }}
+ {{ with $.Get "link" }}{{ end }} - {{ with $.Get "link" }}{{ end }} {{ . | $.Page.RenderString | plainify | safeHTML }} - {{ if $.Get "link" }}{{ end }} + {{ if $.Get "link" }}{{ end }} +
{{ . | $.Page.RenderString | safeHTML }}
{{- else -}} diff --git a/static/vendor/comic-neue/comic-neue-bold.woff b/static/vendor/comic-neue/comic-neue-bold.woff new file mode 100755 index 00000000..e7b26cbe Binary files /dev/null and b/static/vendor/comic-neue/comic-neue-bold.woff differ diff --git a/static/vendor/comic-neue/comic-neue-bold.woff2 b/static/vendor/comic-neue/comic-neue-bold.woff2 new file mode 100755 index 00000000..d321dc62 Binary files /dev/null and b/static/vendor/comic-neue/comic-neue-bold.woff2 differ diff --git a/static/vendor/comic-neue/comic-neue-regular.woff b/static/vendor/comic-neue/comic-neue-regular.woff new file mode 100755 index 00000000..ec9f282b Binary files /dev/null and b/static/vendor/comic-neue/comic-neue-regular.woff differ diff --git a/static/vendor/comic-neue/comic-neue-regular.woff2 b/static/vendor/comic-neue/comic-neue-regular.woff2 new file mode 100755 index 00000000..746dcd3b Binary files /dev/null and b/static/vendor/comic-neue/comic-neue-regular.woff2 differ