mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 17:25:32 +00:00
Sans + extent
This commit is contained in:
@@ -132,6 +132,21 @@ func Parse(lib *xmlmodels.Library) func(s string) string {
|
|||||||
ps.Tokens.AppendEndElement()
|
ps.Tokens.AppendEndElement()
|
||||||
ps.Tokens.AppendDivElement(id, "note", "note-note")
|
ps.Tokens.AppendDivElement(id, "note", "note-note")
|
||||||
|
|
||||||
|
case "nr":
|
||||||
|
ext := elem.Token.Attributes["extent"]
|
||||||
|
if ext == "" {
|
||||||
|
ext = "1"
|
||||||
|
}
|
||||||
|
extno, err := strconv.Atoi(ext)
|
||||||
|
if err != nil {
|
||||||
|
extno = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
ps.Tokens.AppendDefaultElement(elem.Token)
|
||||||
|
for i := 0; i < extno; i++ {
|
||||||
|
ps.Tokens.AppendText(" ")
|
||||||
|
}
|
||||||
|
|
||||||
case "hand":
|
case "hand":
|
||||||
id := elem.Token.Attributes["ref"]
|
id := elem.Token.Attributes["ref"]
|
||||||
idno, err := strconv.Atoi(id)
|
idno, err := strconv.Atoi(id)
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -2,6 +2,7 @@
|
|||||||
@theme {
|
@theme {
|
||||||
--font-script: Rancho, ui-serif;
|
--font-script: Rancho, ui-serif;
|
||||||
--font-sans: "Linux Biolinum", "Merriweather Sans", ui-sans-serif;
|
--font-sans: "Linux Biolinum", "Merriweather Sans", ui-sans-serif;
|
||||||
|
--font-sansugly: "Arial", "Linux Biolinum", "Merriweather Sans", ui-sans-serif;
|
||||||
--font-serif: "Linux Libertine", ui-serif;
|
--font-serif: "Linux Libertine", ui-serif;
|
||||||
--font-didone: "Playfair", ui-serif;
|
--font-didone: "Playfair", ui-serif;
|
||||||
|
|
||||||
@@ -139,7 +140,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.text .aq {
|
.text .aq {
|
||||||
@apply font-sans;
|
@apply font-sansugly;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text .ink {
|
.text .ink {
|
||||||
|
|||||||
Reference in New Issue
Block a user