Make theme directory and Rename application.scss (#5336)
* Rename application.scss * Move to 'default' directory * Follow review Move directory, and Rename "mastodon". * Revert rename * undo removal of newline
This commit is contained in:
parent
f3003417c5
commit
6e54719474
20 changed files with 18 additions and 18 deletions
12
app/javascript/styles/mastodon/_mixins.scss
Normal file
12
app/javascript/styles/mastodon/_mixins.scss
Normal file
|
@ -0,0 +1,12 @@
|
|||
@mixin avatar-radius() {
|
||||
border-radius: 4px;
|
||||
background: transparent no-repeat;
|
||||
background-position: 50%;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
@mixin avatar-size($size:48px) {
|
||||
width: $size;
|
||||
height: $size;
|
||||
background-size: $size $size;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue