townsquare/roles.scss

40 lines
845 B
SCSS
Raw Normal View History

2020-03-31 21:12:50 +00:00
$roles:
'baron' 'Baron',
'butler' 'Butler',
'chef' 'Chef',
'drunk' 'Drunk',
'empath' 'Empath',
'fortuneteller' 'Fortune Teller',
'imp' 'Imp',
'investigator' 'Investigator',
'librarian' 'Librarian',
'mayor' 'Mayor',
'monk' 'Monk',
'poisoner' 'Poisoner',
'recluse' 'Recluse',
'ravenkeeper' 'Ravenkeeper' 80%,
'saint' 'Saint',
'slayer' 'Slayer',
'soldier' 'Soldier',
'spy' 'Spy',
2020-04-01 20:57:14 +00:00
'scarletwoman' 'Scarlet Woman' 80%,
2020-03-31 21:12:50 +00:00
'undertaker' 'Undertaker' 85%,
'virgin' 'Virgin',
'washerwoman' 'Washerwoman' 75%;
@each $img, $name, $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');
}
&:after {
content: '#{$name}';
}
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');
}
}