This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-website.git
The following commit(s) were added to refs/heads/master by this push:
new 6459e1a7 font fallback to sans-serif if our custom fonts don't load
6459e1a7 is described below
commit 6459e1a77f4aff202b401c026881ca7fe652f65b
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Mar 20 08:51:06 2025 -0700
font fallback to sans-serif if our custom fonts don't load
---
_includes/sass/html.sass | 4 ++--
_includes/sass/royale-theme-footer.sass | 2 +-
_includes/sass/royale-theme-topbar.sass | 4 ++--
_includes/sass/royale-theme.sass | 10 +++++-----
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/_includes/sass/html.sass b/_includes/sass/html.sass
index 77b61b33..5ae965f2 100644
--- a/_includes/sass/html.sass
+++ b/_includes/sass/html.sass
@@ -16,14 +16,14 @@
box-sizing: border-box
body
- font-family: "Hind Siliguri"
+ font-family: "Hind Siliguri", sans-serif
padding: 0
margin: 0
-webkit-font-smoothing: antialiased
-webkit-text-size-adjust: 100%
h1
- font-family: 'Signika'
+ font-family: 'Signika', sans-serif
margin-top: 0px
font-weight: 700
font-style: normal
diff --git a/_includes/sass/royale-theme-footer.sass
b/_includes/sass/royale-theme-footer.sass
index 29484f2e..b233932c 100644
--- a/_includes/sass/royale-theme-footer.sass
+++ b/_includes/sass/royale-theme-footer.sass
@@ -107,7 +107,7 @@
.asf
text-align: center
- font-family: "Hind Siliguri"
+ font-family: "Hind Siliguri", sans-serif
font-size: 12px
@media (max-width: 500px)
diff --git a/_includes/sass/royale-theme-topbar.sass
b/_includes/sass/royale-theme-topbar.sass
index 0e1dab6e..9a9d3b8a 100644
--- a/_includes/sass/royale-theme-topbar.sass
+++ b/_includes/sass/royale-theme-topbar.sass
@@ -47,7 +47,7 @@
white-space: nowrap
outline: 0
text-transform: uppercase
- font-family: 'Signika'
+ font-family: 'Signika', sans-serif
letter-spacing: 1px
margin: 15px 0 0 0
@@ -62,7 +62,7 @@
height: 40px
.topMenu > li
- font-family: 'Signika'
+ font-family: 'Signika', sans-serif
display: inline
margin-right: 20px
font-size: 14px
diff --git a/_includes/sass/royale-theme.sass b/_includes/sass/royale-theme.sass
index 91b2fdf5..9a14fabb 100644
--- a/_includes/sass/royale-theme.sass
+++ b/_includes/sass/royale-theme.sass
@@ -17,7 +17,7 @@
@import "royale-theme-footer"
h2.post-title
- font-family: 'Signika'
+ font-family: 'Signika', sans-serif
margin-bottom: 0.25em
font-size: 36px
color: #2166ac
@@ -26,7 +26,7 @@ h2.post-title
color: #2166ac
h3.post-title
- font-family: 'Signika'
+ font-family: 'Signika', sans-serif
margin-bottom: 0.25em
font-size: 20px
color: #2166ac
@@ -51,7 +51,7 @@ h3.post-title
margin-right: auto
.page-content
- font-family: "Hind Siliguri"
+ font-family: "Hind Siliguri", sans-serif
display: flex
flex-direction: column
min-height: calc(100vh - 60px)
@@ -92,7 +92,7 @@ h3.post-title
color: #000
small
- font-family: 'Signika'
+ font-family: 'Signika', sans-serif
font-size: 15px
.page.post
@@ -122,7 +122,7 @@ h3.post-title
margin-top: 1.5em
.post-meta
- font-family: 'Signika'
+ font-family: 'Signika', sans-serif
color: #4393c3
font-size: 14px
margin-bottom: 1.5em