diff options
author | Philip Chimento <philip@endlessm.com> | 2013-08-06 16:10:04 -0700 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2013-08-06 18:18:38 -0700 |
commit | 0f809737c9a70cdd2f50f800054073788c6f1fcf (patch) | |
tree | a4ce6d3df8d640d3a795520c581bb382c1d11162 | |
parent | f1f7ebe477c2b72b55bd6a267f42e672e66cccfc (diff) |
Set Benton Sans on title font
The proper Benton Sans was not showing up. The title label didn't have the
proper CSS class.
[endlessm/eos-sdk#228]
-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); |