mirror of
https://github.com/inspec/inspec
synced 2025-02-16 22:18:38 +00:00
Updated "code" style on website (#2298)
The existing style was a bit harsh, especially with a lot of code blocks in a row. This lightens it a bit to be more focused on the monospace aspect rather than offsetting code with different backgrounds. Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
parent
13a93ebd32
commit
884204f1ef
1 changed files with 7 additions and 6 deletions
|
@ -1,18 +1,19 @@
|
|||
//default
|
||||
|
||||
code {
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
background: $color_paragraph;
|
||||
border-color: $color_paragraph;
|
||||
color: $color_paragraph;
|
||||
border: 0px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.highlight code {
|
||||
padding-left: 0;
|
||||
color: white;
|
||||
background: $color_paragraph;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
pre {
|
||||
border-radius: 7px;
|
||||
border-radius: 7px;
|
||||
padding: 10px;
|
||||
margin-bottom: 1em;
|
||||
background: $color_paragraph;
|
||||
|
|
Loading…
Add table
Reference in a new issue