Skip to content

Commit 43a2e1d

Browse files
committed
[editorial] inline the last remaining bits of the default.css stylesheet so I can remove it from the header
1 parent 09efeb0 commit 43a2e1d

8 files changed

Lines changed: 93 additions & 5 deletions

File tree

css-mobile/Overview.bs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ Status text:
6767

6868

6969

70-
7170
<h2 id=introduction>Introduction</h2>
7271
<p>This document specifies a profile of <abbr title="Cascading Style Sheets">CSS</abbr> that is in general based on <abbr title="Cascading Style Sheets">CSS</abbr> 2.1 [[!CSS21]], but requires as well new features from <abbr title="Cascading Style Sheets">CSS</abbr> 3. In addition the document defines an <em class="rfc2119" title="Keyword in RFC 2119 context">OPTIONAL</em> feature set, that is suggested to be implemented by more advanced user agents.</p>
7372

css-scroll-snap-1/Overview.bs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ spec: css-pseudo-4; type: selector;
3939
text: ::first-letter
4040
</pre>
4141

42+
<style>
43+
pre.ascii-art {
44+
display: table; /* shrinkwrap */
45+
margin: 1em auto;
46+
line-height: normal;
47+
}
48+
</style>
49+
4250
Introduction {#intro}
4351
=====================
4452

css-text-3/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ spec:css-fonts-4; type:property; text:font-feature-settings
104104
.no-quote.no-quote::after {
105105
content: none;
106106
}
107+
108+
/* Displaying the output of text layout, particularly when
109+
line-breaking is being invoked, and thus having a
110+
visible width is good. */
111+
pre.output {
112+
margin: 1em;
113+
border: solid thin silver;
114+
padding: 0.25em;
115+
display: table;
116+
}
107117
</style>
108118

109119
<h2 id="intro">

css-writing-modes-3/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ dd img { max-width: 100%; display: block; margin: 1em auto; }
4242
div.figure table {
4343
margin:auto;
4444
}
45-
.ascii-art {
46-
display: table;
45+
pre.ascii-art {
46+
display: table; /* shrinkwrap */
4747
margin: 1em auto;
48+
line-height: normal;
4849
}
4950
</style>
5051

css-writing-modes-4/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ dd img { max-width: 100%; display: block; margin: 1em auto; }
4545
div.figure table {
4646
margin:auto;
4747
}
48-
.ascii-art {
49-
display: table;
48+
pre.ascii-art {
49+
display: table; /* shrinkwrap */
5050
margin: 1em auto;
51+
line-height: normal;
5152
}
5253
</style>
5354

css2/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ blockquote.math span:first-child {text-align: right}
183183
.egbidiwsbB { border:2px solid blue }
184184
.egbidiwsaB { background:yellow;border:2px dotted white }
185185
.egbidiwsbC { border:2px dotted red }
186+
pre.ascii-art {
187+
display: table; /* shrinkwrap */
188+
margin: 1em auto;
189+
line-height: normal;
190+
}
186191
</style>
187192

188193
<h2 id="about"><span id="q1.0">About the CSS&nbsp;2.2 Specification</span></h2>

cssom-1/Overview.bs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,40 @@ spec:css-fonts-4; type:descriptor; text:font-weight
136136
spec:css-fonts-4; type:descriptor; text:font-style
137137
</pre>
138138

139+
<style>
140+
main .atrisk::before {
141+
float: right;
142+
margin-top: -0.25em;
143+
padding: 0.5em 1em 0.5em 0;
144+
text-indent: -0.9em;
145+
border: 1px solid;
146+
content: '\25C0 Not yet widely implemented';
147+
white-space: pre;
148+
font-size: small;
149+
background-color: white;
150+
color: gray;
151+
text-align: center;
152+
}
153+
</style>
154+
139155
<script src=https://resources.whatwg.org/file-issue.js async data-file-issue-url="https://github.com/w3c/csswg-drafts/issues/new?title=%5Bcssom%5D%20"></script>
140156

157+
<style>
158+
.selected-text-file-an-issue {
159+
position: fixed;
160+
bottom: 0;
161+
right: 0;
162+
background: rgba(255, 255, 255, 0.8);
163+
font-size: smaller;
164+
padding: 4px 10px;
165+
z-index: 1;
166+
text-decoration: underline;
167+
}
168+
@media (max-width: 767px) {
169+
.selected-text-file-an-issue { left: 0; right: auto; text-align: left; }
170+
}
171+
</style>
172+
141173
Introduction {#introduction}
142174
============================
143175

cssom-view-1/Overview.bs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,40 @@ spec:css-position-3; type:property; text:position
4949
spec:dom; type:interface; text:Document
5050
</pre>
5151

52+
<style>
53+
main .atrisk::before {
54+
float: right;
55+
margin-top: -0.25em;
56+
padding: 0.5em 1em 0.5em 0;
57+
text-indent: -0.9em;
58+
border: 1px solid;
59+
content: '\25C0 Not yet widely implemented';
60+
white-space: pre;
61+
font-size: small;
62+
background-color: white;
63+
color: gray;
64+
text-align: center;
65+
}
66+
</style>
67+
5268
<script src=https://resources.whatwg.org/file-issue.js async data-file-issue-url="https://github.com/w3c/csswg-drafts/issues/new?title=%5Bcssom-view%5D%20"></script>
5369

70+
<style>
71+
.selected-text-file-an-issue {
72+
position: fixed;
73+
bottom: 0;
74+
right: 0;
75+
background: rgba(255, 255, 255, 0.8);
76+
font-size: smaller;
77+
padding: 4px 10px;
78+
z-index: 1;
79+
text-decoration: underline;
80+
}
81+
@media (max-width: 767px) {
82+
.selected-text-file-an-issue { left: 0; right: auto; text-align: left; }
83+
}
84+
</style>
85+
5486
<h2 id=background>Background</h2>
5587

5688
Many of the features defined in this specification have been supported

0 commit comments

Comments
 (0)