From d24950fdb7f97514b709c7c0a400c0905bebed31 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 30 Dec 2024 19:07:37 +0100 Subject: Added Black Chancery and Crimson Pro fonts. --- app/assets/fonts/BLKCHCRY.TTF | Bin 0 -> 56732 bytes .../fonts/CrimsonPro-Italic-VariableFont_wght.ttf | Bin 0 -> 253500 bytes app/assets/fonts/CrimsonPro-VariableFont_wght.ttf | Bin 0 -> 246824 bytes app/assets/stylesheets/application.css | 9 ++++++--- config/initializers/assets.rb | 2 ++ 5 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 app/assets/fonts/BLKCHCRY.TTF create mode 100644 app/assets/fonts/CrimsonPro-Italic-VariableFont_wght.ttf create mode 100644 app/assets/fonts/CrimsonPro-VariableFont_wght.ttf diff --git a/app/assets/fonts/BLKCHCRY.TTF b/app/assets/fonts/BLKCHCRY.TTF new file mode 100644 index 0000000..cca5091 Binary files /dev/null and b/app/assets/fonts/BLKCHCRY.TTF differ diff --git a/app/assets/fonts/CrimsonPro-Italic-VariableFont_wght.ttf b/app/assets/fonts/CrimsonPro-Italic-VariableFont_wght.ttf new file mode 100644 index 0000000..5c84bb6 Binary files /dev/null and b/app/assets/fonts/CrimsonPro-Italic-VariableFont_wght.ttf differ diff --git a/app/assets/fonts/CrimsonPro-VariableFont_wght.ttf b/app/assets/fonts/CrimsonPro-VariableFont_wght.ttf new file mode 100644 index 0000000..1b3935f Binary files /dev/null and b/app/assets/fonts/CrimsonPro-VariableFont_wght.ttf differ diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index d7fc4f9..e060365 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -9,9 +9,12 @@ * Consider organizing styles into separate files for maintainability. */ +html { + font-family: 'Crimson Pro', serif; +} + body { margin: 0; - font-family: sans-serif; background: moccasin; } @@ -21,7 +24,7 @@ main { max-width: 50em; } -h1 { +h1, h2, h3, h4, h5, h6 { text-align: center; - /* font-family: 'Old London', sans-serif; */ + font-family: 'Black Chancery', serif; } diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 4873244..145dbce 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -5,3 +5,5 @@ Rails.application.config.assets.version = "1.0" # Add additional assets to the asset load path. # Rails.application.config.assets.paths << Emoji.images_path + +Rails.application.config.assets.paths << Rails.root.join("app", "assets", "fonts") -- cgit v1.2.3