townsquare/roles.scss

37 lines
565 B
SCSS
Raw Normal View History

2020-03-31 21:12:50 +00:00
$roles:
2020-04-02 20:23:40 +00:00
'baron',
'butler',
'chef',
'drunk',
'empath',
'fortuneteller',
'imp',
'investigator',
'librarian',
'mayor',
'monk',
'poisoner',
'recluse',
'ravenkeeper' 80%,
'saint',
'slayer',
'soldier',
'spy',
'scarletwoman' 80%,
'undertaker' 85%,
'virgin',
'washerwoman' 75%;
2020-03-31 21:12:50 +00:00
2020-04-02 20:23:40 +00:00
@each $img, $fontsize in $roles {
2020-04-01 20:57:14 +00:00
.token.#{$img} {
2020-03-31 21:12:50 +00:00
&:before {
background-image: url('../img/icon-#{$img}.png');
}
font-size: $fontsize;
}
2020-04-01 20:57:14 +00:00
.reminder.#{$img}:before {
2020-03-31 21:12:50 +00:00
background-image: url('../img/icon-#{$img}.png');
}
}