From 7f5c3f805be80b1e40e9fe56975a934f8412f306 Mon Sep 17 00:00:00 2001 From: Annwan Date: Wed, 28 Feb 2024 00:27:45 +0100 Subject: [PATCH] slight modifications to some theming stuff --- content/conlangs/overview-of-mosici.md | 2 +- layouts/shortcodes/ipa.html | 3 +++ layouts/shortcodes/script.html | 4 +--- themes/risotto/static/css/custom.css | 13 ++++++++----- 4 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 layouts/shortcodes/ipa.html diff --git a/content/conlangs/overview-of-mosici.md b/content/conlangs/overview-of-mosici.md index 348c6c0..8f60fa0 100644 --- a/content/conlangs/overview-of-mosici.md +++ b/content/conlangs/overview-of-mosici.md @@ -4,7 +4,7 @@ date = 2024-02-26T02:16:48+01:00 keywords = ["conlangs","mosici","mosécéc"] +++ -Mosici (in Mosici: {{% script "nahan" %}}Mosécéc an,ila{{% /script %}} /mosikik ãnela/) is spoken in the world of Nielavi. It is one of the many language that split of the Nahan language after the fall of the Empire. +Mosici (in Mosici: {{% script "nahan" %}}Mosécéc an,ila{{% /script %}} {{% ipa %}}/mosikik ãnela/{{% /ipa %}}) is spoken in the world of Nielavi. It is one of the many language that split of the Nahan language after the fall of the Empire. Nowdays it is mainly spoken in the North-Eastern Archipelago, but also serves as a lingua franca for most of the trade in the Eastern Ocean. diff --git a/layouts/shortcodes/ipa.html b/layouts/shortcodes/ipa.html new file mode 100644 index 0000000..0109a88 --- /dev/null +++ b/layouts/shortcodes/ipa.html @@ -0,0 +1,3 @@ + + {{ .Inner }} + diff --git a/layouts/shortcodes/script.html b/layouts/shortcodes/script.html index 01d3b0a..7ff441b 100644 --- a/layouts/shortcodes/script.html +++ b/layouts/shortcodes/script.html @@ -1,3 +1 @@ - - {{ .Inner }} - + {{ .Inner }} diff --git a/themes/risotto/static/css/custom.css b/themes/risotto/static/css/custom.css index 3c5eb58..7d74049 100644 --- a/themes/risotto/static/css/custom.css +++ b/themes/risotto/static/css/custom.css @@ -1,5 +1,7 @@ /* Override this file to customise the theme's CSS for your site */ +@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&display=swap'); + @font-face { font-family: 'Nahan'; font-display: swap; @@ -12,11 +14,12 @@ url('/fonts/nahan.woff2') format('woff2'); } -:root { - --font-script-nahan: 'Nahan', sans-serif; +.script-nahan { + font-family: 'Nahan', sans-serif; + font-size: 125%; } -.scr-nahan { - font-family: var(--font-script-nahan); - font-size: 125%; +.ipa { + font-family: "Gentium Plus", "Noto Serif", serif; + font-size: 105%; }