|
39 | 39 | pre.ascii-art {
|
40 | 40 | display: table; /* shrinkwrap */
|
41 | 41 | margin: 1em auto;
|
| 42 | + line-height: normal; |
42 | 43 | }
|
43 | 44 |
|
44 | 45 | /* Displaying the output of text layout, particularly when
|
|
51 | 52 | display: table;
|
52 | 53 | }
|
53 | 54 |
|
54 |
| -/******************************************************************************/ |
55 |
| -/* Tables */ |
56 |
| -/******************************************************************************/ |
57 |
| - |
58 |
| -/* XXX: Remove these once all specs are bikeshedded or Bert's processor generates .def/.index classes */ |
59 |
| - |
60 |
| -/** Property/Descriptor Definition Tables *************************************/ |
61 |
| - |
62 |
| - table.propdef, table.propdef-extra, |
63 |
| - table.descdef, table.definition-table { |
64 |
| - page-break-inside: avoid; |
65 |
| - width: 100%; |
66 |
| - margin: 1.2em 0; |
67 |
| - border-left: 0.5em solid #8CCBF2; |
68 |
| - padding: 0.5em 1em; |
69 |
| - background: #DEF; |
70 |
| - border-spacing: 0; |
71 |
| - } |
72 |
| - |
73 |
| - table.propdef td, table.propdef-extra td, |
74 |
| - table.descdef td, table.definition-table td, |
75 |
| - table.propdef th, table.propdef-extra th, |
76 |
| - table.descdef th, table.definition-table th { |
77 |
| - padding: 0.5em; |
78 |
| - vertical-align: baseline; |
79 |
| - border-bottom: 1px solid #bbd7e9; |
80 |
| - } |
81 |
| - table.propdef > tbody > tr:last-child th, |
82 |
| - table.propdef-extra > tbody > tr:last-child th, |
83 |
| - table.descdef > tbody > tr:last-child th, |
84 |
| - table.definition-table > tbody > tr:last-child th, |
85 |
| - table.propdef > tbody > tr:last-child td, |
86 |
| - table.propdef-extra > tbody > tr:last-child td, |
87 |
| - table.descdef > tbody > tr:last-child td, |
88 |
| - table.definition-table > tbody > tr:last-child td { |
89 |
| - border-bottom: 0; |
90 |
| - } |
91 |
| - |
92 |
| - table.propdef th, |
93 |
| - table.propdef-extra th, |
94 |
| - table.descdef th, |
95 |
| - table.definition-table th { |
96 |
| - font-style: italic; |
97 |
| - font-weight: normal; |
98 |
| - width: 8.3em; |
99 |
| - padding-left: 1em; |
100 |
| - } |
101 |
| - |
102 |
| - /* For when values are extra-complex and need formatting for readability */ |
103 |
| - table td.pre { |
104 |
| - white-space: pre-wrap; |
105 |
| - } |
106 |
| - |
107 |
| - /* A footnote at the bottom of a propdef */ |
108 |
| - table.propdef td.footnote, |
109 |
| - table.propdef-extra td.footnote, |
110 |
| - table.descdef td.footnote, |
111 |
| - table.definition-table td.footnote { |
112 |
| - padding-top: 0.6em; |
113 |
| - } |
114 |
| - table.propdef td.footnote::before, |
115 |
| - table.propdef-extra td.footnote::before, |
116 |
| - table.descdef td.footnote::before, |
117 |
| - table.definition-table td.footnote::before { |
118 |
| - content: " "; |
119 |
| - display: block; |
120 |
| - height: 0.6em; |
121 |
| - width: 4em; |
122 |
| - border-top: thin solid; |
123 |
| - } |
124 | 55 |
|
125 | 56 | /** Profile Tables ************************************************************/
|
126 | 57 | /* table of required features in a CSS profile */
|
|
155 | 86 | }
|
156 | 87 |
|
157 | 88 | .toc .atrisk::before { content:none }
|
| 89 | + |
| 90 | +/** File Issue Link ***********************************************************/ |
| 91 | + /* Style for https://resources.whatwg.org/file-issue.js */ |
| 92 | + |
| 93 | + .selected-text-file-an-issue { |
| 94 | + position: fixed; |
| 95 | + bottom: 0; |
| 96 | + right: 0; |
| 97 | + background: rgba(255, 255, 255, 0.8); |
| 98 | + font-size: smaller; |
| 99 | + padding: 4px 10px; |
| 100 | + z-index: 1; |
| 101 | + text-decoration: underline; |
| 102 | + } |
| 103 | + @media (max-width: 767px) { |
| 104 | + .selected-text-file-an-issue { left: 0; right: auto; text-align: left; } |
| 105 | + } |
0 commit comments