Append a block of color after or before player names to make seeing their colors easier
BoardGameArena Player Color Marker by alandesmet
Imported and mirrored from https://alandesmet.gitlab.io/alan-usercss/boardgamearena-player-color.user.css
Details
Authoralandesmet
LicenseGPL-2.0-or-later
Categoryboardgamearena
Created
Updated
Size891 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name BoardGameArena Player Color Marker
@namespace gitlab.com/AlanDeSmet/alan-usercss
@version 1.0.1
@description Prepend (or append) a block of color after or before player names to make seeing their colors easier
@author Alan De Smet
@homepageURL https://alandesmet.gitlab.io/alan-usercss/
@supportURL https://gitlab.com/AlanDeSmet/alan-usercss/issues
@license GPL-2.0-or-later
@preprocessor uso
@var text afterText "Text after name" ''
@var text beforeText "Text before name" '██ '
==/UserStyle== */
@-moz-document domain("boardgamearena.com") {
.playername[style*="color:"]:after,
div.player-name a:after
{
content: "/*[[afterText]]*/";
}
.playername[style*="color:"]:before,
div.player-name a:before
{
content: "/*[[beforeText]]*/";
}
}