commit cb5a452815cd5224117b998cb3cb2b9b7a0aa7a1 Author: Julia Luna Date: Thu Jun 30 20:18:05 2022 +0200 initial commit diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..9f715c3 --- /dev/null +++ b/config.toml @@ -0,0 +1,21 @@ +# The URL the site will be built for +base_url = "https://example.com" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = true + +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = false + +[markdown] +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = true +highlight_theme = "css" # use this if you want code blocks to fit in with the theme + +[extra] +# Put all your custom variables here + +image_vertical_crop_height = 768 +author = "example" +default_dark = false diff --git a/sass/code-highlight-dark.scss b/sass/code-highlight-dark.scss new file mode 100644 index 0000000..39ca9c9 --- /dev/null +++ b/sass/code-highlight-dark.scss @@ -0,0 +1,80 @@ +/* + * based on Monokai, modified to fit reasonable colors + */ +@import 'reasonable-colors'; + + +.z-comment { +color: $color-gray-3; +} +.z-string { +color: $color-amber-2; +} +.z-constant.z-numeric { +color: $color-purple-3; +} +.z-constant.z-language { +color: $color-purple-3; +} +.z-constant.z-character, .z-constant.z-other { +color: $color-purple-3; +} +.z-keyword { +color: $color-raspberry-3; +} +.z-storage { +color: $color-raspberry-3; +} +.z-storage.z-type { +color: $color-powder-2; +font-style: italic; +} +.z-entity.z-name.z-class { +color: $color-green-2; +font-style: underline; +} +.z-entity.z-other.z-inherited-class { +color: $color-green-2; +font-style: underline; +font-style: italic; +} +.z-entity.z-name.z-function { +color: $color-green-2; +} +.z-variable.z-parameter { +color: $color-cinnamon-2; +font-style: italic; +} +.z-entity.z-name.z-tag { +color: $color-raspberry-3; +} +.z-entity.z-other.z-attribute-name { +color: $color-green-2; +} +.z-support.z-function { +color: $color-powder-2; +} +.z-support.z-constant { +color: $color-powder-2; +} +.z-support.z-type, .z-support.z-class { +color: $color-powder-2; +font-style: italic; +} +.z-invalid { +color: $color-gray-1; +background-color: $color-raspberry-3; +} +.z-invalid.z-deprecated { +color: $color-gray-1; +background-color: $color-purple-3; +} +.z-path { +color: $color-indigo-3; +} +.z-generic { +color: $color-green-3; +} +.z-return-type { +color: $color-green-2; +} \ No newline at end of file diff --git a/sass/code-highlight-light.scss b/sass/code-highlight-light.scss new file mode 100644 index 0000000..4b45ad3 --- /dev/null +++ b/sass/code-highlight-light.scss @@ -0,0 +1,80 @@ +/* + * based on Monokai, modified to fit reasonable colors + */ +@import 'reasonable-colors'; + + +.z-comment { +color: $color-gray-4; +} +.z-string { +color: $color-amber-3; +} +.z-constant.z-numeric { +color: $color-purple-4; +} +.z-constant.z-language { +color: $color-purple-4; +} +.z-constant.z-character, .z-constant.z-other { +color: $color-purple-4; +} +.z-keyword { +color: $color-raspberry-4; +} +.z-storage { +color: $color-raspberry-4; +} +.z-storage.z-type { +color: $color-powder-4; +font-style: italic; +} +.z-entity.z-name.z-class { +color: $color-green-3; +font-style: underline; +} +.z-entity.z-other.z-inherited-class { +color: $color-green-3; +font-style: underline; +font-style: italic; +} +.z-entity.z-name.z-function { +color: $color-green-3; +} +.z-variable.z-parameter { +color: $color-cinnamon-3; +font-style: italic; +} +.z-entity.z-name.z-tag { +color: $color-raspberry-4; +} +.z-entity.z-other.z-attribute-name { +color: $color-green-3; +} +.z-support.z-function { +color: $color-powder-4; +} +.z-support.z-constant { +color: $color-powder-4; +} +.z-support.z-type, .z-support.z-class { +color: $color-powder-4; +font-style: italic; +} +.z-invalid { +color: $color-gray-1; +background-color: $color-raspberry-4; +} +.z-invalid.z-deprecated { +color: $color-gray-1; +background-color: $color-purple-4; +} +.z-path { +color: $color-indigo-4; +} +.z-generic { +color: $color-green-4; +} +.z-return-type { +color: $color-green-3; +} \ No newline at end of file diff --git a/sass/reasonable-colors.scss b/sass/reasonable-colors.scss new file mode 100644 index 0000000..fa89360 --- /dev/null +++ b/sass/reasonable-colors.scss @@ -0,0 +1,252 @@ +/*! reasonable colors v0.4.0 | MIT License | https://github.com/matthewhowell/reasonable-colors */ + +/* ****** + +Format for SCSS variables: $color-COLORNAME-SHADE + +Available values for COLORNAME: + gray, + rose, raspberry, red, orange, cinnamon, amber, yellow, lime, + chartreuse, green, emerald, aquamarine, teal, cyan, powder, sky + cerulean, azure, blue, indigo, violet, purple, magenta, pink + +Available values for SHADE: + 1, 2, 3, 4, 5, 6 + +Minimum contrast can be inferred by the difference between two SHADE numbers + +- Difference of 2: (3:1) +- Difference of 3: (4.5:1) +- Difference of 4: (7:1) + +reasonable-colors.css uses hex values. HSL, LCH, and RGB color spaces are available. + +For .scss friendly variable declarations, FILENAME.scss for each color space are provided. + +More information available at: https://www.reasonable.work/colors + +****** */ + +/* gray */ +$color-gray-1: #f6f6f6; +$color-gray-2: #e2e2e2; +$color-gray-3: #8b8b8b; +$color-gray-4: #6f6f6f; +$color-gray-5: #3e3e3e; +$color-gray-6: #222222; + +/* rose */ +/* hue 1 */ +$color-rose-1: #fff7f9; +$color-rose-2: #ffdce5; +$color-rose-3: #ff3b8d; +$color-rose-4: #db0072; +$color-rose-5: #800040; +$color-rose-6: #4c0023; + +/* raspberry */ +/* hue 2 */ +$color-raspberry-1: #fff8f8; +$color-raspberry-2: #ffdddf; +$color-raspberry-3: #ff426c; +$color-raspberry-4: #de0051; +$color-raspberry-5: #82002c; +$color-raspberry-6: #510018; + +/* red */ +/* hue 3 */ +$color-red-1: #fff8f6; +$color-red-2: #ffddd8; +$color-red-3: #ff4647; +$color-red-4: #e0002b; +$color-red-5: #830014; +$color-red-6: #530003; + +/* orange */ +/* hue 4 */ +$color-orange-1: #fff8f5; +$color-orange-2: #ffded1; +$color-orange-3: #fd4d00; +$color-orange-4: #cd3c00; +$color-orange-5: #752100; +$color-orange-6: #401600; + +/* cinnamon */ +/* hue 5 */ +$color-cinnamon-1: #fff8f3; +$color-cinnamon-2: #ffdfc6; +$color-cinnamon-3: #d57300; +$color-cinnamon-4: #ac5c00; +$color-cinnamon-5: #633300; +$color-cinnamon-6: #371d00; + +/* amber */ +/* hue 6 */ +$color-amber-1: #fff8ef; +$color-amber-2: #ffe0b2; +$color-amber-3: #b98300; +$color-amber-4: #926700; +$color-amber-5: #523800; +$color-amber-6: #302100; + +/* yellow */ +/* hue 7 */ +$color-yellow-1: #fff9e5; +$color-yellow-2: #ffe53e; +$color-yellow-3: #9c8b00; +$color-yellow-4: #7d6f00; +$color-yellow-5: #463d00; +$color-yellow-6: #292300; + +/* lime */ +/* hue 8 */ +$color-lime-1: #f7ffac; +$color-lime-2: #d5f200; +$color-lime-3: #819300; +$color-lime-4: #677600; +$color-lime-5: #394100; +$color-lime-6: #222600; + +/* chartreuse */ +/* hue 9 */ +$color-chartreuse-1: #e5ffc3; +$color-chartreuse-2: #98fb00; +$color-chartreuse-3: #5c9b00; +$color-chartreuse-4: #497c00; +$color-chartreuse-5: #264500; +$color-chartreuse-6: #182600; + +/* green */ +/* hue 10 */ +$color-green-1: #e0ffd9; +$color-green-2: #72ff6c; +$color-green-3: #00a21f; +$color-green-4: #008217; +$color-green-5: #004908; +$color-green-6: #062800; + +/* emerald */ +/* hue 11 */ +$color-emerald-1: #dcffe6; +$color-emerald-2: #5dffa2; +$color-emerald-3: #00a05a; +$color-emerald-4: #008147; +$color-emerald-5: #004825; +$color-emerald-6: #002812; + +/* aquamarine */ +/* hue 12 */ +$color-aquamarine-1: #daffef; +$color-aquamarine-2: #42ffc6; +$color-aquamarine-3: #009f78; +$color-aquamarine-4: #007f5f; +$color-aquamarine-5: #004734; +$color-aquamarine-6: #00281b; + +/* teal */ +/* hue 13 */ +$color-teal-1: #d7fff7; +$color-teal-2: #00ffe4; +$color-teal-3: #009e8c; +$color-teal-4: #007c6e; +$color-teal-5: #00443c; +$color-teal-6: #002722; + +/* cyan */ +/* hue 14 */ +$color-cyan-1: #c4fffe; +$color-cyan-2: #00fafb; +$color-cyan-3: #00999a; +$color-cyan-4: #007a7b; +$color-cyan-5: #004344; +$color-cyan-6: #002525; + +/* powder */ +/* hue 15 */ +$color-powder-1: #dafaff; +$color-powder-2: #8df0ff; +$color-powder-3: #0098a9; +$color-powder-4: #007987; +$color-powder-5: #004048; +$color-powder-6: #002227; + +/* sky */ +/* hue 16 */ +$color-sky-1: #e3f7ff; +$color-sky-2: #aee9ff; +$color-sky-3: #0094b4; +$color-sky-4: #007590; +$color-sky-5: #00404f; +$color-sky-6: #001f28; + +/* cerulean */ +/* hue 17 */ +$color-cerulean-1: #e8f6ff; +$color-cerulean-2: #b9e3ff; +$color-cerulean-3: #0092c5; +$color-cerulean-4: #00749d; +$color-cerulean-5: #003c54; +$color-cerulean-6: #001d2a; + +/* azure */ +/* hue 18 */ +$color-azure-1: #e8f2ff; +$color-azure-2: #c6e0ff; +$color-azure-3: #008fdb; +$color-azure-4: #0071af; +$color-azure-5: #003b5e; +$color-azure-6: #001c30; + +/* blue */ +/* hue 19 */ +$color-blue-1: #f0f4ff; +$color-blue-2: #d4e0ff; +$color-blue-3: #0089fc; +$color-blue-4: #006dca; +$color-blue-5: #00386d; +$color-blue-6: #001a39; + +/* indigo */ +/* hue 20 */ +$color-indigo-1: #f3f3ff; +$color-indigo-2: #deddff; +$color-indigo-3: #657eff; +$color-indigo-4: #0061fc; +$color-indigo-5: #00328a; +$color-indigo-6: #001649; + +/* violet */ +/* hue 21 */ +$color-violet-1: #f7f1ff; +$color-violet-2: #e8daff; +$color-violet-3: #9b70ff; +$color-violet-4: #794aff; +$color-violet-5: #2d0fbf; +$color-violet-6: #0b0074; + +/* purple */ +/* hue 22 */ +$color-purple-1: #fdf4ff; +$color-purple-2: #f7d9ff; +$color-purple-3: #d150ff; +$color-purple-4: #b01fe3; +$color-purple-5: #660087; +$color-purple-6: #3a004f; + +/* magenta */ +/* hue 23 */ +$color-magenta-1: #fff3fc; +$color-magenta-2: #ffd7f6; +$color-magenta-3: #f911e0; +$color-magenta-4: #ca00b6; +$color-magenta-5: #740068; +$color-magenta-6: #44003c; + +/* pink */ +/* hue 24 */ +$color-pink-1: #fff7fb; +$color-pink-2: #ffdcec; +$color-pink-3: #ff2fb2; +$color-pink-4: #d2008f; +$color-pink-5: #790051; +$color-pink-6: #4b0030; \ No newline at end of file diff --git a/sass/style.sass b/sass/style.sass new file mode 100644 index 0000000..ffe68a3 --- /dev/null +++ b/sass/style.sass @@ -0,0 +1,243 @@ +@import reasonable-colors + +@mixin padding-horiz($amount) // this was probably unnecessary lmao + padding-left: $amount + padding-right: $amount + +@font-face + font-family: TT2020 + src: url("TT2020StyleE-Regular.woff2") + +@import url("iosevka.css") + +@import url("iosevka-etoile.css") + +body + display: grid + grid-template-areas: "nav content" "sidebar content" "footer content" + + grid-template-rows: 50px 1fr 50px + grid-template-columns: 20rem 1fr + + grid-column-gap: 2rem + + height: 100vh + + margin: 0 + padding-right: 1rem + + background-color: #e9e9dc + + font-family: "Iosevka Etoile Web", sans-serif + font-size: 13pt + + a + color: #0053a7 + text-decoration: underline 0.1em rgba(0, 83, 167, 0) + transition: text-decoration-color 300ms ease-in-out + + &:hover + text-decoration-color: rgba(0, 83, 167, 0.5) + + &:visited + color: #4520f7 + + &:active + color: #db2b07 + + &.stealth + color: inherit + + figure + max-width: 100% + margin: -1px -1px 1rem -1px + border-bottom: 1px solid silver + padding-bottom: 1rem + + img + max-width: 100% + object-fit: cover + + > div + display: flex + flex-flow: row nowrap + justify-content: space-between + gap: 2rem + + a + white-space: nowrap + + nav + @include padding-horiz(1rem) + grid-area: nav + + height: 50px + display: flex + flex-flow: row nowrap + justify-content: space-between + align-items: center + background-color: #f2f2e1 + + + article + @include padding-horiz(2rem) + margin: 1rem 0 + grid-area: content + overflow-y: scroll + background-color: #f9f9e8 + background-image: url("/paper53.png"), url("/paper89.png"), url("/paper59.png"), url("/paper67.png") + background-attachment: local + max-width: 60rem + box-shadow: 0.2rem 0.2rem 1rem 0 rgba(0, 0, 0, 0.3) + + font-family: "TT2020", serif + font-size: 16pt + + pre + padding: 1rem + font-size: 13pt + max-height: 40rem + overflow: scroll + + background-color: rgba(0, 0, 0, 0.007) + box-shadow: 0 0 0.75rem 0 rgba(0, 0, 0, 0.1) inset + + &[data-linenos] + padding: 1rem 0.5rem + + table td + padding: 0 + + &:first-of-type + text-align: right + user-select: none + padding-right: 0.5rem + border-right: 2px solid rgba(0, 0, 0, 0.2) + + mark + background: none + + &:last-of-type + padding-left: 0.5rem + + mark + display: block + background-color: rgba($color-yellow-2, 0.3) + font-weight: bold + + code + font-family: "Iosevka Web", monospace + font-stretch: extended + font-feature-settings: "ss05" 1, "cv89" 2 + @import code-highlight-light + + aside + @include padding-horiz(1rem) + padding-top: 1rem + grid-area: sidebar + overflow-y: scroll + background-color: #f2f2e1 + border-top: 2px solid rgba(0, 0, 0, 0.1) + border-bottom: 2px solid rgba(0, 0, 0, 0.1) + display: flex + flex-flow: column nowrap + + footer + grid-area: footer + display: flex + justify-content: center + align-items: center + background-color: #f2f2e1 + height: 50px + + #theme-toggle + cursor: pointer + + + + +body.dark + // todo: fix lmao + background-color: #232327 + color: #e7e3d5 + + a + color: #207edb + text-decoration-color: rgba(30, 115, 201, 0) + &:hover + text-decoration-color: rgba(30, 115, 201, 0.5) + + &:visited + color: #aa99ff + + &:active + color: #ed4523 + + + article + font-family: "Iosevka Etoile Web" + color: #e9e3d3 + background-color: #0a0b0c + background-image: url("rocky-wall-50.png") + + pre + background-color: rgba(5, 5, 5, 0.6) + box-shadow: 0 0 0.5rem 0 rgba(255, 255, 255, 0.5) inset + + table td + mark + color: #e9e3d3 + + code + @import code-highlight-dark + + mark + background-color: rgba($color-yellow-2, 0.1) + + aside + background-color: #18181a + + nav + background-color: #18181a + + footer + background-color: #18181a + + +@media print + body + grid-template-areas: "sidebar" "content" "footer" + grid-template-columns: 1fr + + +@media screen and (max-width: 1400px) + // at this point the page has roughly the same + // padding on the left and right side + body + grid-template-columns: 15rem 1fr + + +@media screen and (max-width: 980px) + body + height: revert + display: flex + flex-flow: column nowrap + padding-right: 0 + + aside + overflow-y: revert + border-bottom: none + + article + margin: 0 + overflow-y: revert + +@media screen and (max-width: 480) + body + font-size: 12pt + + article + font-size: 15pt + @include padding-horiz(1rem) + + \ No newline at end of file diff --git a/static/TT2020Base-Regular.woff2 b/static/TT2020Base-Regular.woff2 new file mode 100644 index 0000000..dd28651 Binary files /dev/null and b/static/TT2020Base-Regular.woff2 differ diff --git a/static/TT2020StyleE-Regular.woff2 b/static/TT2020StyleE-Regular.woff2 new file mode 100644 index 0000000..500cfd2 Binary files /dev/null and b/static/TT2020StyleE-Regular.woff2 differ diff --git a/static/iosevka-etoile.css b/static/iosevka-etoile.css new file mode 100644 index 0000000..69e2e24 --- /dev/null +++ b/static/iosevka-etoile.css @@ -0,0 +1,315 @@ + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 100; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-thin.ttf') format('truetype'), url('woff2/iosevka-etoile-thin.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 100; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-thinoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-thinoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 100; + font-stretch: normal; + src: url('ttf/iosevka-etoile-thinoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-thinoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 100; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-thinitalic.ttf') format('truetype'), url('woff2/iosevka-etoile-thinitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 200; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-extralight.ttf') format('truetype'), url('woff2/iosevka-etoile-extralight.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 200; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-extralightoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-extralightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 200; + font-stretch: normal; + src: url('ttf/iosevka-etoile-extralightoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-extralightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 200; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-extralightitalic.ttf') format('truetype'), url('woff2/iosevka-etoile-extralightitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 300; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-light.ttf') format('truetype'), url('woff2/iosevka-etoile-light.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 300; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-lightoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-lightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 300; + font-stretch: normal; + src: url('ttf/iosevka-etoile-lightoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-lightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 300; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-lightitalic.ttf') format('truetype'), url('woff2/iosevka-etoile-lightitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 400; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-regular.ttf') format('truetype'), url('woff2/iosevka-etoile-regular.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 400; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-oblique.ttf') format('truetype'), url('woff2/iosevka-etoile-oblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 400; + font-stretch: normal; + src: url('ttf/iosevka-etoile-oblique.ttf') format('truetype'), url('woff2/iosevka-etoile-oblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 400; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-italic.ttf') format('truetype'), url('woff2/iosevka-etoile-italic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-medium.ttf') format('truetype'), url('woff2/iosevka-etoile-medium.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-mediumoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-mediumoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + src: url('ttf/iosevka-etoile-mediumoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-mediumoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-mediumitalic.ttf') format('truetype'), url('woff2/iosevka-etoile-mediumitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 600; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-semibold.ttf') format('truetype'), url('woff2/iosevka-etoile-semibold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 600; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-semiboldoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-semiboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 600; + font-stretch: normal; + src: url('ttf/iosevka-etoile-semiboldoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-semiboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 600; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-semibolditalic.ttf') format('truetype'), url('woff2/iosevka-etoile-semibolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-bold.ttf') format('truetype'), url('woff2/iosevka-etoile-bold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-boldoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-boldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + src: url('ttf/iosevka-etoile-boldoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-boldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-bolditalic.ttf') format('truetype'), url('woff2/iosevka-etoile-bolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 800; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-extrabold.ttf') format('truetype'), url('woff2/iosevka-etoile-extrabold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 800; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-extraboldoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-extraboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 800; + font-stretch: normal; + src: url('ttf/iosevka-etoile-extraboldoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-extraboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 800; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-extrabolditalic.ttf') format('truetype'), url('woff2/iosevka-etoile-extrabolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 900; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-etoile-heavy.ttf') format('truetype'), url('woff2/iosevka-etoile-heavy.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 900; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-etoile-heavyoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-heavyoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web Oblique'; + font-display: swap; + font-weight: 900; + font-stretch: normal; + src: url('ttf/iosevka-etoile-heavyoblique.ttf') format('truetype'), url('woff2/iosevka-etoile-heavyoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Etoile Web'; + font-display: swap; + font-weight: 900; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-etoile-heavyitalic.ttf') format('truetype'), url('woff2/iosevka-etoile-heavyitalic.woff2') format('woff2'); +} diff --git a/static/iosevka.css b/static/iosevka.css new file mode 100644 index 0000000..c16095e --- /dev/null +++ b/static/iosevka.css @@ -0,0 +1,630 @@ + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 100; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-thin.ttf') format('truetype'), url('woff2/iosevka-thin.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 100; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extendedthin.ttf') format('truetype'), url('woff2/iosevka-extendedthin.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 100; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-thinoblique.ttf') format('truetype'), url('woff2/iosevka-thinoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 100; + font-stretch: normal; + src: url('ttf/iosevka-thinoblique.ttf') format('truetype'), url('woff2/iosevka-thinoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 100; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedthinoblique.ttf') format('truetype'), url('woff2/iosevka-extendedthinoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 100; + font-stretch: expanded; + src: url('ttf/iosevka-extendedthinoblique.ttf') format('truetype'), url('woff2/iosevka-extendedthinoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 100; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-thinitalic.ttf') format('truetype'), url('woff2/iosevka-thinitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 100; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendedthinitalic.ttf') format('truetype'), url('woff2/iosevka-extendedthinitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 200; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-extralight.ttf') format('truetype'), url('woff2/iosevka-extralight.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 200; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extendedextralight.ttf') format('truetype'), url('woff2/iosevka-extendedextralight.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 200; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-extralightoblique.ttf') format('truetype'), url('woff2/iosevka-extralightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 200; + font-stretch: normal; + src: url('ttf/iosevka-extralightoblique.ttf') format('truetype'), url('woff2/iosevka-extralightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 200; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedextralightoblique.ttf') format('truetype'), url('woff2/iosevka-extendedextralightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 200; + font-stretch: expanded; + src: url('ttf/iosevka-extendedextralightoblique.ttf') format('truetype'), url('woff2/iosevka-extendedextralightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 200; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-extralightitalic.ttf') format('truetype'), url('woff2/iosevka-extralightitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 200; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendedextralightitalic.ttf') format('truetype'), url('woff2/iosevka-extendedextralightitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 300; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-light.ttf') format('truetype'), url('woff2/iosevka-light.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 300; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extendedlight.ttf') format('truetype'), url('woff2/iosevka-extendedlight.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 300; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-lightoblique.ttf') format('truetype'), url('woff2/iosevka-lightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 300; + font-stretch: normal; + src: url('ttf/iosevka-lightoblique.ttf') format('truetype'), url('woff2/iosevka-lightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 300; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedlightoblique.ttf') format('truetype'), url('woff2/iosevka-extendedlightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 300; + font-stretch: expanded; + src: url('ttf/iosevka-extendedlightoblique.ttf') format('truetype'), url('woff2/iosevka-extendedlightoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 300; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-lightitalic.ttf') format('truetype'), url('woff2/iosevka-lightitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 300; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendedlightitalic.ttf') format('truetype'), url('woff2/iosevka-extendedlightitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 400; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-regular.ttf') format('truetype'), url('woff2/iosevka-regular.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 400; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extended.ttf') format('truetype'), url('woff2/iosevka-extended.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 400; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-oblique.ttf') format('truetype'), url('woff2/iosevka-oblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 400; + font-stretch: normal; + src: url('ttf/iosevka-oblique.ttf') format('truetype'), url('woff2/iosevka-oblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 400; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedoblique.ttf') format('truetype'), url('woff2/iosevka-extendedoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 400; + font-stretch: expanded; + src: url('ttf/iosevka-extendedoblique.ttf') format('truetype'), url('woff2/iosevka-extendedoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 400; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-italic.ttf') format('truetype'), url('woff2/iosevka-italic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 400; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendeditalic.ttf') format('truetype'), url('woff2/iosevka-extendeditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-medium.ttf') format('truetype'), url('woff2/iosevka-medium.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 500; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extendedmedium.ttf') format('truetype'), url('woff2/iosevka-extendedmedium.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-mediumoblique.ttf') format('truetype'), url('woff2/iosevka-mediumoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + src: url('ttf/iosevka-mediumoblique.ttf') format('truetype'), url('woff2/iosevka-mediumoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 500; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedmediumoblique.ttf') format('truetype'), url('woff2/iosevka-extendedmediumoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 500; + font-stretch: expanded; + src: url('ttf/iosevka-extendedmediumoblique.ttf') format('truetype'), url('woff2/iosevka-extendedmediumoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-mediumitalic.ttf') format('truetype'), url('woff2/iosevka-mediumitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 500; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendedmediumitalic.ttf') format('truetype'), url('woff2/iosevka-extendedmediumitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 600; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-semibold.ttf') format('truetype'), url('woff2/iosevka-semibold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 600; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extendedsemibold.ttf') format('truetype'), url('woff2/iosevka-extendedsemibold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 600; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-semiboldoblique.ttf') format('truetype'), url('woff2/iosevka-semiboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 600; + font-stretch: normal; + src: url('ttf/iosevka-semiboldoblique.ttf') format('truetype'), url('woff2/iosevka-semiboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 600; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedsemiboldoblique.ttf') format('truetype'), url('woff2/iosevka-extendedsemiboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 600; + font-stretch: expanded; + src: url('ttf/iosevka-extendedsemiboldoblique.ttf') format('truetype'), url('woff2/iosevka-extendedsemiboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 600; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-semibolditalic.ttf') format('truetype'), url('woff2/iosevka-semibolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 600; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendedsemibolditalic.ttf') format('truetype'), url('woff2/iosevka-extendedsemibolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-bold.ttf') format('truetype'), url('woff2/iosevka-bold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 700; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extendedbold.ttf') format('truetype'), url('woff2/iosevka-extendedbold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-boldoblique.ttf') format('truetype'), url('woff2/iosevka-boldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + src: url('ttf/iosevka-boldoblique.ttf') format('truetype'), url('woff2/iosevka-boldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 700; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedboldoblique.ttf') format('truetype'), url('woff2/iosevka-extendedboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 700; + font-stretch: expanded; + src: url('ttf/iosevka-extendedboldoblique.ttf') format('truetype'), url('woff2/iosevka-extendedboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-bolditalic.ttf') format('truetype'), url('woff2/iosevka-bolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 700; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendedbolditalic.ttf') format('truetype'), url('woff2/iosevka-extendedbolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 800; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-extrabold.ttf') format('truetype'), url('woff2/iosevka-extrabold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 800; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extendedextrabold.ttf') format('truetype'), url('woff2/iosevka-extendedextrabold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 800; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-extraboldoblique.ttf') format('truetype'), url('woff2/iosevka-extraboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 800; + font-stretch: normal; + src: url('ttf/iosevka-extraboldoblique.ttf') format('truetype'), url('woff2/iosevka-extraboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 800; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedextraboldoblique.ttf') format('truetype'), url('woff2/iosevka-extendedextraboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 800; + font-stretch: expanded; + src: url('ttf/iosevka-extendedextraboldoblique.ttf') format('truetype'), url('woff2/iosevka-extendedextraboldoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 800; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-extrabolditalic.ttf') format('truetype'), url('woff2/iosevka-extrabolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 800; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendedextrabolditalic.ttf') format('truetype'), url('woff2/iosevka-extendedextrabolditalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 900; + font-stretch: normal; + font-style: normal; + src: url('ttf/iosevka-heavy.ttf') format('truetype'), url('woff2/iosevka-heavy.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 900; + font-stretch: expanded; + font-style: normal; + src: url('ttf/iosevka-extendedheavy.ttf') format('truetype'), url('woff2/iosevka-extendedheavy.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 900; + font-stretch: normal; + font-style: oblique; + src: url('ttf/iosevka-heavyoblique.ttf') format('truetype'), url('woff2/iosevka-heavyoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 900; + font-stretch: normal; + src: url('ttf/iosevka-heavyoblique.ttf') format('truetype'), url('woff2/iosevka-heavyoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 900; + font-stretch: expanded; + font-style: oblique; + src: url('ttf/iosevka-extendedheavyoblique.ttf') format('truetype'), url('woff2/iosevka-extendedheavyoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web Oblique'; + font-display: swap; + font-weight: 900; + font-stretch: expanded; + src: url('ttf/iosevka-extendedheavyoblique.ttf') format('truetype'), url('woff2/iosevka-extendedheavyoblique.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 900; + font-stretch: normal; + font-style: italic; + src: url('ttf/iosevka-heavyitalic.ttf') format('truetype'), url('woff2/iosevka-heavyitalic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Iosevka Web'; + font-display: swap; + font-weight: 900; + font-stretch: expanded; + font-style: italic; + src: url('ttf/iosevka-extendedheavyitalic.ttf') format('truetype'), url('woff2/iosevka-extendedheavyitalic.woff2') format('woff2'); +} diff --git a/static/paper53.png b/static/paper53.png new file mode 100644 index 0000000..36d99e6 Binary files /dev/null and b/static/paper53.png differ diff --git a/static/paper59.png b/static/paper59.png new file mode 100644 index 0000000..ae4caa7 Binary files /dev/null and b/static/paper59.png differ diff --git a/static/paper67.png b/static/paper67.png new file mode 100644 index 0000000..a4a82ab Binary files /dev/null and b/static/paper67.png differ diff --git a/static/paper89.png b/static/paper89.png new file mode 100644 index 0000000..cff1fa1 Binary files /dev/null and b/static/paper89.png differ diff --git a/static/rocky-wall-50.png b/static/rocky-wall-50.png new file mode 100644 index 0000000..61a1351 Binary files /dev/null and b/static/rocky-wall-50.png differ diff --git a/static/rocky-wall.png b/static/rocky-wall.png new file mode 100644 index 0000000..2af6fb4 Binary files /dev/null and b/static/rocky-wall.png differ diff --git a/static/script.js b/static/script.js new file mode 100644 index 0000000..f6aeb8e --- /dev/null +++ b/static/script.js @@ -0,0 +1,14 @@ +let placeholder = document.getElementById('theme-toggle-placeholder'); + +if (placeholder) { + let toggle = document.createElement("span"); + toggle.id = "theme-toggle"; + toggle.addEventListener("click", () => { + toggle_theme_pref(); + update_theme(); + update_theme_toggle(); + }); + placeholder.replaceWith(toggle); + + update_theme_toggle(); +} \ No newline at end of file diff --git a/static/ttf/iosevka-bold.ttf b/static/ttf/iosevka-bold.ttf new file mode 100644 index 0000000..67999ba Binary files /dev/null and b/static/ttf/iosevka-bold.ttf differ diff --git a/static/ttf/iosevka-bolditalic.ttf b/static/ttf/iosevka-bolditalic.ttf new file mode 100644 index 0000000..cd509a2 Binary files /dev/null and b/static/ttf/iosevka-bolditalic.ttf differ diff --git a/static/ttf/iosevka-boldoblique.ttf b/static/ttf/iosevka-boldoblique.ttf new file mode 100644 index 0000000..9ad39c9 Binary files /dev/null and b/static/ttf/iosevka-boldoblique.ttf differ diff --git a/static/ttf/iosevka-etoile-bold.ttf b/static/ttf/iosevka-etoile-bold.ttf new file mode 100644 index 0000000..fb0ab1c Binary files /dev/null and b/static/ttf/iosevka-etoile-bold.ttf differ diff --git a/static/ttf/iosevka-etoile-bolditalic.ttf b/static/ttf/iosevka-etoile-bolditalic.ttf new file mode 100644 index 0000000..4d6e55b Binary files /dev/null and b/static/ttf/iosevka-etoile-bolditalic.ttf differ diff --git a/static/ttf/iosevka-etoile-boldoblique.ttf b/static/ttf/iosevka-etoile-boldoblique.ttf new file mode 100644 index 0000000..674d43b Binary files /dev/null and b/static/ttf/iosevka-etoile-boldoblique.ttf differ diff --git a/static/ttf/iosevka-etoile-extrabold.ttf b/static/ttf/iosevka-etoile-extrabold.ttf new file mode 100644 index 0000000..5d3e9ba Binary files /dev/null and b/static/ttf/iosevka-etoile-extrabold.ttf differ diff --git a/static/ttf/iosevka-etoile-extrabolditalic.ttf b/static/ttf/iosevka-etoile-extrabolditalic.ttf new file mode 100644 index 0000000..62eb556 Binary files /dev/null and b/static/ttf/iosevka-etoile-extrabolditalic.ttf differ diff --git a/static/ttf/iosevka-etoile-extraboldoblique.ttf b/static/ttf/iosevka-etoile-extraboldoblique.ttf new file mode 100644 index 0000000..b4ad51d Binary files /dev/null and b/static/ttf/iosevka-etoile-extraboldoblique.ttf differ diff --git a/static/ttf/iosevka-etoile-extralight.ttf b/static/ttf/iosevka-etoile-extralight.ttf new file mode 100644 index 0000000..6efd168 Binary files /dev/null and b/static/ttf/iosevka-etoile-extralight.ttf differ diff --git a/static/ttf/iosevka-etoile-extralightitalic.ttf b/static/ttf/iosevka-etoile-extralightitalic.ttf new file mode 100644 index 0000000..77d5c10 Binary files /dev/null and b/static/ttf/iosevka-etoile-extralightitalic.ttf differ diff --git a/static/ttf/iosevka-etoile-extralightoblique.ttf b/static/ttf/iosevka-etoile-extralightoblique.ttf new file mode 100644 index 0000000..d38ee96 Binary files /dev/null and b/static/ttf/iosevka-etoile-extralightoblique.ttf differ diff --git a/static/ttf/iosevka-etoile-heavy.ttf b/static/ttf/iosevka-etoile-heavy.ttf new file mode 100644 index 0000000..3fa516c Binary files /dev/null and b/static/ttf/iosevka-etoile-heavy.ttf differ diff --git a/static/ttf/iosevka-etoile-heavyitalic.ttf b/static/ttf/iosevka-etoile-heavyitalic.ttf new file mode 100644 index 0000000..f49171d Binary files /dev/null and b/static/ttf/iosevka-etoile-heavyitalic.ttf differ diff --git a/static/ttf/iosevka-etoile-heavyoblique.ttf b/static/ttf/iosevka-etoile-heavyoblique.ttf new file mode 100644 index 0000000..2e73bb3 Binary files /dev/null and b/static/ttf/iosevka-etoile-heavyoblique.ttf differ diff --git a/static/ttf/iosevka-etoile-italic.ttf b/static/ttf/iosevka-etoile-italic.ttf new file mode 100644 index 0000000..41c2a24 Binary files /dev/null and b/static/ttf/iosevka-etoile-italic.ttf differ diff --git a/static/ttf/iosevka-etoile-light.ttf b/static/ttf/iosevka-etoile-light.ttf new file mode 100644 index 0000000..1dd1613 Binary files /dev/null and b/static/ttf/iosevka-etoile-light.ttf differ diff --git a/static/ttf/iosevka-etoile-lightitalic.ttf b/static/ttf/iosevka-etoile-lightitalic.ttf new file mode 100644 index 0000000..4125760 Binary files /dev/null and b/static/ttf/iosevka-etoile-lightitalic.ttf differ diff --git a/static/ttf/iosevka-etoile-lightoblique.ttf b/static/ttf/iosevka-etoile-lightoblique.ttf new file mode 100644 index 0000000..3e2631d Binary files /dev/null and b/static/ttf/iosevka-etoile-lightoblique.ttf differ diff --git a/static/ttf/iosevka-etoile-medium.ttf b/static/ttf/iosevka-etoile-medium.ttf new file mode 100644 index 0000000..09d2078 Binary files /dev/null and b/static/ttf/iosevka-etoile-medium.ttf differ diff --git a/static/ttf/iosevka-etoile-mediumitalic.ttf b/static/ttf/iosevka-etoile-mediumitalic.ttf new file mode 100644 index 0000000..14c1032 Binary files /dev/null and b/static/ttf/iosevka-etoile-mediumitalic.ttf differ diff --git a/static/ttf/iosevka-etoile-mediumoblique.ttf b/static/ttf/iosevka-etoile-mediumoblique.ttf new file mode 100644 index 0000000..55972bc Binary files /dev/null and b/static/ttf/iosevka-etoile-mediumoblique.ttf differ diff --git a/static/ttf/iosevka-etoile-oblique.ttf b/static/ttf/iosevka-etoile-oblique.ttf new file mode 100644 index 0000000..366fc23 Binary files /dev/null and b/static/ttf/iosevka-etoile-oblique.ttf differ diff --git a/static/ttf/iosevka-etoile-regular.ttf b/static/ttf/iosevka-etoile-regular.ttf new file mode 100644 index 0000000..f4513e2 Binary files /dev/null and b/static/ttf/iosevka-etoile-regular.ttf differ diff --git a/static/ttf/iosevka-etoile-semibold.ttf b/static/ttf/iosevka-etoile-semibold.ttf new file mode 100644 index 0000000..3d67d35 Binary files /dev/null and b/static/ttf/iosevka-etoile-semibold.ttf differ diff --git a/static/ttf/iosevka-etoile-semibolditalic.ttf b/static/ttf/iosevka-etoile-semibolditalic.ttf new file mode 100644 index 0000000..9ca21c6 Binary files /dev/null and b/static/ttf/iosevka-etoile-semibolditalic.ttf differ diff --git a/static/ttf/iosevka-etoile-semiboldoblique.ttf b/static/ttf/iosevka-etoile-semiboldoblique.ttf new file mode 100644 index 0000000..f0a820e Binary files /dev/null and b/static/ttf/iosevka-etoile-semiboldoblique.ttf differ diff --git a/static/ttf/iosevka-etoile-thin.ttf b/static/ttf/iosevka-etoile-thin.ttf new file mode 100644 index 0000000..469dda8 Binary files /dev/null and b/static/ttf/iosevka-etoile-thin.ttf differ diff --git a/static/ttf/iosevka-etoile-thinitalic.ttf b/static/ttf/iosevka-etoile-thinitalic.ttf new file mode 100644 index 0000000..5dd9c2b Binary files /dev/null and b/static/ttf/iosevka-etoile-thinitalic.ttf differ diff --git a/static/ttf/iosevka-etoile-thinoblique.ttf b/static/ttf/iosevka-etoile-thinoblique.ttf new file mode 100644 index 0000000..6189abc Binary files /dev/null and b/static/ttf/iosevka-etoile-thinoblique.ttf differ diff --git a/static/ttf/iosevka-extended.ttf b/static/ttf/iosevka-extended.ttf new file mode 100644 index 0000000..add5111 Binary files /dev/null and b/static/ttf/iosevka-extended.ttf differ diff --git a/static/ttf/iosevka-extendedbold.ttf b/static/ttf/iosevka-extendedbold.ttf new file mode 100644 index 0000000..e123150 Binary files /dev/null and b/static/ttf/iosevka-extendedbold.ttf differ diff --git a/static/ttf/iosevka-extendedbolditalic.ttf b/static/ttf/iosevka-extendedbolditalic.ttf new file mode 100644 index 0000000..618b30d Binary files /dev/null and b/static/ttf/iosevka-extendedbolditalic.ttf differ diff --git a/static/ttf/iosevka-extendedboldoblique.ttf b/static/ttf/iosevka-extendedboldoblique.ttf new file mode 100644 index 0000000..d5ce9d1 Binary files /dev/null and b/static/ttf/iosevka-extendedboldoblique.ttf differ diff --git a/static/ttf/iosevka-extendedextrabold.ttf b/static/ttf/iosevka-extendedextrabold.ttf new file mode 100644 index 0000000..88bae90 Binary files /dev/null and b/static/ttf/iosevka-extendedextrabold.ttf differ diff --git a/static/ttf/iosevka-extendedextrabolditalic.ttf b/static/ttf/iosevka-extendedextrabolditalic.ttf new file mode 100644 index 0000000..41f14e5 Binary files /dev/null and b/static/ttf/iosevka-extendedextrabolditalic.ttf differ diff --git a/static/ttf/iosevka-extendedextraboldoblique.ttf b/static/ttf/iosevka-extendedextraboldoblique.ttf new file mode 100644 index 0000000..4db2940 Binary files /dev/null and b/static/ttf/iosevka-extendedextraboldoblique.ttf differ diff --git a/static/ttf/iosevka-extendedextralight.ttf b/static/ttf/iosevka-extendedextralight.ttf new file mode 100644 index 0000000..326b120 Binary files /dev/null and b/static/ttf/iosevka-extendedextralight.ttf differ diff --git a/static/ttf/iosevka-extendedextralightitalic.ttf b/static/ttf/iosevka-extendedextralightitalic.ttf new file mode 100644 index 0000000..1f8865e Binary files /dev/null and b/static/ttf/iosevka-extendedextralightitalic.ttf differ diff --git a/static/ttf/iosevka-extendedextralightoblique.ttf b/static/ttf/iosevka-extendedextralightoblique.ttf new file mode 100644 index 0000000..eab7acf Binary files /dev/null and b/static/ttf/iosevka-extendedextralightoblique.ttf differ diff --git a/static/ttf/iosevka-extendedheavy.ttf b/static/ttf/iosevka-extendedheavy.ttf new file mode 100644 index 0000000..32764e3 Binary files /dev/null and b/static/ttf/iosevka-extendedheavy.ttf differ diff --git a/static/ttf/iosevka-extendedheavyitalic.ttf b/static/ttf/iosevka-extendedheavyitalic.ttf new file mode 100644 index 0000000..0e8c451 Binary files /dev/null and b/static/ttf/iosevka-extendedheavyitalic.ttf differ diff --git a/static/ttf/iosevka-extendedheavyoblique.ttf b/static/ttf/iosevka-extendedheavyoblique.ttf new file mode 100644 index 0000000..4c2e590 Binary files /dev/null and b/static/ttf/iosevka-extendedheavyoblique.ttf differ diff --git a/static/ttf/iosevka-extendeditalic.ttf b/static/ttf/iosevka-extendeditalic.ttf new file mode 100644 index 0000000..e1db9a4 Binary files /dev/null and b/static/ttf/iosevka-extendeditalic.ttf differ diff --git a/static/ttf/iosevka-extendedlight.ttf b/static/ttf/iosevka-extendedlight.ttf new file mode 100644 index 0000000..c5662d3 Binary files /dev/null and b/static/ttf/iosevka-extendedlight.ttf differ diff --git a/static/ttf/iosevka-extendedlightitalic.ttf b/static/ttf/iosevka-extendedlightitalic.ttf new file mode 100644 index 0000000..649ecef Binary files /dev/null and b/static/ttf/iosevka-extendedlightitalic.ttf differ diff --git a/static/ttf/iosevka-extendedlightoblique.ttf b/static/ttf/iosevka-extendedlightoblique.ttf new file mode 100644 index 0000000..6ca7970 Binary files /dev/null and b/static/ttf/iosevka-extendedlightoblique.ttf differ diff --git a/static/ttf/iosevka-extendedmedium.ttf b/static/ttf/iosevka-extendedmedium.ttf new file mode 100644 index 0000000..1438343 Binary files /dev/null and b/static/ttf/iosevka-extendedmedium.ttf differ diff --git a/static/ttf/iosevka-extendedmediumitalic.ttf b/static/ttf/iosevka-extendedmediumitalic.ttf new file mode 100644 index 0000000..35534a3 Binary files /dev/null and b/static/ttf/iosevka-extendedmediumitalic.ttf differ diff --git a/static/ttf/iosevka-extendedmediumoblique.ttf b/static/ttf/iosevka-extendedmediumoblique.ttf new file mode 100644 index 0000000..bd68b37 Binary files /dev/null and b/static/ttf/iosevka-extendedmediumoblique.ttf differ diff --git a/static/ttf/iosevka-extendedoblique.ttf b/static/ttf/iosevka-extendedoblique.ttf new file mode 100644 index 0000000..19dc23d Binary files /dev/null and b/static/ttf/iosevka-extendedoblique.ttf differ diff --git a/static/ttf/iosevka-extendedsemibold.ttf b/static/ttf/iosevka-extendedsemibold.ttf new file mode 100644 index 0000000..78e552f Binary files /dev/null and b/static/ttf/iosevka-extendedsemibold.ttf differ diff --git a/static/ttf/iosevka-extendedsemibolditalic.ttf b/static/ttf/iosevka-extendedsemibolditalic.ttf new file mode 100644 index 0000000..3d609ea Binary files /dev/null and b/static/ttf/iosevka-extendedsemibolditalic.ttf differ diff --git a/static/ttf/iosevka-extendedsemiboldoblique.ttf b/static/ttf/iosevka-extendedsemiboldoblique.ttf new file mode 100644 index 0000000..0e59936 Binary files /dev/null and b/static/ttf/iosevka-extendedsemiboldoblique.ttf differ diff --git a/static/ttf/iosevka-extendedthin.ttf b/static/ttf/iosevka-extendedthin.ttf new file mode 100644 index 0000000..db19c2f Binary files /dev/null and b/static/ttf/iosevka-extendedthin.ttf differ diff --git a/static/ttf/iosevka-extendedthinitalic.ttf b/static/ttf/iosevka-extendedthinitalic.ttf new file mode 100644 index 0000000..384153f Binary files /dev/null and b/static/ttf/iosevka-extendedthinitalic.ttf differ diff --git a/static/ttf/iosevka-extendedthinoblique.ttf b/static/ttf/iosevka-extendedthinoblique.ttf new file mode 100644 index 0000000..c3719fe Binary files /dev/null and b/static/ttf/iosevka-extendedthinoblique.ttf differ diff --git a/static/ttf/iosevka-extrabold.ttf b/static/ttf/iosevka-extrabold.ttf new file mode 100644 index 0000000..fddf98a Binary files /dev/null and b/static/ttf/iosevka-extrabold.ttf differ diff --git a/static/ttf/iosevka-extrabolditalic.ttf b/static/ttf/iosevka-extrabolditalic.ttf new file mode 100644 index 0000000..6cf4c33 Binary files /dev/null and b/static/ttf/iosevka-extrabolditalic.ttf differ diff --git a/static/ttf/iosevka-extraboldoblique.ttf b/static/ttf/iosevka-extraboldoblique.ttf new file mode 100644 index 0000000..ad33945 Binary files /dev/null and b/static/ttf/iosevka-extraboldoblique.ttf differ diff --git a/static/ttf/iosevka-extralight.ttf b/static/ttf/iosevka-extralight.ttf new file mode 100644 index 0000000..f326a50 Binary files /dev/null and b/static/ttf/iosevka-extralight.ttf differ diff --git a/static/ttf/iosevka-extralightitalic.ttf b/static/ttf/iosevka-extralightitalic.ttf new file mode 100644 index 0000000..f2ac669 Binary files /dev/null and b/static/ttf/iosevka-extralightitalic.ttf differ diff --git a/static/ttf/iosevka-extralightoblique.ttf b/static/ttf/iosevka-extralightoblique.ttf new file mode 100644 index 0000000..af2a4b9 Binary files /dev/null and b/static/ttf/iosevka-extralightoblique.ttf differ diff --git a/static/ttf/iosevka-heavy.ttf b/static/ttf/iosevka-heavy.ttf new file mode 100644 index 0000000..eb98a8f Binary files /dev/null and b/static/ttf/iosevka-heavy.ttf differ diff --git a/static/ttf/iosevka-heavyitalic.ttf b/static/ttf/iosevka-heavyitalic.ttf new file mode 100644 index 0000000..4665638 Binary files /dev/null and b/static/ttf/iosevka-heavyitalic.ttf differ diff --git a/static/ttf/iosevka-heavyoblique.ttf b/static/ttf/iosevka-heavyoblique.ttf new file mode 100644 index 0000000..8410a53 Binary files /dev/null and b/static/ttf/iosevka-heavyoblique.ttf differ diff --git a/static/ttf/iosevka-italic.ttf b/static/ttf/iosevka-italic.ttf new file mode 100644 index 0000000..b9be1e4 Binary files /dev/null and b/static/ttf/iosevka-italic.ttf differ diff --git a/static/ttf/iosevka-light.ttf b/static/ttf/iosevka-light.ttf new file mode 100644 index 0000000..c667989 Binary files /dev/null and b/static/ttf/iosevka-light.ttf differ diff --git a/static/ttf/iosevka-lightitalic.ttf b/static/ttf/iosevka-lightitalic.ttf new file mode 100644 index 0000000..de5dde5 Binary files /dev/null and b/static/ttf/iosevka-lightitalic.ttf differ diff --git a/static/ttf/iosevka-lightoblique.ttf b/static/ttf/iosevka-lightoblique.ttf new file mode 100644 index 0000000..d2f227d Binary files /dev/null and b/static/ttf/iosevka-lightoblique.ttf differ diff --git a/static/ttf/iosevka-medium.ttf b/static/ttf/iosevka-medium.ttf new file mode 100644 index 0000000..c657e24 Binary files /dev/null and b/static/ttf/iosevka-medium.ttf differ diff --git a/static/ttf/iosevka-mediumitalic.ttf b/static/ttf/iosevka-mediumitalic.ttf new file mode 100644 index 0000000..2977201 Binary files /dev/null and b/static/ttf/iosevka-mediumitalic.ttf differ diff --git a/static/ttf/iosevka-mediumoblique.ttf b/static/ttf/iosevka-mediumoblique.ttf new file mode 100644 index 0000000..b3ca1b4 Binary files /dev/null and b/static/ttf/iosevka-mediumoblique.ttf differ diff --git a/static/ttf/iosevka-oblique.ttf b/static/ttf/iosevka-oblique.ttf new file mode 100644 index 0000000..cfd0ed8 Binary files /dev/null and b/static/ttf/iosevka-oblique.ttf differ diff --git a/static/ttf/iosevka-regular.ttf b/static/ttf/iosevka-regular.ttf new file mode 100644 index 0000000..864de51 Binary files /dev/null and b/static/ttf/iosevka-regular.ttf differ diff --git a/static/ttf/iosevka-semibold.ttf b/static/ttf/iosevka-semibold.ttf new file mode 100644 index 0000000..a050cfd Binary files /dev/null and b/static/ttf/iosevka-semibold.ttf differ diff --git a/static/ttf/iosevka-semibolditalic.ttf b/static/ttf/iosevka-semibolditalic.ttf new file mode 100644 index 0000000..fbbe3ca Binary files /dev/null and b/static/ttf/iosevka-semibolditalic.ttf differ diff --git a/static/ttf/iosevka-semiboldoblique.ttf b/static/ttf/iosevka-semiboldoblique.ttf new file mode 100644 index 0000000..2b51bc8 Binary files /dev/null and b/static/ttf/iosevka-semiboldoblique.ttf differ diff --git a/static/ttf/iosevka-thin.ttf b/static/ttf/iosevka-thin.ttf new file mode 100644 index 0000000..a305d91 Binary files /dev/null and b/static/ttf/iosevka-thin.ttf differ diff --git a/static/ttf/iosevka-thinitalic.ttf b/static/ttf/iosevka-thinitalic.ttf new file mode 100644 index 0000000..dff583f Binary files /dev/null and b/static/ttf/iosevka-thinitalic.ttf differ diff --git a/static/ttf/iosevka-thinoblique.ttf b/static/ttf/iosevka-thinoblique.ttf new file mode 100644 index 0000000..a58a746 Binary files /dev/null and b/static/ttf/iosevka-thinoblique.ttf differ diff --git a/static/woff2/iosevka-bold.woff2 b/static/woff2/iosevka-bold.woff2 new file mode 100644 index 0000000..3bd7118 Binary files /dev/null and b/static/woff2/iosevka-bold.woff2 differ diff --git a/static/woff2/iosevka-bolditalic.woff2 b/static/woff2/iosevka-bolditalic.woff2 new file mode 100644 index 0000000..9ecfa07 Binary files /dev/null and b/static/woff2/iosevka-bolditalic.woff2 differ diff --git a/static/woff2/iosevka-boldoblique.woff2 b/static/woff2/iosevka-boldoblique.woff2 new file mode 100644 index 0000000..40d8fcd Binary files /dev/null and b/static/woff2/iosevka-boldoblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-bold.woff2 b/static/woff2/iosevka-etoile-bold.woff2 new file mode 100644 index 0000000..49d4619 Binary files /dev/null and b/static/woff2/iosevka-etoile-bold.woff2 differ diff --git a/static/woff2/iosevka-etoile-bolditalic.woff2 b/static/woff2/iosevka-etoile-bolditalic.woff2 new file mode 100644 index 0000000..f647fa2 Binary files /dev/null and b/static/woff2/iosevka-etoile-bolditalic.woff2 differ diff --git a/static/woff2/iosevka-etoile-boldoblique.woff2 b/static/woff2/iosevka-etoile-boldoblique.woff2 new file mode 100644 index 0000000..d4cbcc5 Binary files /dev/null and b/static/woff2/iosevka-etoile-boldoblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-extrabold.woff2 b/static/woff2/iosevka-etoile-extrabold.woff2 new file mode 100644 index 0000000..3d7de8d Binary files /dev/null and b/static/woff2/iosevka-etoile-extrabold.woff2 differ diff --git a/static/woff2/iosevka-etoile-extrabolditalic.woff2 b/static/woff2/iosevka-etoile-extrabolditalic.woff2 new file mode 100644 index 0000000..dab30d2 Binary files /dev/null and b/static/woff2/iosevka-etoile-extrabolditalic.woff2 differ diff --git a/static/woff2/iosevka-etoile-extraboldoblique.woff2 b/static/woff2/iosevka-etoile-extraboldoblique.woff2 new file mode 100644 index 0000000..958bb57 Binary files /dev/null and b/static/woff2/iosevka-etoile-extraboldoblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-extralight.woff2 b/static/woff2/iosevka-etoile-extralight.woff2 new file mode 100644 index 0000000..16807bf Binary files /dev/null and b/static/woff2/iosevka-etoile-extralight.woff2 differ diff --git a/static/woff2/iosevka-etoile-extralightitalic.woff2 b/static/woff2/iosevka-etoile-extralightitalic.woff2 new file mode 100644 index 0000000..b8476db Binary files /dev/null and b/static/woff2/iosevka-etoile-extralightitalic.woff2 differ diff --git a/static/woff2/iosevka-etoile-extralightoblique.woff2 b/static/woff2/iosevka-etoile-extralightoblique.woff2 new file mode 100644 index 0000000..190a1be Binary files /dev/null and b/static/woff2/iosevka-etoile-extralightoblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-heavy.woff2 b/static/woff2/iosevka-etoile-heavy.woff2 new file mode 100644 index 0000000..b7941e4 Binary files /dev/null and b/static/woff2/iosevka-etoile-heavy.woff2 differ diff --git a/static/woff2/iosevka-etoile-heavyitalic.woff2 b/static/woff2/iosevka-etoile-heavyitalic.woff2 new file mode 100644 index 0000000..1d64cfd Binary files /dev/null and b/static/woff2/iosevka-etoile-heavyitalic.woff2 differ diff --git a/static/woff2/iosevka-etoile-heavyoblique.woff2 b/static/woff2/iosevka-etoile-heavyoblique.woff2 new file mode 100644 index 0000000..189a0a2 Binary files /dev/null and b/static/woff2/iosevka-etoile-heavyoblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-italic.woff2 b/static/woff2/iosevka-etoile-italic.woff2 new file mode 100644 index 0000000..926ee7d Binary files /dev/null and b/static/woff2/iosevka-etoile-italic.woff2 differ diff --git a/static/woff2/iosevka-etoile-light.woff2 b/static/woff2/iosevka-etoile-light.woff2 new file mode 100644 index 0000000..cfb2683 Binary files /dev/null and b/static/woff2/iosevka-etoile-light.woff2 differ diff --git a/static/woff2/iosevka-etoile-lightitalic.woff2 b/static/woff2/iosevka-etoile-lightitalic.woff2 new file mode 100644 index 0000000..acf1c69 Binary files /dev/null and b/static/woff2/iosevka-etoile-lightitalic.woff2 differ diff --git a/static/woff2/iosevka-etoile-lightoblique.woff2 b/static/woff2/iosevka-etoile-lightoblique.woff2 new file mode 100644 index 0000000..3674c7d Binary files /dev/null and b/static/woff2/iosevka-etoile-lightoblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-medium.woff2 b/static/woff2/iosevka-etoile-medium.woff2 new file mode 100644 index 0000000..ee11fca Binary files /dev/null and b/static/woff2/iosevka-etoile-medium.woff2 differ diff --git a/static/woff2/iosevka-etoile-mediumitalic.woff2 b/static/woff2/iosevka-etoile-mediumitalic.woff2 new file mode 100644 index 0000000..1120bad Binary files /dev/null and b/static/woff2/iosevka-etoile-mediumitalic.woff2 differ diff --git a/static/woff2/iosevka-etoile-mediumoblique.woff2 b/static/woff2/iosevka-etoile-mediumoblique.woff2 new file mode 100644 index 0000000..e8ac622 Binary files /dev/null and b/static/woff2/iosevka-etoile-mediumoblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-oblique.woff2 b/static/woff2/iosevka-etoile-oblique.woff2 new file mode 100644 index 0000000..e0bd6c2 Binary files /dev/null and b/static/woff2/iosevka-etoile-oblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-regular.woff2 b/static/woff2/iosevka-etoile-regular.woff2 new file mode 100644 index 0000000..641202b Binary files /dev/null and b/static/woff2/iosevka-etoile-regular.woff2 differ diff --git a/static/woff2/iosevka-etoile-semibold.woff2 b/static/woff2/iosevka-etoile-semibold.woff2 new file mode 100644 index 0000000..c19505c Binary files /dev/null and b/static/woff2/iosevka-etoile-semibold.woff2 differ diff --git a/static/woff2/iosevka-etoile-semibolditalic.woff2 b/static/woff2/iosevka-etoile-semibolditalic.woff2 new file mode 100644 index 0000000..a13be85 Binary files /dev/null and b/static/woff2/iosevka-etoile-semibolditalic.woff2 differ diff --git a/static/woff2/iosevka-etoile-semiboldoblique.woff2 b/static/woff2/iosevka-etoile-semiboldoblique.woff2 new file mode 100644 index 0000000..b516f55 Binary files /dev/null and b/static/woff2/iosevka-etoile-semiboldoblique.woff2 differ diff --git a/static/woff2/iosevka-etoile-thin.woff2 b/static/woff2/iosevka-etoile-thin.woff2 new file mode 100644 index 0000000..221394b Binary files /dev/null and b/static/woff2/iosevka-etoile-thin.woff2 differ diff --git a/static/woff2/iosevka-etoile-thinitalic.woff2 b/static/woff2/iosevka-etoile-thinitalic.woff2 new file mode 100644 index 0000000..55ef2ae Binary files /dev/null and b/static/woff2/iosevka-etoile-thinitalic.woff2 differ diff --git a/static/woff2/iosevka-etoile-thinoblique.woff2 b/static/woff2/iosevka-etoile-thinoblique.woff2 new file mode 100644 index 0000000..d878857 Binary files /dev/null and b/static/woff2/iosevka-etoile-thinoblique.woff2 differ diff --git a/static/woff2/iosevka-extended.woff2 b/static/woff2/iosevka-extended.woff2 new file mode 100644 index 0000000..7ddaaa5 Binary files /dev/null and b/static/woff2/iosevka-extended.woff2 differ diff --git a/static/woff2/iosevka-extendedbold.woff2 b/static/woff2/iosevka-extendedbold.woff2 new file mode 100644 index 0000000..c56baca Binary files /dev/null and b/static/woff2/iosevka-extendedbold.woff2 differ diff --git a/static/woff2/iosevka-extendedbolditalic.woff2 b/static/woff2/iosevka-extendedbolditalic.woff2 new file mode 100644 index 0000000..e38509a Binary files /dev/null and b/static/woff2/iosevka-extendedbolditalic.woff2 differ diff --git a/static/woff2/iosevka-extendedboldoblique.woff2 b/static/woff2/iosevka-extendedboldoblique.woff2 new file mode 100644 index 0000000..594a224 Binary files /dev/null and b/static/woff2/iosevka-extendedboldoblique.woff2 differ diff --git a/static/woff2/iosevka-extendedextrabold.woff2 b/static/woff2/iosevka-extendedextrabold.woff2 new file mode 100644 index 0000000..b106e70 Binary files /dev/null and b/static/woff2/iosevka-extendedextrabold.woff2 differ diff --git a/static/woff2/iosevka-extendedextrabolditalic.woff2 b/static/woff2/iosevka-extendedextrabolditalic.woff2 new file mode 100644 index 0000000..6dba70d Binary files /dev/null and b/static/woff2/iosevka-extendedextrabolditalic.woff2 differ diff --git a/static/woff2/iosevka-extendedextraboldoblique.woff2 b/static/woff2/iosevka-extendedextraboldoblique.woff2 new file mode 100644 index 0000000..0fc4e7f Binary files /dev/null and b/static/woff2/iosevka-extendedextraboldoblique.woff2 differ diff --git a/static/woff2/iosevka-extendedextralight.woff2 b/static/woff2/iosevka-extendedextralight.woff2 new file mode 100644 index 0000000..c9c1c0d Binary files /dev/null and b/static/woff2/iosevka-extendedextralight.woff2 differ diff --git a/static/woff2/iosevka-extendedextralightitalic.woff2 b/static/woff2/iosevka-extendedextralightitalic.woff2 new file mode 100644 index 0000000..cceabe9 Binary files /dev/null and b/static/woff2/iosevka-extendedextralightitalic.woff2 differ diff --git a/static/woff2/iosevka-extendedextralightoblique.woff2 b/static/woff2/iosevka-extendedextralightoblique.woff2 new file mode 100644 index 0000000..e78a7b8 Binary files /dev/null and b/static/woff2/iosevka-extendedextralightoblique.woff2 differ diff --git a/static/woff2/iosevka-extendedheavy.woff2 b/static/woff2/iosevka-extendedheavy.woff2 new file mode 100644 index 0000000..9e4b6e5 Binary files /dev/null and b/static/woff2/iosevka-extendedheavy.woff2 differ diff --git a/static/woff2/iosevka-extendedheavyitalic.woff2 b/static/woff2/iosevka-extendedheavyitalic.woff2 new file mode 100644 index 0000000..917bec3 Binary files /dev/null and b/static/woff2/iosevka-extendedheavyitalic.woff2 differ diff --git a/static/woff2/iosevka-extendedheavyoblique.woff2 b/static/woff2/iosevka-extendedheavyoblique.woff2 new file mode 100644 index 0000000..3b0b956 Binary files /dev/null and b/static/woff2/iosevka-extendedheavyoblique.woff2 differ diff --git a/static/woff2/iosevka-extendeditalic.woff2 b/static/woff2/iosevka-extendeditalic.woff2 new file mode 100644 index 0000000..c38cf2a Binary files /dev/null and b/static/woff2/iosevka-extendeditalic.woff2 differ diff --git a/static/woff2/iosevka-extendedlight.woff2 b/static/woff2/iosevka-extendedlight.woff2 new file mode 100644 index 0000000..a295150 Binary files /dev/null and b/static/woff2/iosevka-extendedlight.woff2 differ diff --git a/static/woff2/iosevka-extendedlightitalic.woff2 b/static/woff2/iosevka-extendedlightitalic.woff2 new file mode 100644 index 0000000..ce14be0 Binary files /dev/null and b/static/woff2/iosevka-extendedlightitalic.woff2 differ diff --git a/static/woff2/iosevka-extendedlightoblique.woff2 b/static/woff2/iosevka-extendedlightoblique.woff2 new file mode 100644 index 0000000..d70a2ee Binary files /dev/null and b/static/woff2/iosevka-extendedlightoblique.woff2 differ diff --git a/static/woff2/iosevka-extendedmedium.woff2 b/static/woff2/iosevka-extendedmedium.woff2 new file mode 100644 index 0000000..c0a35a3 Binary files /dev/null and b/static/woff2/iosevka-extendedmedium.woff2 differ diff --git a/static/woff2/iosevka-extendedmediumitalic.woff2 b/static/woff2/iosevka-extendedmediumitalic.woff2 new file mode 100644 index 0000000..0caf99c Binary files /dev/null and b/static/woff2/iosevka-extendedmediumitalic.woff2 differ diff --git a/static/woff2/iosevka-extendedmediumoblique.woff2 b/static/woff2/iosevka-extendedmediumoblique.woff2 new file mode 100644 index 0000000..1cd5d0c Binary files /dev/null and b/static/woff2/iosevka-extendedmediumoblique.woff2 differ diff --git a/static/woff2/iosevka-extendedoblique.woff2 b/static/woff2/iosevka-extendedoblique.woff2 new file mode 100644 index 0000000..a3d7d5d Binary files /dev/null and b/static/woff2/iosevka-extendedoblique.woff2 differ diff --git a/static/woff2/iosevka-extendedsemibold.woff2 b/static/woff2/iosevka-extendedsemibold.woff2 new file mode 100644 index 0000000..061b3ae Binary files /dev/null and b/static/woff2/iosevka-extendedsemibold.woff2 differ diff --git a/static/woff2/iosevka-extendedsemibolditalic.woff2 b/static/woff2/iosevka-extendedsemibolditalic.woff2 new file mode 100644 index 0000000..7491723 Binary files /dev/null and b/static/woff2/iosevka-extendedsemibolditalic.woff2 differ diff --git a/static/woff2/iosevka-extendedsemiboldoblique.woff2 b/static/woff2/iosevka-extendedsemiboldoblique.woff2 new file mode 100644 index 0000000..24a6a2f Binary files /dev/null and b/static/woff2/iosevka-extendedsemiboldoblique.woff2 differ diff --git a/static/woff2/iosevka-extendedthin.woff2 b/static/woff2/iosevka-extendedthin.woff2 new file mode 100644 index 0000000..70c4175 Binary files /dev/null and b/static/woff2/iosevka-extendedthin.woff2 differ diff --git a/static/woff2/iosevka-extendedthinitalic.woff2 b/static/woff2/iosevka-extendedthinitalic.woff2 new file mode 100644 index 0000000..3b0f718 Binary files /dev/null and b/static/woff2/iosevka-extendedthinitalic.woff2 differ diff --git a/static/woff2/iosevka-extendedthinoblique.woff2 b/static/woff2/iosevka-extendedthinoblique.woff2 new file mode 100644 index 0000000..2428752 Binary files /dev/null and b/static/woff2/iosevka-extendedthinoblique.woff2 differ diff --git a/static/woff2/iosevka-extrabold.woff2 b/static/woff2/iosevka-extrabold.woff2 new file mode 100644 index 0000000..25785ae Binary files /dev/null and b/static/woff2/iosevka-extrabold.woff2 differ diff --git a/static/woff2/iosevka-extrabolditalic.woff2 b/static/woff2/iosevka-extrabolditalic.woff2 new file mode 100644 index 0000000..61592af Binary files /dev/null and b/static/woff2/iosevka-extrabolditalic.woff2 differ diff --git a/static/woff2/iosevka-extraboldoblique.woff2 b/static/woff2/iosevka-extraboldoblique.woff2 new file mode 100644 index 0000000..a605f23 Binary files /dev/null and b/static/woff2/iosevka-extraboldoblique.woff2 differ diff --git a/static/woff2/iosevka-extralight.woff2 b/static/woff2/iosevka-extralight.woff2 new file mode 100644 index 0000000..60dabfb Binary files /dev/null and b/static/woff2/iosevka-extralight.woff2 differ diff --git a/static/woff2/iosevka-extralightitalic.woff2 b/static/woff2/iosevka-extralightitalic.woff2 new file mode 100644 index 0000000..c363a52 Binary files /dev/null and b/static/woff2/iosevka-extralightitalic.woff2 differ diff --git a/static/woff2/iosevka-extralightoblique.woff2 b/static/woff2/iosevka-extralightoblique.woff2 new file mode 100644 index 0000000..778b045 Binary files /dev/null and b/static/woff2/iosevka-extralightoblique.woff2 differ diff --git a/static/woff2/iosevka-heavy.woff2 b/static/woff2/iosevka-heavy.woff2 new file mode 100644 index 0000000..0aed584 Binary files /dev/null and b/static/woff2/iosevka-heavy.woff2 differ diff --git a/static/woff2/iosevka-heavyitalic.woff2 b/static/woff2/iosevka-heavyitalic.woff2 new file mode 100644 index 0000000..08f121a Binary files /dev/null and b/static/woff2/iosevka-heavyitalic.woff2 differ diff --git a/static/woff2/iosevka-heavyoblique.woff2 b/static/woff2/iosevka-heavyoblique.woff2 new file mode 100644 index 0000000..847988b Binary files /dev/null and b/static/woff2/iosevka-heavyoblique.woff2 differ diff --git a/static/woff2/iosevka-italic.woff2 b/static/woff2/iosevka-italic.woff2 new file mode 100644 index 0000000..b1b6530 Binary files /dev/null and b/static/woff2/iosevka-italic.woff2 differ diff --git a/static/woff2/iosevka-light.woff2 b/static/woff2/iosevka-light.woff2 new file mode 100644 index 0000000..9a10f65 Binary files /dev/null and b/static/woff2/iosevka-light.woff2 differ diff --git a/static/woff2/iosevka-lightitalic.woff2 b/static/woff2/iosevka-lightitalic.woff2 new file mode 100644 index 0000000..df09201 Binary files /dev/null and b/static/woff2/iosevka-lightitalic.woff2 differ diff --git a/static/woff2/iosevka-lightoblique.woff2 b/static/woff2/iosevka-lightoblique.woff2 new file mode 100644 index 0000000..9598bf4 Binary files /dev/null and b/static/woff2/iosevka-lightoblique.woff2 differ diff --git a/static/woff2/iosevka-medium.woff2 b/static/woff2/iosevka-medium.woff2 new file mode 100644 index 0000000..700c8ed Binary files /dev/null and b/static/woff2/iosevka-medium.woff2 differ diff --git a/static/woff2/iosevka-mediumitalic.woff2 b/static/woff2/iosevka-mediumitalic.woff2 new file mode 100644 index 0000000..b697f53 Binary files /dev/null and b/static/woff2/iosevka-mediumitalic.woff2 differ diff --git a/static/woff2/iosevka-mediumoblique.woff2 b/static/woff2/iosevka-mediumoblique.woff2 new file mode 100644 index 0000000..004cbdb Binary files /dev/null and b/static/woff2/iosevka-mediumoblique.woff2 differ diff --git a/static/woff2/iosevka-oblique.woff2 b/static/woff2/iosevka-oblique.woff2 new file mode 100644 index 0000000..a40f48a Binary files /dev/null and b/static/woff2/iosevka-oblique.woff2 differ diff --git a/static/woff2/iosevka-regular.woff2 b/static/woff2/iosevka-regular.woff2 new file mode 100644 index 0000000..1a71fff Binary files /dev/null and b/static/woff2/iosevka-regular.woff2 differ diff --git a/static/woff2/iosevka-semibold.woff2 b/static/woff2/iosevka-semibold.woff2 new file mode 100644 index 0000000..1471a35 Binary files /dev/null and b/static/woff2/iosevka-semibold.woff2 differ diff --git a/static/woff2/iosevka-semibolditalic.woff2 b/static/woff2/iosevka-semibolditalic.woff2 new file mode 100644 index 0000000..94f68af Binary files /dev/null and b/static/woff2/iosevka-semibolditalic.woff2 differ diff --git a/static/woff2/iosevka-semiboldoblique.woff2 b/static/woff2/iosevka-semiboldoblique.woff2 new file mode 100644 index 0000000..05cab88 Binary files /dev/null and b/static/woff2/iosevka-semiboldoblique.woff2 differ diff --git a/static/woff2/iosevka-thin.woff2 b/static/woff2/iosevka-thin.woff2 new file mode 100644 index 0000000..676691b Binary files /dev/null and b/static/woff2/iosevka-thin.woff2 differ diff --git a/static/woff2/iosevka-thinitalic.woff2 b/static/woff2/iosevka-thinitalic.woff2 new file mode 100644 index 0000000..5622bc0 Binary files /dev/null and b/static/woff2/iosevka-thinitalic.woff2 differ diff --git a/static/woff2/iosevka-thinoblique.woff2 b/static/woff2/iosevka-thinoblique.woff2 new file mode 100644 index 0000000..e8d7e95 Binary files /dev/null and b/static/woff2/iosevka-thinoblique.woff2 differ diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..d88a6e4 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% block title %}404 - that's an error{% endblock %} + +{% block content %} +

