Added entity span
This commit is contained in:
27
components/EntityIcon.module.css
Normal file
27
components/EntityIcon.module.css
Normal file
@@ -0,0 +1,27 @@
|
||||
.span {
|
||||
background: #DDD;
|
||||
font-size: 2em;
|
||||
border: 1px solid white;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.amount {
|
||||
position: absolute;
|
||||
inset-inline-end: 0.2em;
|
||||
inset-block-end: 0;
|
||||
font-size: 50%;
|
||||
color: white;
|
||||
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
||||
}
|
||||
|
||||
.img {
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
margin-inline-end: 0.2em;
|
||||
}
|
||||
|
||||
.strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
Reference in New Issue
Block a user