mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-01-11 03:08:41 +00:00
<pre> styling
This commit is contained in:
parent
be8bd41f40
commit
03f350a1e0
17
default.scss
17
default.scss
|
|
@ -15,6 +15,23 @@ pre {
|
|||
@include border-radius(3px);
|
||||
border: 1px solid $content-border-color;
|
||||
padding: 5px;
|
||||
overflow-x: scroll;
|
||||
counter-reset: line;
|
||||
|
||||
span {
|
||||
display: block;
|
||||
|
||||
&:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 .5em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
article {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user