52 lines
892 B
SCSS
52 lines
892 B
SCSS
.badge {
|
|
font-weight: 600;
|
|
vertical-align: top;
|
|
white-space: nowrap;
|
|
|
|
&:not(.badge--large) {
|
|
border-radius: 0.2rem;
|
|
display: inline-block;
|
|
font-size: 0.8rem;
|
|
letter-spacing: 0.05rem;
|
|
line-height: 2;
|
|
padding-right: var(--spacing-xs);
|
|
padding-left: var(--spacing-xs);
|
|
}
|
|
}
|
|
|
|
.badge--cost:not(.badge--large) {
|
|
background-color: $lbry-yellow-2;
|
|
|
|
[data-mode="dark"] & {
|
|
background-color: $lbry-yellow-3;
|
|
color: $lbry-black;
|
|
}
|
|
}
|
|
|
|
.badge--free {
|
|
background-color: $lbry-blue-2;
|
|
|
|
[data-mode="dark"] & {
|
|
background-color: $lbry-blue-3;
|
|
color: $lbry-black;
|
|
}
|
|
}
|
|
|
|
.badge--large {
|
|
font-size: 5rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.badge--nsfw {
|
|
background-color: $lbry-grape-2;
|
|
|
|
[data-mode="dark"] & {
|
|
background-color: $lbry-grape-3;
|
|
color: $lbry-black;
|
|
}
|
|
}
|
|
|
|
.badge--primary {
|
|
background-color: $lbry-teal-5;
|
|
color: $lbry-white;
|
|
}
|