404!

+

uh oh, that page was not found. here's a kitten instead.

+

todo: pic of a kitten

+

now, head back to the main page

+{% endblock %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..d1916c5 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,69 @@ + + + + + + {% block title %}{{ config.title }}{% endblock %} + + {%- block page_meta %} + {% if config.description %} + + {% endif %} + {% if config.extra.author%} + + {% endif %} + {% endblock -%} + + + {%- block css %} + + {% endblock css -%} + + + + + + +
+ {%- block content %}

override the content block in a template

{% endblock -%} +
+ + + + {% block js %} + + {% endblock %} + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..f976ef6 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} + +{% block content %} +{% for page in section.pages | reverse %} +

{{ page.title }}

+{% if page.date %} +{{ page.date | date(format="%Y-%m-%d") }} +{% endif %} +{% if page.summary %} +

{{ page.summary | safe }}

+{% endif %} +{% if not loop.last %}
{% endif %} +{% endfor %} +{% endblock %} + +{% block footer %} + + © {{ now() | date(format='%Y') }} + {% if section.extra.author %} + {{ section.extra.author }} + {% elif config.extra.author %} + {{ config.extra.author }} + {% endif %} + +{% endblock %} + +{% block aside %} +{% for k, thing in section %} +{{ k }}: {{ thing }}
+{% endfor %} +{% endblock %} \ No newline at end of file diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..4e8d97e --- /dev/null +++ b/templates/page.html @@ -0,0 +1,55 @@ +{% extends "base.html" %} + +{% block title %} + {{ page.title }} - {{ config.title }} +{% endblock %} + +{% block page_meta %} + {% if page.description %} + + {% endif %} + {% if page.extra.author or config.extra.author %} + + {% endif %} +{% endblock %} + +{% block nav %} + ../{{ page.slug }} + +{% endblock %} + +{% block content %} +

