Re: font on gnome.org



On Wed, Apr 13, 2011 at 14:16, zeek <ezekiel das gmail com> wrote:
>
> Greetings --First off, the site looks excellent.

Thank you!

> I'm curious as to how you're setting this font on the site.

The lines in CSS that are related with the font are both in
text.css[1] and fonts.css[2].

body {
    font-family: Cantarell, 'Droid Sans', Ubuntu, 'DejaVu Sans',
Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #2e3436;
}

and

@font-face {
  font-family: 'Cantarell';
  src: local('Cantarell'), local('Cantarell Regular'),
  url(../fonts/Cantarell-Regular.otf);
}

@font-face {
  font-family: 'Cantarell';
  font-weight: bold;
  src: local('Cantarell'), local('Cantarell Bold'), local('Cantarell-Bold'),
  url(../fonts/Cantarell-Bold.otf);
}

Regards.

[1] http://www.gnome.org/wp-content/themes/gnome-grass/css/text.css
[2] http://www.gnome.org/wp-content/themes/gnome-grass/css/fonts.css


-- 
Vinicius Depizzol <vdepizzol gmail com>
http://vinicius.depizzol.com.br


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]