Skip to content

BGA Hanamikoji by yzemaze

Imported and mirrored from https://github.com/yzemaze/bga-hanamikoji-userstyle/raw/main/bga-hanamikoji.user.styl

Screenshot of BGA Hanamikoji

Details

Authoryzemaze

LicenseGPLv3

Categoryboardgamearena.com

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

CSS for Hanamikoji on BGA reducing whitespace and fixing waiting_card_zone

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name						BGA Hanamikoji userstyle
@description		Userstyle for Hanamikoji on BGA reducing whitespace and fixing waiting_card_zone by pinning it to the top left.
@version				0.4
@author					yzemaze
@namespace			github.com/yzemaze/
@supportURL			https://github.com/yzemaze/bga-hanamikoji-userstyle/issues
@homepageURL		https://github.com/yzemaze/bga-hanamikoji-userstyle/
@license				GPLv3
@preprocessor		stylus
==/UserStyle== */

@-moz-document regexp("https://(\w*\.)?boardgamearena.com/.*/hanamikoji.*"), regexp("https://(\w*\.)?boardgamearena.com/archive/replay/.*")
	.bgagame-hanamikoji
		#waiting_card_zone
			position absolute
			display inline
		#this_player_block > div:nth-of-type(2)
			/* #mycard_wrap_playerID */
			display flex
			margin auto auto auto 260px
			#mynothand_wrap, #myreserved_wrap, #mydiscarded_wrap
				width fit-content
				margin 0 5px
			#myhand_wrap, #mynothand_wrap
				margin 5px 15px
		#opponent_block
			> div:nth-of-type(1)
				/* #card_wrap_playerID */
				margin -15px 10px auto auto
			> div:nth-of-type(2)
				/* #action_wrap_playerID */
				margin 5px auto auto 10px
		.geisha_card_wrap
			height 140px

Reviews

No reviews yet.