Give the <code> example in docs better CSS

- adds a background colour, to words wrapped in `<code>` tags, like we
  have for whole snippets of code
- reduces the font size of all code blocks
  a) to differentiate them further
  b) to fit more on the screen
This commit is contained in:
Chris Hill-Scott
2016-05-12 11:34:57 +01:00
parent daf33b03ad
commit a659c75276
+11 -1
View File
@@ -57,9 +57,19 @@
margin: 0 0 20px 0; margin: 0 0 20px 0;
} }
pre,
code {
font-size: 16px;
}
code {
background: $highlight-colour;
padding: 2px 5px;
}
.highlight { .highlight {
margin: 0 0 20px 0; margin: 0 0 20px 0;
background: #F8F8F8; background: $highlight-colour;
} }
strong, strong,