dev

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

/* @author: KhangND */

.d-poll {
    --color-primary: #008aff8c;
    --space: 0.6em 1em;
    --round: 4px;
}
.d-poll {
    background: #f3f3f32e;
    border: 1px solid var(--color-primary);
    border-radius: var(--round);
}
.d-poll__question {
    background: var(--color-primary);
    padding: var(--space);
}
.d-poll__answer {
    background: var(--color-white);
    border-bottom: 1px solid #919191;
    position: relative;
}
.d-poll__answer-alt {
    font-style: italic;
    opacity: .5;
}
.d-poll__answerName {
    display: block;
    padding: var(--space);
    cursor: pointer;
}
.d-poll__answerVotes {
    position: absolute;
    top: 0;
    right: 0;
    padding: var(--space);
}
.d-poll__info {
    padding: var(--space);
    text-align: center;
}
.d-poll input[type="submit"] {
    background: var(--color-primary);
    border: #357ebd;
    padding: 0.5em;
    margin: 0 var(--space);
    display: block;
    width: calc(100% - 1.3em);
    height: unset;
    line-height: unset;
}
.d-poll input[type="submit"]:hover {
    background: #3276b1;
}