Stop using images and use HTML/CSS to render stacks
This commit is contained in:
18
assets/scss/stack.scss
Normal file
18
assets/scss/stack.scss
Normal file
@@ -0,0 +1,18 @@
|
||||
@import "style.scss";
|
||||
|
||||
.stack {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 10rem;
|
||||
margin: auto;
|
||||
@include bordered-block;
|
||||
}
|
||||
|
||||
.stack-element {
|
||||
text-align: center;
|
||||
height: 1.5rem;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: $standard-border;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user