-
Notifications
You must be signed in to change notification settings - Fork 0
/
log-tiles-fix.user.styl
30 lines (28 loc) · 973 Bytes
/
log-tiles-fix.user.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* ==UserStyle==
@name BGA Carcassonne log tiles fix
@description fixes wonky tiles in log and places them neatly on the right
@version 0.2
@author yzemaze
@namespace github.com/yzemaze/
@homepageURL https://github.com/yzemaze/bga-carcassonne-scripts/
@supportURL https://github.com/yzemaze/bga-carcassonne-scripts/issues
@updateURL https://github.com/yzemaze/bga-carcassonne-scripts/raw/main/log-tiles-fix.user.styl
@license GPLv3
@preprocessor stylus
@var checkbox tilesRightAligned "Log: align tiles to the right" 1
==/UserStyle== */
@-moz-document regexp("https://(\w*\.)?boardgamearena.com/.*/carcassonne.*"), regexp("https://(\w*\.)?boardgamearena.com/archive/replay/.*")
.bgagame-carcassonne
.tile_in_log .tile_art
background-size 1600% 1000%
if tilesRightAligned
#logs .tile_in_log
position absolute
left auto
right 32px
bottom 28px
top auto
width auto
.tile_art
height 28px
width 28px