Add some extra stylings
This commit is contained in:
@@ -20,4 +20,40 @@ ol {
|
||||
&.block>li+li {
|
||||
padding: .2em 0 0 0;
|
||||
}
|
||||
|
||||
&.subscript {
|
||||
font-size: 0.8rem;
|
||||
line-height: 2em;
|
||||
counter-reset: item;
|
||||
list-style: none;
|
||||
}
|
||||
&.subscript>li {
|
||||
position: relative;
|
||||
}
|
||||
&.subscript>li:before {
|
||||
content: counter(item) ")";
|
||||
counter-increment: item;
|
||||
vertical-align: sub;
|
||||
position: absolute;
|
||||
left: -1.1em;
|
||||
top: .25em;
|
||||
}
|
||||
|
||||
&.superscript {
|
||||
font-size: 0.8rem;
|
||||
line-height: 2em;
|
||||
counter-reset: item;
|
||||
list-style: none;
|
||||
}
|
||||
&.superscript>li {
|
||||
position: relative;
|
||||
}
|
||||
&.superscript>li:before {
|
||||
content: counter(item) ")";
|
||||
counter-increment: item;
|
||||
vertical-align: super;
|
||||
position: absolute;
|
||||
left: -1.1em;
|
||||
top: -0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Generic Block
|
||||
// --------------------------------------------------------------------------------
|
||||
.block {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
overflow: auto;
|
||||
|
||||
Reference in New Issue
Block a user