Jump to content

MediaWiki:Common.css: Difference between revisions

 
(4 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;
  height: auto;
   padding: 0;
   padding: 0;
   display: inline-flex;
   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;  
   background-color: transparent;  
   font-size: var(--font-size-medium) !important;
   font-size: var(--font-size-medium) !important;
  padding: 0.25;
   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;
  font-size: var(--font-size-medium) !important;
  margin-right: 0.15em;
}
}