Nicer Css for target
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user