diff options
author | rmacqueen <rorymacqueen@gmail.com> | 2013-08-06 18:32:31 -0700 |
---|---|---|
committer | rmacqueen <rorymacqueen@gmail.com> | 2013-08-06 18:32:31 -0700 |
commit | 4ddfa5f8d0b12049f1e868da1cd801e3686a2f7f (patch) | |
tree | d57f8ac47f9cfe48f592beab44bae6a8a4a2255a | |
parent | eb7154fc2f9e04e678100b7ad3537b90f04f6380 (diff) | |
parent | 0f809737c9a70cdd2f50f800054073788c6f1fcf (diff) |
Merge pull request #229 from endlessm/issues/228
Set font-weight on title fonts
-rw-r--r-- | data/css/eos-wikipedia-domain.css | 8 | ||||
-rw-r--r-- | wikipedia/views/title_label_view.js | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/data/css/eos-wikipedia-domain.css b/data/css/eos-wikipedia-domain.css index bf52b52..010b671 100644 --- a/data/css/eos-wikipedia-domain.css +++ b/data/css/eos-wikipedia-domain.css @@ -2,15 +2,17 @@ font-family: "Source Sans Pro"; } -.title.front-page { +.title { font-family: "BentonSans ExtraLight"; - font-size: 100px; color: #ffffff; text-shadow: 0px 1px 0px alpha(#23326e, 0.15); } +.title.front-page { + font-size: 100px; +} + .title.category.front-page { - font-family: "BentonSans ExtraLight"; font-size: 40px; } diff --git a/wikipedia/views/title_label_view.js b/wikipedia/views/title_label_view.js index e91e671..15b3085 100644 --- a/wikipedia/views/title_label_view.js +++ b/wikipedia/views/title_label_view.js @@ -36,6 +36,9 @@ const TitleLabelView = new Lang.Class({ }); this._image = new Gtk.Image(); + let context = this._label.get_style_context() + context.add_class(EndlessWikipedia.STYLE_CLASS_TITLE); + this.parent(props); this.add(this._image); |