Skip to content

Commit 91501df

Browse files
authored
Improve CSS of static release dashboard (#799)
1 parent 08ad66a commit 91501df

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

‎master/custom/static/dashboard.css‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,34 @@
1212
margin: 20px auto 0;
1313
font-family: 'Arial', sans-serif;
1414

15+
/* Base rules from Bootstrap's reboot and the Buildbot UI, so the page
16+
looks the same served directly as it does embedded in the UI. */
17+
font-size: 14px;
18+
line-height: 20px;
19+
code {
20+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
21+
font-size: 87.5%;
22+
}
23+
a {
24+
color: #007bff;
25+
text-decoration: none;
26+
&:hover {
27+
color: #0056b3;
28+
text-decoration: underline;
29+
}
30+
}
31+
h1, h2, h3, h4, h5, h6 {
32+
font-weight: 500;
33+
line-height: 1.2;
34+
margin-top: 0;
35+
margin-bottom: .5rem;
36+
}
37+
h3 { font-size: 1.75rem; }
38+
h4 { font-size: 1.5rem; }
39+
h5 { font-size: 1.25rem; }
40+
summary { cursor: pointer; }
41+
ul { margin-top: 0; margin-bottom: 1rem; }
42+
1543
.header {
1644
text-align: center;
1745
margin-bottom: 30px;
@@ -178,6 +206,7 @@
178206
margin: 0px;
179207
width: 1rem;
180208
height: 1rem;
209+
box-sizing: border-box;
181210
background-color: var(--pill-bg-color);
182211
color: var(--pill-text-color);
183212
font-size: .75rem;

0 commit comments

Comments
 (0)