MediaWiki:Gadget-ResourcePacks.css

.hsw-resourcepack-dropdown { display: flex; } .hsw-resourcepack-dropdown .wds-dropdown__toggle { line-height: 1; }

.hsw-pack-list li { position: relative; font-size: 14px; font-weight: 400; padding: 11px 9px; white-space: nowrap; } .hsw-pack-list li.unselected { opacity: 0.75; background-color: #aaaaaa33; margin-top: 2px; } .hsw-pack-list li:not(.default):hover { background-color: var(--wds-dropdown-linked-item-background-color); color: var(--wds-dropdown-linked-item-color); text-decoration: none; opacity: 1; cursor: pointer; }

/* Containers for pack data */ .hsw-pack-box { display: grid; grid-template-columns: auto 1fr auto; gap: 5px 10px; } li.default .hsw-pack-box { grid-template-columns: auto 1fr; } .hsw-pack-box .check, .hsw-pack-box .pack-site { grid-row: span 2; display: flex; align-items: center; justify-content: center; } .hsw-pack-box .check { width: 20px; } .hsw-pack-box .check img { width: 18px; } .default .hsw-pack-box .check:before { content: ""; display: block; width: 18px; height: 18px; background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/0/0b/DefaultPack.png/revision/latest/scale-to-width-down/18); } .hsw-pack-box .pack-site { width: 35px; color: white; } a.pack-site:hover { color: var(--theme-link-color); stroke-width: 1; stroke: gold; } .hsw-pack-box .pack-author { font-size: 12px; font-weight: normal; text-transform: none; }

/* Up/Down arrows */ .hsw-pack-box .pack-up, .hsw-pack-box .pack-down { position: absolute; display: none; fill: currentColor; color: white; } .hsw-pack-list li:hover .pack-up, .hsw-pack-list li:hover .pack-down { display: initial; } .hsw-pack-box .pack-up:hover, .hsw-pack-box .pack-down:hover { color: var(--theme-link-color); stroke-width: 1; stroke: gold; } .hsw-pack-box .pack-up { top: 0; transform: rotate(180deg); } .hsw-pack-box .pack-down { bottom: 0; } .hsw-pack-box .pack-up svg, .hsw-pack-box .pack-down svg { width: 18px; height: 18px; }