Nicer Css for target

This commit is contained in:
Vlyan
2022-02-17 16:10:44 +01:00
parent efe1e088ed
commit 193a10daed
3 changed files with 7 additions and 27 deletions

File diff suppressed because one or more lines are too long

View File

@@ -75,27 +75,18 @@
display: flex;
align-items: center;
flex: 0 0 100%;
margin: 0.5rem 0;
padding: 0.25rem 0.5rem 0.25rem 0.25rem;
background: rgba(255, 255, 255, 0.1);
border: solid 1px rgba(100, 0, 0, 0.75);
border-radius: 3px;
.profile {
flex: 1;
margin: 0.25rem 0.25rem 0 0;
position: relative;
.target-img {
position: absolute;
left: 0;
opacity: 0.7;
}
.profile-img {
position: relative;
}
&:after {
content: "";
background: url("../assets/imgs/target-square.svg") no-repeat 0 0;
position: absolute;
top: 0;
left: 0;
opacity: 0.5;
width: 100%;
height: 100%;
border: none;
}
}
.name {