Retrospring/app/assets/stylesheets/components/_entry.scss

48 lines
774 B
SCSS
Raw Normal View History

.entry {
$this: &;
&__value {
margin-bottom: 0;
}
&__description {
color: var(--primary);
text-transform: uppercase;
font-weight: bold;
font-size: .8rem;
margin-top: 0px;
}
&--statistics {
#{$this}__value,
#{$this}__description {
display: block;
text-align: center;
}
#{$this}__value {
margin-top: map-get($spacers, 3);
}
#{$this}__description {
margin-bottom: map-get($spacers, 3);
}
}
&--users {
#{$this}__value,
#{$this}__description {
display: block;
text-align: center;
}
#{$this}__value {
font-size: 4rem;
margin-top: map-get($spacers, 3);
}
#{$this}__description {
margin-bottom: map-get($spacers, 3);
}
}
}