Compare commits

...

2 commits

Author SHA1 Message Date
852dc74001 Migrate from Droid fonts to Noto fonts, and host them locally
I was just scrolling our CSS and surprised to find we use Google Fonts
embeds! I don't like depending on external hosts like that.

Google Fonts doesn't offer the Droid fonts for download anymore,
though—looks like the Noto fonts are their spiritual successor. The
Droid Serif and Noto Serif fonts look visually identical to me, but the
Sans ones are a bit different… I kinda like the charm of the Droid Sans
better, but ah well! I'd rather be moving forward with a more modern
font with more reliable glyph support etc for now.
2024-09-09 19:31:41 -07:00
1d36e60df9 Remove now-unnecessary extra header on Modeling Hub page 2024-09-09 19:06:19 -07:00
12 changed files with 20 additions and 11 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -2,9 +2,6 @@
@import "partials/clean/constants" @import "partials/clean/constants"
@import "partials/clean/mixins" @import "partials/clean/mixins"
@import fonts @import fonts
@import url("https://fonts.googleapis.com/css?family=Droid+Sans:400,700")
@import url("https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic")
@import url("https://fonts.googleapis.com/css?family=Calligraffitti")
/* Reset /* Reset

View file

@ -12,3 +12,21 @@
font-family: Delicious font-family: Delicious
font-style: italic font-style: italic
src: local("Delicious"), font-url("Delicious-Italic.otf") src: local("Delicious"), font-url("Delicious-Italic.otf")
@font-face
font-family: "Noto Sans"
src: local("Noto Sans"), font-url("NotoSans-Variable.ttf")
@font-face
font-family: "Noto Sans"
font-style: italic
src: local("Noto Sans"), font-url("NotoSans-Italic-Variable.ttf")
@font-face
font-family: "Noto Serif"
src: local("Noto Serif"), font-url("NotoSerif-Variable.ttf")
@font-face
font-family: "Noto Serif"
font-style: italic
src: local("Noto Serif"), font-url("NotoSerif-Italic-Variable.ttf")

View file

@ -19,8 +19,8 @@ $error-bg-color: #fbe3e4
$error-border-color: #fbc2c4 $error-border-color: #fbc2c4
$header-font: Delicious, Helvetica, Arial, Verdana, sans-serif $header-font: Delicious, Helvetica, Arial, Verdana, sans-serif
$main-font: "Droid Sans", Helvetica, Arial, Verdana, sans-serif $main-font: "Noto Sans", Helvetica, Arial, Verdana, sans-serif
$text-font: "Droid Serif", Georgia, "Times New Roman", Times, serif $text-font: "Noto Serif", Georgia, "Times New Roman", Times, serif
$object-img-size: 80px $object-img-size: 80px
$object-width: 100px $object-width: 100px

View file

@ -2,8 +2,6 @@
= form_tag load_pet_path, :id => 'bulk-pets-form' do = form_tag load_pet_path, :id => 'bulk-pets-form' do
- localized_cache :action_suffix => 'bulk_pets_content' do - localized_cache :action_suffix => 'bulk_pets_content' do
%h3= t '.header'
%p= t '.explanation' %p= t '.explanation'
= origin_tag bulk_pets_path = origin_tag bulk_pets_path

View file

@ -630,7 +630,6 @@ en-MEEP:
pets: pets:
bulk: bulk:
header: Meep pets in bulk
explanation: explanation:
Got a lot of pets to meep? Just keep meeping them into the box below, Got a lot of pets to meep? Just keep meeping them into the box below,
or even meep in a whole list of names, one name per line. Thanks for or even meep in a whole list of names, one name per line. Thanks for

View file

@ -751,7 +751,6 @@ en:
pets: pets:
bulk: bulk:
header: Model pets in bulk
explanation: explanation:
Got a lot of pets to model? Just keep typing them into the box below, Got a lot of pets to model? Just keep typing them into the box below,
or even paste in a whole list of names, one name per line. We'll or even paste in a whole list of names, one name per line. We'll

View file

@ -498,7 +498,6 @@ es:
default_human_name: (una especie nueva) default_human_name: (una especie nueva)
pets: pets:
bulk: bulk:
header: Hacer que desfilen varios pets a la vez
explanation: "¿Tienes muchos pets para que desfilen? explanation: "¿Tienes muchos pets para que desfilen?
Escribe o pega una lista de pets, recuerda añadir un nombre por línea :P ¡Muchas gracias por tu ayuda!" Escribe o pega una lista de pets, recuerda añadir un nombre por línea :P ¡Muchas gracias por tu ayuda!"

View file

@ -494,7 +494,6 @@ pt:
default_human_name: (uma nova espécie) default_human_name: (uma nova espécie)
pets: pets:
bulk: bulk:
header: Modele pets em massa
explanation: Tem um monte de pets para modelar? Basta digitar seus nomes na caixa abaixo, ou até mesmo colar toda uma lista de nomes, um nome por linha. Obrigado por sua ajuda! explanation: Tem um monte de pets para modelar? Basta digitar seus nomes na caixa abaixo, ou até mesmo colar toda uma lista de nomes, um nome por linha. Obrigado por sua ajuda!
submit: Carregar pet submit: Carregar pet
add: Adicionar add: Adicionar