mobile UI improvement for https://play.pokemonshowdown.com/
play pokemonshowdown by martinshi
Details
Authormartinshi
LicenseNo License
Categoryplay.pokemonshowdown.com
Created
Updated
Size1.1 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
bigger btn for battle on mobile
Source code
/* ==UserStyle==
@name Bigger Button for PS(pokemonshowdown)
@namespace play.pokemonshowdown.com
@version 0.0.5
@description modify a bigger button for pokemon switch/choose on battle for mobile
@author Martin
==/UserStyle== */
@-moz-document url-prefix("https://play.pokemonshowdown.com/")
{
/* Style only available on mobile */
@media only screen and (max-width: 640px) {
/* Styles for choose btn on preview */
div.switchmenu button[name="chooseTeamPreview"] {
height: 40px;
font-size: 1.1em;
min-width: 200px;
margin-bottom: 6px;
margin-left: 20px;
padding-left: 10px;
}
/* Styles for selected team preview */
/*
div.switchmenu button:disabled,
div.switchmenu button[disabled] {
box-sizing: unset;
}
*/
/* Styles for switch button at battle */
div.switchmenu button[name="chooseSwitch"],
div.switchmenu button[name="chooseDisabled"] {
height: 38px;
margin-bottom: 4px;
margin-left: 20px;
padding-left: 10px;
}
}
}