Update
This commit is contained in:
38
static/css/cards.css
Normal file
38
static/css/cards.css
Normal file
@@ -0,0 +1,38 @@
|
||||
.vote-card,
|
||||
.preview-card {
|
||||
border: var(--card-border-width) solid var(--card-border);
|
||||
background: var(--card-bg);
|
||||
color: var(--card-text);
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.card-corner {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
font-weight: 700;
|
||||
font-size: 0.82rem;
|
||||
line-height: 1;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.card-corner.top-left {
|
||||
top: 0.34rem;
|
||||
left: 0.34rem;
|
||||
}
|
||||
|
||||
.card-corner.bottom-right {
|
||||
right: 0.34rem;
|
||||
bottom: 0.34rem;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.card-center-icon {
|
||||
z-index: 1;
|
||||
line-height: 1;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
Reference in New Issue
Block a user