MediaWiki:Common.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) |
Cdjensen94 (talk | contribs) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
.vote-box { | .vote-box { | ||
background-color: transparent; /* remove green box */ | background-color: transparent; /* remove green box */ | ||
height: auto; | |||
width: auto; | width: auto; | ||
padding: 0; | padding: 0; | ||
display: inline-block; | display: inline-block !important; | ||
align-items: center; | align-items: center; | ||
} | } | ||
| Line 17: | Line 17: | ||
#PollVotes.vote-number { | #PollVotes.vote-number { | ||
color: inherit; /* stop forcing white */ | color: inherit; /* stop forcing white */ | ||
display: inline-block !important; | |||
background-color: transparent; | |||
font-size: var(--font-size-medium) !important; | font-size: var(--font-size-medium) !important; | ||
font-weight: 600; | font-weight: 600; | ||
} | |||
.vote-box::before { | |||
content: "👍"; | |||
display: inline-block; | |||
font-size: var(--font-size-medium) !important; | |||
line-height: 1; | |||
} | } | ||
#PollVotes.vote-number::before { | #PollVotes.vote-number::before { | ||
content: | content: none !important; | ||
} | } | ||
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;
}