Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @namespace xlink url("http://www.w3.org/1999/xlink");
7 Documentation {
8 display: block;
9 font-family: Verdana, sans-serif;
10 font-size: 11pt;
11 margin: 8px;
12 }
13 Author {
14 display: block;
15 font-size: 90%;
16 }
17 Author:before {
18 content: "Author: ";
19 font-weight: bold;
20 }
21 UpdateDate {
22 display: block;
23 font-size: 90%;
24 }
25 UpdateDate:before {
26 content: "Updated: ";
27 font-weight: bold;
28 }
29 Title {
30 display: block;
31 font-size: 250%;
32 font-weight: bold;
33 letter-spacing: -1.25pt;
34 margin-top: 0;
35 margin-bottom: .5em;
36 }
37 SectionHeading {
38 display: block;
39 font-size: 125%;
40 font-weight: bold;
41 margin-top: 2em;
42 margin-bottom: .5em;
43 }
44 Body {
45 display: block;
46 margin-top: 1em;
47 margin-bottom: .5em;
48 }
49 SectionHeading + Body { /* body after section heading */
50 margin-top: 0;
51 }
52 Components {
53 display: block;
54 margin-top: 1em;
55 margin-left: .5in;
56 border: dotted 1px black;
57 }
58 :link:hover {
59 background-color: blue;
60 color: white;
61 cursor: pointer;
62 }
64 /* workaround for above rule not working */
65 *[xlink|type] {
66 cursor: pointer;
67 }
69 /* workaround for above rule not working */
70 *[xlink|show="replace"] {
71 cursor: pointer;
72 }
74 Term {
75 display: block;
76 font-weight: bold;
77 background-color: lightyellow;
78 padding-left: .5em;
79 }
80 Definition {
81 display: block;
82 margin-left: 40px;
83 }
84 Interfaces, Characteristics, Items, Categories {
85 display: block;
86 margin-left: 40px;
87 list-style-position: outside;
88 list-style-type: disc;
89 }
90 Purposes {
91 display: block;
92 margin-left: 40px;
93 list-style-position: outside;
94 list-style-type: decimal;
95 counter-reset: -html-counter 0;
96 }
97 Interface, Characteristic, Purpose, Item, Category {
98 display: list-item;
99 }
100 RunIn {
101 display: inline;
102 font-weight: bold;
103 }
104 Note {
105 width: 2in;
106 height: auto;
107 float: right;
108 font-size: 90%;
109 margin-left: 1em;
110 margin-right: .5em;
111 border-top: solid 2px black;
112 border-bottom: solid 1px black;
113 padding: .5em 0;
114 }
115 Note:before {
116 content: "Note";
117 font-weight: bold;
118 display: inline;
119 background-color: black;
120 color: white;
121 margin-right: .25em;
122 padding: .5em .25em 0 .25em;
123 }