User:DEmersonJMFM/polls.css

/***********************************************************************************/ /******************************* Poll Improvements *********************************/ /*********** Author: DEmersonJMFM - Latest Update: 22:14, 25 July 2016 *************/ /***** ATTRIBUTION OF FOLLOWING CODE REQUIRED UNDER CC-BY-SA LICENSE IF COPIED *****/ /*                                                                                */ /********** To Use Code, Copy/Paste Import at the Top of Your Global.css ***********/ /* @import "http://community.wikia.com/index.php?title=User:DEmersonJMFM/polls.css&action=raw&ctype=text/css&smaxage=86400&templates=expand"; */ /*                                                                                */ /****************************** Additional Information *****************************/ /***************** Note: Nulls some of Wikia's touchscreen styling *****************/ /* Code in Use: http://community.wikia.com/wiki/File:Polls_-_Default_Look_Vs_Custom_Design.png */ /************************************************************************************/

/* General Position Improvements */ /* Removes Space b/w Question & Answers */ div[id^=wpPollStatus] { display: none; } /* Improved Choice Alignment With Input Button (Nulling Touchscreen Styling) */ .pollAnswerName input[type=radio] { height: 13px !important; width: 21px; margin: 0 3px 0 0; } /* Shrink Result Bars & Add Additional Space b/t Choices */ .pollAnswer .pollAnswerVotes div { height: 12px; line-height: 12px; } .pollAnswer .pollAnswerVotes { height: 12px; margin-bottom: 5px; } /* Moves Vote Button & Poll Description Text Up */
 * 1) WikiaArticle div.ajax-poll { border: none; margin-top: 0.5em; padding: 3px 15px 0 5px; }
 * 2) WikiaArticle div.ajax-poll .header { padding: 0 0 10px 0; }
 * 1) ajax-poll-area>div:last-child { margin: -1em 0 0 4em; }

/* Resizes Vote Buttom (Nulling Touchscreen Styling) */ /* Center Vote Totals & Vote Button With Label Dependent On Screen Size */ @media screen and (max-width: 1595px) { /* Screens less than 1595px */ #WikiaArticle .pollAnswerVotes span { top: -4px; } #ajax-poll-area+input[name=wpVote] { margin-top: -22px; display: block; } } @media screen and (min-width: 1596px) { /* Screens more than 1596px */ #WikiaArticle .pollAnswerVotes span { top: -6px; } #ajax-poll-area+input[name=wpVote] { margin-top: -2em; display: block; } }
 * 1) WikiaArticle div.ajax-poll input[type=submit] { height: 21px !important; }