Jump to content

MediaWiki:Common.css: Difference between revisions

From Continuum Universes Wiki
 
(14 intermediate revisions by the same user not shown)
Line 6: Line 6:
#emoji-trigger { margin-right: .5rem; }
#emoji-trigger { margin-right: .5rem; }
/* --- VoteNY: render as 👍1 --- */
/* --- VoteNY: render as 👍1 --- */
#votebox.vote-box {
.vote-box {
   background: transparent;  /* remove green box */
   background-color: transparent;  /* remove green box */
  height: auto;
   width: auto;
   width: auto;
  height: auto;
   padding: 0;
   padding: 0;
   display: inline-flex;
   display: inline-block !important;
   align-items: center;
   align-items: center;
}
}


#votebox .vote-number {
#PollVotes.vote-number {
   color: inherit;            /* stop forcing white */
   color: inherit;            /* stop forcing white */
   font-size: var(--text-size-medium);
  display: inline-block !important;
  background-color: transparent;
   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;
}
}


#votebox .vote-number::before {
#PollVotes.vote-number::before {
   content: "👍";
   content: none !important;
  margin-right: 0.15em;
}
}



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;
}