summaryrefslogtreecommitdiff
path: root/src/main/resources/META-INF
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-09-11 09:47:43 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-09-11 09:47:43 +0200
commit653eaa798fff0061816df7fd5992b945528911e9 (patch)
tree1e905e9b2ccb2df0d0b283bffb564d7bb4a7f296 /src/main/resources/META-INF
parentcb6638a6ac312de603948abc081016179bf788b7 (diff)
KB56 Add Rochester font, use for the login name.
Change-Id: Iada14b30e17e1c006939009c423593bde6c3799e
Diffstat (limited to 'src/main/resources/META-INF')
-rw-r--r--src/main/resources/META-INF/resources/cms2/base.css4
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/rochester.css6
-rw-r--r--src/main/resources/META-INF/resources/cms2/fonts/rochester/Rochester-Regular.ttfbin0 -> 35972 bytes
3 files changed, 9 insertions, 1 deletions
diff --git a/src/main/resources/META-INF/resources/cms2/base.css b/src/main/resources/META-INF/resources/cms2/base.css
index 06873d5..d532e94 100644
--- a/src/main/resources/META-INF/resources/cms2/base.css
+++ b/src/main/resources/META-INF/resources/cms2/base.css
@@ -13,6 +13,7 @@
@import "../web_modules/sanitize.css/typography.css";
/* */
+@import "./fonts/rochester.css";
@import "./fonts/source.css";
@viewport {
@@ -146,7 +147,8 @@ body > nav li[data-site-section="About"], body > nav li[data-site-section="Login
.login-name {
font-style: normal;
- font-family: cursive;
+ font-size: larger;
+ font-family: Rochester, cursive;
}
body > main {
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/rochester.css b/src/main/resources/META-INF/resources/cms2/fonts/rochester.css
new file mode 100644
index 0000000..272e915
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/rochester.css
@@ -0,0 +1,6 @@
+@font-face {
+ font-family: 'Rochester';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Rochester'), local('Rochester-Regular'), url(rochester/Rochester-Regular.ttf) format('truetype'), url(https://matthias.benkard.de/cms2/fonts/rochester/Rochester-Regular.ttf) format('truetype');
+}
diff --git a/src/main/resources/META-INF/resources/cms2/fonts/rochester/Rochester-Regular.ttf b/src/main/resources/META-INF/resources/cms2/fonts/rochester/Rochester-Regular.ttf
new file mode 100644
index 0000000..8816dbd
--- /dev/null
+++ b/src/main/resources/META-INF/resources/cms2/fonts/rochester/Rochester-Regular.ttf
Binary files differ