MPDL / imeji

A lightweight research data repository
11 stars 2 forks source link

Change of fonts source #115

Open natasab opened 9 years ago

natasab commented 9 years ago

At the moment, the default theme of imeji is fetching fonts from

http://fonts.googleapis.com/css?family=Open+Sans

It would proibably be safer and better to keep this locally, near to imeji code, rather then fetching it from external source.

bastiensaquet commented 9 years ago

@schlender What do you thin about it?

schlender commented 9 years ago

I see following possibilities a.t.m.:

a) via CSS

  1. make the import dynamic with "//" instead of "http://" or "https://"
  2. embed the css font in the imeji css 2.1 placed inside of app.css 2.2 as separate local file

b) via JSF

  1. make a new meta link with a protocoll dynamic ref to the css font
natasab commented 9 years ago

+1 for 2