Browse Source

slight modifications to some theming stuff

main
Annwan 10 months ago
parent
commit
7f5c3f805b
  1. 2
      content/conlangs/overview-of-mosici.md
  2. 3
      layouts/shortcodes/ipa.html
  3. 4
      layouts/shortcodes/script.html
  4. 13
      themes/risotto/static/css/custom.css

2
content/conlangs/overview-of-mosici.md

@ -4,7 +4,7 @@ date = 2024-02-26T02:16:48+01:00
keywords = ["conlangs","mosici","mosécéc"] 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. 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.

3
layouts/shortcodes/ipa.html

@ -0,0 +1,3 @@
<span class="ipa">
{{ .Inner }}
</span>

4
layouts/shortcodes/script.html

@ -1,3 +1 @@
<span class="scr-{{ index .Params 0 }}" >
{{ .Inner }}
</span>
<span class="script-{{ index .Params 0 }}" >{{ .Inner }}</span>

13
themes/risotto/static/css/custom.css

@ -1,5 +1,7 @@
/* Override this file to customise the theme's CSS for your site */ /* 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-face {
font-family: 'Nahan'; font-family: 'Nahan';
font-display: swap; font-display: swap;
@ -12,11 +14,12 @@
url('/fonts/nahan.woff2') format('woff2'); 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%;
} }
Loading…
Cancel
Save