Rework pre elements
This commit is contained in:
parent
b49a4a5d9c
commit
c9d7f5e81b
1 changed files with 9 additions and 19 deletions
|
@ -702,8 +702,8 @@ tt {
|
|||
font-family: 'Fira Mono', monospace, sans-serif;
|
||||
font-size: 0.75em;
|
||||
white-space: pre;
|
||||
background: #faf9f7;
|
||||
border: 1px solid #e5e4e1;
|
||||
background: #343642;
|
||||
color: #C1C2C3;
|
||||
top: -2px
|
||||
}
|
||||
|
||||
|
@ -714,13 +714,18 @@ pre {
|
|||
overflow: hidden;
|
||||
font-family: Fira Mono, monospace, sans-serif;
|
||||
white-space: pre;
|
||||
background: #faf9f7;
|
||||
border: 1px solid #e5e4e1;
|
||||
box-sizing: border-box;
|
||||
font-size: .80em;
|
||||
width:110%;
|
||||
margin-left: -5%
|
||||
}
|
||||
|
||||
pre code, pre tt {
|
||||
margin:0;
|
||||
padding:0;
|
||||
background:transparent;
|
||||
overflow: scroll;
|
||||
border:none;
|
||||
}
|
||||
|
||||
pre .lines {
|
||||
|
@ -744,21 +749,6 @@ pre .lines .line {
|
|||
color: #45484d
|
||||
}
|
||||
|
||||
pre code,
|
||||
pre tt {
|
||||
position: static;
|
||||
top: auto;
|
||||
margin: -1.333em -1.333em -1.333em 1.333em;
|
||||
padding: 1.333em;
|
||||
overflow: scroll;
|
||||
font-size: 0.75em;
|
||||
line-height: 2em;
|
||||
white-space: pre;
|
||||
background: transparent;
|
||||
border: none;
|
||||
vertical-align: inherit
|
||||
}
|
||||
|
||||
kbd {
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue