mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
less css repetition
This commit is contained in:
parent
edec88f0ab
commit
5d96a6293a
1 changed files with 10 additions and 22 deletions
|
@ -24,30 +24,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.mod-username {
|
||||
|
||||
display: inline;
|
||||
padding-right: 2rem;
|
||||
font-size: .875rem;
|
||||
|
||||
&:before {
|
||||
display: inline-block;
|
||||
margin-right: .5rem;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: contain;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
vertical-align: -.35rem;
|
||||
content: "";
|
||||
opacity: .5;
|
||||
background-image: url("/svgs/project/username.svg");
|
||||
}
|
||||
}
|
||||
|
||||
.mod-date,
|
||||
.mod-sprites,
|
||||
.mod-scripts {
|
||||
.mod-scripts,
|
||||
.mod-username {
|
||||
|
||||
display: inline;
|
||||
padding-right: 2rem;
|
||||
|
@ -89,3 +69,11 @@
|
|||
background-image: url("/svgs/project/block-count.svg");
|
||||
}
|
||||
}
|
||||
|
||||
.mod-username {
|
||||
|
||||
&:before {
|
||||
opacity: .5;
|
||||
background-image: url("/svgs/project/username.svg");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue