Jump to content

MediaWiki:Common.css: Difference between revisions

 
(16 intermediate revisions by the same user not shown)
Line 5: Line 5:
.emoji-trigger-wrap { margin-bottom: .5rem; }
.emoji-trigger-wrap { margin-bottom: .5rem; }
#emoji-trigger { margin-right: .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;
}