mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-28 21:20:56 -04:00
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:
@@ -57,9 +57,19 @@
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
pre,
|
||||
code {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
code {
|
||||
background: $highlight-colour;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
margin: 0 0 20px 0;
|
||||
background: #F8F8F8;
|
||||
background: $highlight-colour;
|
||||
}
|
||||
|
||||
strong,
|
||||
|
||||
Reference in New Issue
Block a user