Skip to content

Commit 05f1673

Browse files
daedric-font: Obsidian snippet + license
- added Obsidian snippets for ayembedt-font - Updated Credits and Readmes with credit and license for the font - added credit and license details to the CSS files - CSS tweaks: default letter spacing 0.2em, and `<p>` text with `.daedric` class is font-size 1.2rem. - updated Custom Formatting Features
1 parent 0917287 commit 05f1673

File tree

4 files changed

+50
-5
lines changed

4 files changed

+50
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on September 13, 2024 */
2+
/* Credit: https://github.com/georgd/OpenMW-Fonts */
3+
/* License: SIL Open Font License */
4+
5+
@font-face {
6+
font-family: 'omw_ayembedtmedium';
7+
src: url("https://morrowind-modding.github.io/assets/fonts/ayembedt/omwayembedt-webfont.woff2") format('woff2'),
8+
url("https://morrowind-modding.github.io/assets/fonts/ayembedt/omwayembedt-webfont.woff") format('woff');
9+
font-weight: normal;
10+
font-style: normal;
11+
12+
}
13+
14+
.daedric {
15+
font-family: "omw_ayembedtmedium";
16+
letter-spacing: 0.2em;
17+
}
18+
19+
p .daedric {
20+
font-size: 1.2rem;
21+
}

mmw-content/contributing/custom-formatting-features.md

+14
Original file line numberDiff line numberDiff line change
@@ -272,3 +272,17 @@ Embeds can be made to float to the left or right of a page by adding `|left` or
272272

273273
As well as being a stylistic choice to move supplementary content outside of the main flow of the text, it is also necessary when embedding a block which contains an element with a float property already stipulated (e.g., an infobox callout).
274274

275+
## Daedric Font
276+
277+
Daedric style font can be added by wrapping text in HTML `<span>` tags, courtesy of George Duffner's [OMW Ayembedt font](https://github.com/georgd/OpenMW-Fonts) (license: [SIL Open Font License](https://openfontlicense.org/).
278+
279+
**Syntax**:
280+
281+
```markdown
282+
<span class="daedric">your daedric text here</span>
283+
```
284+
285+
> [!example]
286+
>
287+
> **Regular Text**: "Morrowind"
288+
> **Daedric Text**: "<span class="daedric">"Morrowind"</span>"

mmw-content/credits-and-readmes/index.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,9 @@ aliases:
2323

2424
- Thanks to [fanteastick](https://github.com/fanteastick) for 'Eilleen's (online!) Everything Notebook', from whom the code for the site footer's 'Scroll to top' and 'Random page' buttons was borrowed. In addition, their guide ['Hiding tags from various components'](https://quartz.eilleeenz.com/meta/Hiding-tags-from-various-components) was used to exclude [[maintenance-templates|Maintenance Templates]] from Quartz' graph view via the use of tags.
2525
- **Github:** [fanteastick/quartz-test](https://github.com/fanteastick/quartz-test)
26-
- [License](https://github.com/fanteastick/quartz-test/blob/v4/LICENSE.txt)
26+
- [License](https://github.com/fanteastick/quartz-test/blob/v4/LICENSE.txt)
27+
28+
## [OMW Ayembedt font](https://github.com/georgd/OpenMW-Fonts)
29+
30+
- OMW Ayembedt font created by [georgd](https://github.com/georgd) (Georg Duffner)
31+
- License: [SIL Open Font License](https://openfontlicense.org/)
+9-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on September 13, 2024 */
2-
3-
2+
/* Credit: https://github.com/georgd/OpenMW-Fonts */
3+
/* License: SIL Open Font License */
44

55
@font-face {
66
font-family: 'omw_ayembedtmedium';
@@ -12,5 +12,10 @@
1212
}
1313

1414
.daedric {
15-
font-family: "omw_ayembedtmedium"
16-
}
15+
font-family: "omw_ayembedtmedium";
16+
letter-spacing: 0.2em;
17+
}
18+
19+
p .daedric {
20+
font-size: 1.2rem;
21+
}

0 commit comments

Comments
 (0)