refactored command with steps

This commit is contained in:
Bálint Szekeres
2019-05-19 17:11:11 +02:00
parent f54d4bd6cb
commit c1847af9ac
11 changed files with 299 additions and 61 deletions

View File

@@ -1,11 +1,3 @@
@keyframes sk-bounce {
0%, 100% {
transform: scale(0.0);
} 50% {
transform: scale(1.0);
}
}
section.tabs {
margin-bottom: 1rem;
@@ -267,6 +259,25 @@ main {
.commands {
margin-bottom: 1rem;
line-height: 1.35;
.step {
counter-reset: step-command-counter;
.counter {
display: inline-block;
margin-top: 0.15rem;
&::before {
counter-increment: step-command-counter;
content: counter(step-command-counter);
}
}
& > span:first-of-type .counter {
margin-top: 0;
}
}
}
.file {