Merge lp:~cjohnston/qa-dashboard/css-cleanup into lp:qa-dashboard

Proposed by Chris Johnston
Status: Merged
Approved by: Chris Johnston
Approved revision: 666
Merged at revision: 666
Proposed branch: lp:~cjohnston/qa-dashboard/css-cleanup
Merge into: lp:qa-dashboard
Diff against target: 138 lines (+57/-56)
2 files modified
common/static/css/new-style.css (+57/-0)
common/static/css/style.css (+0/-56)
To merge this branch: bzr merge lp:~cjohnston/qa-dashboard/css-cleanup
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Joe Talbott Approve
Review via email: mp+192721@code.launchpad.net

Commit message

Misc CSS cleanup

To post a comment you must log in.
Revision history for this message
Joe Talbott (joetalbott) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:666
http://10.97.0.26:8080/job/dashboard-ci/232/
Executed test runs:

Click here to trigger a rebuild:
http://10.97.0.26:8080/job/dashboard-ci/232/rebuild

review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'common/static/css/new-style.css'
2--- common/static/css/new-style.css 2013-10-22 14:25:56 +0000
3+++ common/static/css/new-style.css 2013-10-25 15:44:02 +0000
4@@ -1,3 +1,6 @@
5+html {
6+ font-size : 100%;
7+}
8 body {
9 background : url("/static/images/body_bg.jpg") #fff;
10 color : #333;
11@@ -10,6 +13,60 @@
12 border: 0;
13 vertical-align: baseline;
14 }
15+code, li, p, pre {
16+ font-size : 1em;
17+ margin-bottom : 0.75em;
18+ line-height : 1.6;
19+ margin-bottom : 0.75em;
20+}
21+h1, h2, h3, h4 {
22+ font-weight : 300;
23+ line-height : 1.3;
24+}
25+h1 {
26+ font-size : 2.813em;
27+ margin-bottom : 0.267em;
28+}
29+h2 {
30+ font-size : 2em;
31+ margin-bottom : 0.375em;
32+}
33+h1 span, h2 span {
34+ display : block;
35+}
36+ol + h2, p + h2, pre + h2, ul + h2 {
37+ margin-top : 0.563em;
38+}
39+header nav a:link {
40+ font-weight : normal;
41+}
42+h3 {
43+ font-size : 1.438em;
44+ margin-bottom : 0.522em;
45+}
46+ol + h3, p + h3, pre + h3, ul + h3 {
47+ margin-top : 0.783em;
48+}
49+h4 {
50+ font-size : 1.219em;
51+ margin-bottom : 0.615em;
52+}
53+ol + h4, p + h4, pre + h4, ul + h4 {
54+ margin-top : 1.219em;
55+}
56+h5 {
57+ font-size : 1em;
58+ margin-bottom : 0.75em;
59+}
60+h6 {
61+ font-size : 0.813em;
62+ margin-bottom : 0.923em;
63+ text-transform : uppercase;
64+ letter-spacing : 0.1em;
65+}
66+li {
67+ margin-bottom : 0.4em;
68+}
69 header {
70 margin : 0;
71 padding : 0;
72
73=== modified file 'common/static/css/style.css'
74--- common/static/css/style.css 2013-10-22 14:25:56 +0000
75+++ common/static/css/style.css 2013-10-25 15:44:02 +0000
76@@ -218,62 +218,6 @@
77 height: 14px;
78 }
79
80-h1 {
81- font-size: 2.4em; /** 36px (desired value) / 15px (baseline font-size value) */
82- font-weight: normal;
83- line-height: 1.3;
84- margin-bottom: .333em; /** 12px (desired value) / 36px (computed font-size value) */
85-}
86-
87-h2 {
88- font-size: 1.6667em; /** 25px (desired value) / 15px (baseline font-size value) */
89- font-weight: normal;
90- line-height: 1.3;
91- margin-bottom: .48em; /** 12px (desired value) / 25px (computed font-size value) */
92-}
93-
94-p + h2, ul + h2, ol + h2 {
95- margin-top: .72em; /** 18px (desired value) / 25px (computed font-size value) */
96-}
97-
98-h3 {
99- font-size: 1.4em; /** 21px (desired value) / 15px (baseline font-size value) */
100- font-weight: normal;
101- line-height: 1.3;
102- margin-bottom: .571em; /** 12px (desired value) / 21px (computed font-size value) */
103-}
104-
105-p + h3, ul + h3, ol + h3 {
106- margin-top: .857em; /** 18px (desired value) / 21px (computed font-size value) */
107-}
108-
109-h4 {
110- font-size: 1.2em;
111- font-weight: normal;
112- line-height: 1.3;
113- margin-bottom: .666em;
114-}
115-
116-p + h4, ul + h4, ol + h4 {
117- margin-top: 1.2em; /** 18px (desired value) / 15px (computed font-size value) */
118-}
119-
120-h5 {
121- font-size : 1em;
122- margin-bottom : 0.75em;
123-}
124-
125-p {
126- font-size: 1em;
127- line-height: 1.4;
128- margin-bottom: .666em;
129-}
130-
131-li {
132- line-height: 1.4;
133- margin-bottom: .769em;
134-}
135-
136 table.basic thead th, table.basic thead a {
137 font-weight:bold;
138 }

Subscribers

People subscribed via source and target branches