Fandom Developers Wiki
Advertisement

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Credits: ModernPolls */

.d-poll {
    --mp-question-text: currentColor;
    --mp-answers-text: currentColor;
    --mp-votes-background: rgba(0, 0, 0 ,.2);
    --mp-votes-bar: currentColor;
    --mp-votes-bar-blend: normal;
}
.d-poll__question {
    color: var(--mp-question-text);
}
.d-poll__answer {
    position: relative;
    padding: 1em 0;
    font-size: 0.9em;
    color: var(--mp-answers-text);
}
.d-poll__answer-alt {
    font-style: italic;
    opacity: .5;
}
.d-poll__answerName {
    display: flex;
    align-items: center;
}
.d-poll__answerName > input {
    margin: 0 0.3em;
}
.d-poll__answerVotes {
    position: absolute;
    top: 1em;
    right: 0;
}
.d-poll__answerBar {
    background: var(--mp-votes-background);
}
.d-poll__answerBar > div {
    height: 3px;
    background: var(--mp-votes-bar);
    mix-blend-mode: var(--mp-votes-bar-blend);
}
.d-poll__info {
    font-size: 0.8em;
}
.d-poll input[type="submit"] {
    width: 100%;
    height: auto;
    background-image: none;
    box-sizing: border-box;
    padding: 7px 18px;
    border-radius: 3px;
    font-size: 12px;
    letter-spacing: .15px;
    font-weight: bold;
    text-transform: uppercase;
}
Advertisement