UNPKG

increments

Version:

Create polls and manage votes with a MongoDB or MySQL database.

154 lines (150 loc) 3.15 kB
body { background: #f3f3f3; margin: 15px 0 0 0; padding: 0; text-align: center; } a, h1, h2, h3, h4 { text-align: center; font-family: sans-serif; } .candidates { list-style: none; padding: 0; margin: 0; text-align: center; margin: 10px 0; } .candidate { background: #afafaf; display: inline-block; width: 120px; height: 50px; color: white; font-family: sans-serif; font-size: 21px; text-align: center; padding: 50px 15px; margin: 20px; cursor: pointer; overflow: hidden; vertical-align: middle; } .red { background: #F44336; outline-color: #F44336; color: white; } .blue { background: #1565C0; outline-color: #1565C0; color: white; } .darkblue { background: #01297d; outline-color: #01297d; color: white; } .skyblue { background: #4fc3f7; outline-color: #4fc3f7; color: white; } .orange { background: #ff9800; outline-color: #ff9800; color: white; } .green { background: #4caf50; outline-color: #4caf50; color: white; } .purple { background: rgb(94, 0 , 154); outline-color: rgb(94, 0 , 154); color: white; } .pink { background: #da569e; outline-color: #da569e; color: white; } .black { background: black; outline-color: black; color: white; } .white { background: white; outline-color: white; color: black; } h1.red, h2.red, h3.red { color: #F44336; background: transparent; margin: 5px 0; } h1.blue, h2.blue, h3.blue { color: #1565C0; background: transparent; margin: 5px 0; } h1.darkblue, h2.darkblue, h3.darkblue { color: #01297d; background: transparent; margin: 5px 0; } h1.skyblue, h2.skyblue, h3.skyblue { color: #4fc3f7; background: transparent; margin: 5px 0; } h1.orange, h2.orange, h3.orange { color: #ff9800; background: transparent; margin: 5px 0; } h1.green, h2.green, h3.green { color: #4caf50; background: transparent; margin: 5px 0; } h1.purple, h2.purple, h3.purple { color: rgb(94, 0 , 154); background: transparent; margin: 5px 0; } h1.pink, h2.pink, h3.pink { color: #da569e; background: transparent; margin: 5px 0; } h1.black, h2.black, h3.black { color: black; background: transparent; margin: 5px 0; } h1.white, h2.white, h3.white { color: white; background: transparent; margin: 5px 0; } h2.projectedVotes { margin: 0; } form { text-align: center; } input { text-align: center; font-size: 21px; } .button { font-size: 16px; background: white; border: 1px solid #cccccc; border-radius: 4px; margin-top: 10px; } ul.statistics { padding: 0; margin: 0; position: absolute; bottom: 0; width: 100%; background: #b6b6b6; text-align: center; } ul.statistics li { display: inline-block; font-family: sans-serif; font-size: 20px; text-align: center; width: 49%; padding: 20px 0; overflow: hidden; height: 60px; transition: all 0.2s linear; } ul.statistics li div { font-size: 20px; } .voteLink { font-size: 22px; text-decoration: none; color: #3F51B5; } .voteLink:hover { text-decoration: underline; } .error { background: #f9ff56; width: 50%; margin: 0 auto; text-align: center; padding: 15px; border-radius: 0px; font-family: sans-serif; } .swish { transition: all 0.2s linear; }