MediaWiki:Gadget-ResourcePacks.css

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

.wds-dropdown__content { padding: 0; border: 2px solid #c4a494; }

.hsw-pack-header { padding: 8px 6px 0; background: rgba(0,0,0,0.2); } .hsw-pack-header strong { display: block; text-align: center; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid currentColor; }

.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; color: white; } .hsw-pack-box .check img, .hsw-pack-box .check svg { width: 18px; height: auto; } .hsw-pack-list li:not(.default):hover .check .hsw-plus { color: gold; stroke-width: 2; stroke: var(--theme-link-color); } .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.5; 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; }