Merge lp:~whosdaz/ubuntu-qa-website/ubuntu-font-tweak into lp:ubuntu-qa-website

Proposed by Matthew Allen on 2016-10-13
Status: Needs review
Proposed branch: lp:~whosdaz/ubuntu-qa-website/ubuntu-font-tweak
Merge into: lp:ubuntu-qa-website
Diff against target: 15 lines (+4/-0)
1 file modified
modules/qatracker/qatracker.module (+4/-0)
To merge this branch: bzr merge lp:~whosdaz/ubuntu-qa-website/ubuntu-font-tweak
Reviewer Review Type Date Requested Status
Nicholas Skaggs approve tweak 2016-10-13 Pending
Review via email:

Description of the change

Changed the websites default font to 'Ubuntu' where possible - I feel as if this is appropriate considering it is the Ubuntu QA Tracker after all.

If the font cannot be loaded from Google web fonts for whatever reason, it will fall back to the current default.

The new font can be seen in this screenshot

(No point merging this to production unless a bug fix is made though - this can just sit in the new repo as a tweak that will be included in a future release)

To post a comment you must log in.

Unmerged revisions

430. By Matthew Allen on 2016-10-13

Added theme tweak to use the Ubuntu web font

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'modules/qatracker/qatracker.module'
2--- modules/qatracker/qatracker.module 2016-01-05 15:51:19 +0000
3+++ modules/qatracker/qatracker.module 2016-10-13 06:05:15 +0000
4@@ -53,7 +53,11 @@
5 drupal_add_css(" { width:0; }", 'inline');
6 drupal_add_css("table.sticky-enabled td { vertical-align:top; }", 'inline');
7 drupal_add_css("div.form-type-radios .form-radios .form-item { display:inline; padding-right:0.5em; }", 'inline');
8+drupal_add_css('', array('type' => 'external')); //Use Ubuntu Web Font
9 drupal_add_css("
10+* {
11+ font-family: Ubuntu, sans-serif;
13 dl {
14 counter-reset: item1;
15 }


People subscribed via source and target branches