/*
WARNING: This is a generated file. Any changes you make directly to this file
will be overwritten when the file is regenerated. Add styles to the appropriate
.less file instead.
*/
/* http://codeitdown.com/ordered-list-css-styles/ */
.task-list {
list-style-type: none;
list-style-type: decimal !ie;
/*IE 7- hack*/
margin: 0;
padding: 0;
counter-reset: li-counter;
display: inline-block;
}
.task {
position: relative;
}
.task:before {
position: absolute;
top: 6px;
content: counter(li-counter) ".";
counter-increment: li-counter;
}
html[dir="ltr"] .task-list {
margin-left: 3em;
}
html[dir="rtl"] .task-list {
margin-right: 3em;
}
html[dir="ltr"] .task:before {
text-align: right;
/*
Position the list number 0.5em to the left of the list,
then shift the list number left by 100% of its own width.
The end result will be that the number’s right edge will
be 0.5em to the left of the list, which is what we want.
*/
left: -0.5em;
transform: translate(-100%, 0);
}
html[dir="rtl"] .task:before {
text-align: left;
/*
Similar to the logic for LTR. Position the list number 0.5em
to the right of the list, then do a similar transform, this
time to the right instead of to the left.
*/
right: -0.5em;
transform: translate(100%, 0);
}
.task:first-child:before {
top: 1px;
}
/* ---------------------------------------------------------------------- */
.task {
border-top: 1px solid #aaa;
margin-top: 5px;
}
.task:first-child {
border-top: 0;
margin-top: 0;
}
.task th {
vertical-align: top;
}
.task > table tr:first-child th,
.task > table tr:first-child td {
padding-top: 6px;
}
.task:first-child > table tr:first-child th,
.task:first-child > table tr:first-child td {
padding-top: 1px;
}
.task-arg {
display: inline-block;
background-color: #eee;
border-radius: 2px;
padding: 0 3px;
margin: 0 0.25em;
font-family: monospace;
}
html[dir="ltr"] .task-arg:first-child {
margin-left: 0;
}
html[dir="rtl"] .task-arg:first-child {
margin-right: 0;
}
.task-parameter {
padding: 1px 1em;
}
html[dir="ltr"] .task-parameter {
padding-left: 0;
}
html[dir="rtl"] .task-parameter {
padding-right: 0;
}
.set-apart {
margin-top: 15px;
}