Skip to content

Commit c890f7c

Browse files
committed
Move CSS for browsing samples to separate file.
1 parent ebd2338 commit c890f7c

File tree

3 files changed

+49
-46
lines changed

3 files changed

+49
-46
lines changed

custom.css

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -121,52 +121,6 @@ strong.cda-negationInd {
121121
font-size:150%;
122122
}
123123

124-
/* Sample Browser */
125-
126-
caption {
127-
text-align:left;
128-
padding:4px 8px;
129-
border-width:medium thin thin;
130-
border-color:#ddd;
131-
border-style:double none solid;
132-
}
133-
134-
caption>output, caption>strong {
135-
display:inline-block;
136-
vertical-align:top;
137-
padding:6px 0 0;
138-
}
139-
140-
.modal-body .panel table>tbody td {
141-
vertical-align:top;
142-
}
143-
144-
td.gh-item-type, th.gh-item-type {
145-
width:3.35em;
146-
max-width:3.35em;
147-
}
148-
149-
td.gh-item-name, th.gh-item-name {
150-
width:auto;
151-
}
152-
153-
td.gh-item-size, th.gh-item-size {
154-
width:7em;
155-
min-width:7em;
156-
}
157-
158-
td.gh-item-name .btn {
159-
padding:0;
160-
text-align:left;
161-
word-wrap:break-word;
162-
word-break:break-all;
163-
white-space:normal;
164-
}
165-
166-
td.gh-item-size {
167-
text-align:right;
168-
}
169-
170124
/* Hide nullFlavor values */
171125
.cda-nullFlavor {
172126
display:none;

gh_samples.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/* Sample Browser */
2+
3+
caption {
4+
text-align:left;
5+
padding:4px 8px;
6+
border-width:medium thin thin;
7+
border-color:#ddd;
8+
border-style:double none solid;
9+
}
10+
11+
caption>output, caption>strong {
12+
display:inline-block;
13+
vertical-align:top;
14+
padding:6px 0 0;
15+
}
16+
17+
.modal-body .panel table>tbody td {
18+
vertical-align:top;
19+
}
20+
21+
td.gh-item-type, th.gh-item-type {
22+
width:3.35em;
23+
max-width:3.35em;
24+
}
25+
26+
td.gh-item-name, th.gh-item-name {
27+
width:auto;
28+
}
29+
30+
td.gh-item-size, th.gh-item-size {
31+
width:7em;
32+
min-width:7em;
33+
}
34+
35+
td.gh-item-name .btn {
36+
padding:0;
37+
text-align:left;
38+
word-wrap:break-word;
39+
word-break:break-all;
40+
white-space:normal;
41+
}
42+
43+
td.gh-item-size {
44+
text-align:right;
45+
}
46+

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
<!-- Custom styles for this template -->
1717
<link href="custom.css" rel="stylesheet" type="text/css"/>
1818

19+
<!-- Styles for modal-dialog with samples from GitHub -->
20+
<link href="gh_samples.css" rel="stylesheet" type="text/css"/>
21+
1922
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
2023
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
2124
<!--[if lt IE 9]>

0 commit comments

Comments
 (0)