Skip to content

Commit 5312959

Browse files
committed
[web-animations-1] Copy a bunch of styles from web-animations.css to Overview.bs
Whatever builds the spec for us on csswg-drafts seems to be dropping our header.include so web-animations.css doesn't get included.
1 parent abf7674 commit 5312959

File tree

1 file changed

+66
-1
lines changed

1 file changed

+66
-1
lines changed

web-animations-1/Overview.bs

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,70 @@
1-
<h1>Web Animations</h1>
1+
<style type="text/css">
2+
.informative-bg {
3+
margin: 1.5em 0 1em;
4+
padding: 1em;
5+
margin-top: 1em;
6+
background: #efe;
7+
border: green 1px dotted;
8+
}
9+
10+
div.informative-bg *:last-child {
11+
margin-bottom: 0;
12+
}
13+
14+
div.informative-bg p:first-child {
15+
margin-top: 0;
16+
}
17+
18+
div.informative-bg h2,
19+
div.informative-bg h3,
20+
div.informative-bg h4 {
21+
background: none;
22+
}
23+
24+
div.switch > dl {
25+
padding-left: 2em;
26+
}
27+
28+
div.switch > dl > dt > p {
29+
display: inline;
30+
}
31+
32+
div.switch > dl > dt:before {
33+
content: '\21AA';
34+
padding: 0 0.5em 0 0;
35+
display: inline-block;
36+
width: 1em;
37+
text-align: right;
38+
line-height: 0.5em;
39+
margin-left: -1.3em;
40+
}
41+
42+
.attributes::before, .methods::before,
43+
.parameters::before, .exceptions::before,
44+
.constructors::before, .members::before {
45+
font: bold 100% sans-serif;
46+
text-align: left;
47+
margin: 1.33em 0px;
48+
color: #005A9C;
49+
}
50+
51+
.attributes::before { content: 'Attributes' }
52+
.methods::before { content: 'Methods' }
53+
.parameters::before { content: 'Parameters' }
54+
.exceptions::before { content: 'Exceptions' }
55+
.constructors::before { content: 'Constructors' }
56+
.members::before { content: 'Dictionary members' }
57+
58+
.param,
59+
.exceptionname,
60+
.estype,
61+
.esvalue {
62+
font-weight: bold;
63+
}
64+
</style>
65+
266
<pre class='metadata'>
67+
Title: Web Animations
368
Status: ED
469
Work Status: Refining
570
Shortname: web-animations

0 commit comments

Comments
 (0)