{{ page.title }}

+ {{ page.content | safe }} +{% endblock %} + +{% block aside %} + {% if page.date -%} + Published: {% if page.updated %}, Updated: {% endif %} + {%- endif %} + {% if page.extra.author %} + By: {{ page.extra.author }} + {% endif %} + Read time: minutes + {% if page.extra.external_reading %} + + External reading: + + + {% endif %} +{% endblock %} + +{% block footer %} + + © {{ now() | date(format='%Y') }} + {% if page.extra.author %} + {{ page.extra.author }} + {% elif config.extra.author %} + {{ config.extra.author }} + {% endif %} + +{% endblock %} \ No newline at end of file diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..f976ef6 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} + +{% block content %} +{% for page in section.pages | reverse %} +

{{ page.title }}

+{% if page.date %} +{{ page.date | date(format="%Y-%m-%d") }} +{% endif %} +{% if page.summary %} +

{{ page.summary | safe }}

+{% endif %} +{% if not loop.last %}
{% endif %} +{% endfor %} +{% endblock %} + +{% block footer %} + + © {{ now() | date(format='%Y') }} + {% if section.extra.author %} + {{ section.extra.author }} + {% elif config.extra.author %} + {{ config.extra.author }} + {% endif %} + +{% endblock %} + +{% block aside %} +{% for k, thing in section %} +{{ k }}: {{ thing }}
+{% endfor %} +{% endblock %} \ No newline at end of file diff --git a/templates/shortcodes/img.html b/templates/shortcodes/img.html new file mode 100644 index 0000000..abbe84f --- /dev/null +++ b/templates/shortcodes/img.html @@ -0,0 +1,24 @@ +{# {{ img(url="", alt="", caption="", resize=false, allow_tall=false) }} #} + +{% set article_width = 960 %} + +{% if resize %} + {% set effective_image = resize_image(path=url, width=article_width, op="fit_width") %} +{% else %} + {% set effective_image = get_image_metadata(path=url) %} +{% endif %} + +{% set crop_height = config.extra.image_vertical_crop_height | default(value=768) %} + +{% set cropped = effective_image.height > crop_height and not allow_tall %} + +
+ {{ alt }} + {% if caption or resize or cropped %} +
+ {% if caption %}
{{ caption | safe }}
{% endif %} + {% if resize or cropped %}↗️ full size{% endif %} +
+ {% endif %} +
\ No newline at end of file diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..b902a2c --- /dev/null +++ b/theme.toml @@ -0,0 +1,21 @@ +name = "xscratch" +description = "blog theme that tries to get out of the way as much as possible" +license = "CNPLv7+" +homepage = "https://git.xenua.me/xenua/xscratch" +# The minimum version of Zola required +min_version = "0.4.0" +# An optional live demo URL +demo = "" + +# Any variable there can be overridden in the end user `config.toml` +# You don't need to prefix variables by the theme name but as this will +# be merged with user data, some kind of prefix or nesting is preferable +# Use snake_casing to be consistent with the rest of Zola +[extra] + +default_dark = false + +# The theme author info: you! +[author] +name = "xenua" +homepage = "https://xenua.me"