Skip to content

Commit e6ae441

Browse files
committed
[csswg] Remove span[id] rule. Add a few rules for making Prism-highlighted stuff display better.
--HG-- extra : rebase_source : 29fb5b7f270947c8f549a85579deaf49260dd0b2
1 parent c2f3691 commit e6ae441

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

default.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
line-height: 1.5;
1111
}
1212

13-
span.id {float: right; font-weight: bold}
14-
1513
/******************************************************************************/
1614
/* Sectioning */
1715
/******************************************************************************/
@@ -198,6 +196,15 @@
198196
overflow: auto;
199197
}
200198

199+
/** Syntax-Highlighted Code ***************************************************/
200+
201+
.example pre[class*="language-"],
202+
.example [class*="language-"] pre,
203+
.example pre[class*="lang-"],
204+
.example [class*="lang-"] pre {
205+
background: transparent; /* Prism applies a gray background that doesn't work well in the template. */
206+
}
207+
201208
/** Example Code **************************************************************/
202209

203210
div.html, div.xml,
@@ -251,6 +258,9 @@
251258
.type { /* CSS value <type> */
252259
font-style: italic;
253260
}
261+
pre .property::before, pre .property::after {
262+
content: "";
263+
}
254264

255265
/** Inline markup fragments ***************************************************/
256266

0 commit comments

Comments
 (0)