mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-26 17:16:07 +08:00
36 lines
578 B
Text
36 lines
578 B
Text
//
|
|
// Code (inline and blocK)
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Inline and block code styles
|
|
code,
|
|
kbd,
|
|
samp,
|
|
pre {
|
|
padding: 0 3px 2px;
|
|
font-family: var(--fontMono);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
// Inline code
|
|
code {
|
|
padding: 2px 4px;
|
|
border: 1px solid #e1e1e8;
|
|
}
|
|
|
|
// Blocks of code
|
|
pre {
|
|
display: block;
|
|
padding: 0.715em;
|
|
margin: 0 0 0.715em;
|
|
white-space: pre-wrap;
|
|
border: 1px solid rgba(0,0,0,.15);
|
|
border-radius: 4px;
|
|
|
|
// Account for some code outputs that place code tags in pre tags
|
|
code {
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
}
|