MediaWiki:Common.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) (Replaced content with ".welcome { text-align: center; font-size: 4em; } .lore-spotlight-widget { background: #001933; border: 1px solid #FF6300; padding: 0.75em; margin: 1em 0; font-style: italic; border-radius: 4px; } .mw-datatable th { background-color: var(--color-accent-navy); }") |
Cdjensen94 (talk | contribs) |
||
| (27 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
font-size: 4em; | font-size: 4em; | ||
} | } | ||
. | .emoji-trigger-wrap { margin-bottom: .5rem; } | ||
#emoji-trigger { margin-right: .5rem; } | |||
/* --- VoteNY: render as 👍1 --- */ | |||
.vote-box { | |||
background-color: transparent; /* remove green box */ | |||
height: auto; | |||
width: auto; | |||
padding: 0; | |||
display: inline-block !important; | |||
align-items: center; | |||
} | } | ||
. | |||
#PollVotes.vote-number { | |||
color: inherit; /* stop forcing white */ | |||
display: inline-block !important; | |||
background-color: transparent; | |||
font-size: var(--font-size-medium) !important; | |||
font-weight: 600; | |||
} | |||
.vote-box::before { | |||
content: "👍"; | |||
display: inline-block; | |||
font-size: var(--font-size-medium) !important; | |||
line-height: 1; | |||
} | |||
#PollVotes.vote-number::before { | |||
content: none !important; | |||
} | |||
/* Hide the Vote/unvote link (we’ll keep it functional via JS) */ | |||
#Answer.vote-action { | |||
display: none; | |||
} | } | ||
Latest revision as of 10:50, 31 December 2025
.welcome {
text-align: center;
font-size: 4em;
}
.emoji-trigger-wrap { margin-bottom: .5rem; }
#emoji-trigger { margin-right: .5rem; }
/* --- VoteNY: render as 👍1 --- */
.vote-box {
background-color: transparent; /* remove green box */
height: auto;
width: auto;
padding: 0;
display: inline-block !important;
align-items: center;
}
#PollVotes.vote-number {
color: inherit; /* stop forcing white */
display: inline-block !important;
background-color: transparent;
font-size: var(--font-size-medium) !important;
font-weight: 600;
}
.vote-box::before {
content: "👍";
display: inline-block;
font-size: var(--font-size-medium) !important;
line-height: 1;
}
#PollVotes.vote-number::before {
content: none !important;
}
/* Hide the Vote/unvote link (we’ll keep it functional via JS) */
#Answer.vote-action {
display: none;
}