Skip to content

Commit 68d3cc0

Browse files
committed
Fix conflicting background colors in code/pre blocks
Fixes #1487
1 parent e2e9c3f commit 68d3cc0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

lib/resources/styles.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ pre.prettyprint {
228228
font-size: 15px;
229229
word-wrap: normal;
230230
line-height: 1.4;
231-
background: #eee;
232231
border: 0;
233232
margin: 16px 0 16px 0;
234233
padding: 8px;
@@ -245,15 +244,15 @@ pre code {
245244

246245
pre {
247246
border: 1px solid #ddd;
248-
background-color: #f7f7f7;
247+
background-color: #eee;
249248
font-size: 14px;
250249
}
251250

252251
code {
253252
font-family: 'Source Code Pro', monospace;
254253
/* overriding bootstrap */
255254
color: inherit;
256-
background-color: #f7f7f7;
255+
background-color: #eee;
257256
}
258257

259258
h2 .crossdart {

testing/test_package_docs/static-assets/styles.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ pre.prettyprint {
228228
font-size: 15px;
229229
word-wrap: normal;
230230
line-height: 1.4;
231-
background: #eee;
232231
border: 0;
233232
margin: 16px 0 16px 0;
234233
padding: 8px;
@@ -245,15 +244,15 @@ pre code {
245244

246245
pre {
247246
border: 1px solid #ddd;
248-
background-color: #f7f7f7;
247+
background-color: #eee;
249248
font-size: 14px;
250249
}
251250

252251
code {
253252
font-family: 'Source Code Pro', monospace;
254253
/* overriding bootstrap */
255254
color: inherit;
256-
background-color: #f7f7f7;
255+
background-color: #eee;
257256
}
258257

259258
h2 .crossdart {

0 commit comments

Comments
 (0)