-
Notifications
You must be signed in to change notification settings - Fork 50
Changing fonts
-
To select a different font for the inscription text, choosing among the default/pre-installed ones (including the pre-installed New Athena Unicode for Ancient Greek):
-
open the file
webapps/ROOT/assets/styles/epidoc/global.cssand specify the desired font as first font in*[lang="la"] { font-family: }(for Latin, at line 14 ca.) or of*[lang="grc"] { font-family: }(for Greek, at line 17 ca.), e.g.:*[lang="la"] { font-family: "Palatino Linotype", "GentiumAlt", "Gentium","Palatino", "Times New Roman", serif; }*[lang="grc"] { font-family: "New Athena Unicode", "Lucida Grande", "Arial Unicode MS", "Verdana", "Tahoma", serif; }
-
-
To install and select a custom font for the inscription text:
-
add inside the folder
webapps/ROOT/assets/styles/fontsthe font files with .woff extension -
add a
@font-face { }for each of them inwebapps/ROOT/assets/styles/base.css, for example like this:@font-face {font-family: "New Athena Unicode";src: url('fonts/nau.woff') format('woff');font-weight: normal;font-style: normal;} -
open the file
webapps/ROOT/assets/styles/epidoc/global.cssand specify the desired font as first font in*[lang="la"] { font-family: }(for Latin, at line 14 ca.) or of*[lang="grc"] { font-family: }(for Greek, at line 17 ca.) [see above]
-
-
To select a different font for the entire edition (ancient text excluded):
- add a
* { font-family: }with the desired font(s) insidewebapps/ROOT/assets/styles/base.css, e.g.* { font-family: Helvetica, serif; }
- add a