X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/b9f3bbdefb7bb1abd63193e2162aae1e78e1a1cb..cf61519ba2f371181958d4aeb7f5f19384453187:/public/stylesheets/main.css diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 86cf84b..185b48a 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -1,33 +1,226 @@ -body { - font-size: 1em; - font-weight: normal; - word-spacing: normal; - letter-spacing: normal; - text-transform: none; - font-family: Myriad Web, Geneva, Arial, Helvetica, sans-serif; - font-size-adjust: .48; -} -p, blockquote, ul, ol, dl, dd, li, dir, menu {} - -h1, h2, h3, h4 { - border-bottom: 1px solid #4D801A; - text-shadow: #4D801A 0.2em 0.2em 3px; - -} -#headertext a {color: #FFFFFF; text-decoration: none;} - -a:link { font-weight: bold; color: #4D801A; text-decoration: underline; } -a:visited { font-weight: bold; color: #4D801A; text-decoration: underline; } -a:hover { color: #FFFFFF; text-decoration: none; background: #0063DC; } -a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } - -#loginbox { - padding: 10px; - border: 1px solid; - width: 400px; - text-align: left; +@charset "utf-8"; +/* CSS Document */ + +/**************************************************************** + Selectricity || selectricity.org + Design by Courtland Allen +*****************************************************************/ + +/* basics */ + +body { + color: black; + background: white; + background: url(/images/bg_main.png) repeat-x top left; +} + +h2 { + font-size: 24px !important; + margin: 0 0 1em 0 !important; +} + +h3 { + font-size: 18px !important; + margin: 0 0 1em 0 !important; +} + +.special { + background-color: #999999; + color: white; + text-align: center; + pading: 0 1em 0 1em; +} + + +/* Left column. Includes logo, poll information, and graph. */ + +#left-side { + width: 270px; + float: left; + text-align: left; + margin-top: 33px; + font-size: 13px; +} + +#left-side h1 { + height: 0px; + overflow: hidden; + padding-top: 189px; + background: url(/images/title_main.png) no-repeat top left; +} + + +#left-side-content { + color: #666666; + margin-top: 40px; + text-align: left; +} + +#left-side-content p { + color: #666666; + padding-left: 2em; + margin: 2em 0 2em 0; +} + +#left-side-content ol { + color: #666666; +} + +/* #graph { + margin-top: 50px; + background: url(/images/graph.jpg) top left no-repeat; + height: 0px; + overflow: hidden; + padding-top: 243px; +} */ + + + +/* Right column. Includes top-bar and main-box. */ + +#right-side { + width: 611px; + margin-top: 0px; + float: right; +} + +#top-bar { + float: right; + margin-right: 50px; + width: 231px; + text-align: center; + margin-bottom: 35px; +} + +#top-bar a { + color: #dddddd; + font-size: 11px; +} + +div#bar-left { + background-image: url(/images/top_bar_1.png); + width: 153px; + height: 37px; + padding-top: 8px; + float: left; + clear: left; +} + +div#bar-right { + background-image: url(/images/top_bar_2.png); + width: 78px; + height: 37px; + padding-top: 8px; + float: left; + clear: right; +} + +.green { color: #10a700; } + +.left-aligned h4 { + float: left; + padding-top: 26px; + height: 0px; + overflow: hidden; + background: no-repeat top left; +} + +.right-aligned h4 { + float: right; + padding-top: 26px; + height: 0px; + overflow: hidden; + background: no-repeat top right; +} + +.left-aligned { text-align: left; } + +.right-aligned { text-align: right; } + +h5 { + color: #5c5c5c; + background-color: #d6d6d6; + height: 21px; + font-size: 16px; + padding: 5px 15px 0 15px; + margin-bottom: .75em; + overflow: hidden; +} + +#quickvote-title .header { + background-color: #74ce00; +} + +#quickvote-title .subheader { + color: #74ce00; + background-color: #e5e5e5; +} + +#controlroom-title .header { + background-color: #dc0d13; +} + +#controlroom-title .subheader { + color: #dc0d13; + background-color: #e5e5e5; } +#voters-title .header { + background-color: #005cd9; +} + +#voters-title .subheader { + color: #005cd9; + background-color: #e5e5e5; +} + +.header { + display: block; + font-family: "trebuchet ms",trebuchet,verdana,arial,sans-serif; + font-size:30px; + text-transform: uppercase; + text-align: center; + color: white; + background-color: #999999; + height: 32px; + float: left; + padding: 0px .75em 0px .75em; + margin-right: 10px; + margin-bottom: 14px; +} + +.subheader { + display: block; + font-family: "trebuchet ms",trebuchet,verdana,arial,sans-serif; + font-size: 18px; + text-align: left; + color: #666666; + background-color: #CCCCCC; + height: 26px; + padding: 6px 1em 0px 20px; + margin-bottom: 14px; +} + +#main-box { + float: right; + width: 611px; + padding: 0; + background: #f9f9f9; + border: 1px solid #b3b3b3; +} + +#main-box h1 { + +} + +#main-box p { + margin-bottom: 1.75em; + padding: 0 1.7em 0 1.7em; + line-height: 1.8em; + color: #454545; +} + + #ErrorExplanation { width: 400px; border: 2px solid 'red'; @@ -58,23 +251,6 @@ a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } list-style: square; } -#top { padding-left: 10px; - padding-right: 10px; - padding-top: 5px; - padding-bottom: 5px; - font-weight: normal; - background: #73BF26; - color: #FFFFFF; -} - -#top h3 { - border-bottom: 0px; - font-size: 30px; } - -#links { text-align : right; } -#links a { color: #FFF; font-weight: bold; } -#links a:visited { color: #FFF; font-weight: bold; } - .ListLine0 { background: #e0f8f8; @@ -84,8 +260,6 @@ a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } } -#main { margin: 30px; } - #notice { background: #FFFBB3; text-align: left; font-weight: bold; @@ -105,18 +279,6 @@ a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } background-color: #f0f0f0; } -#footer { text-align: center; - font-size: 12px; - color: #464646; - clear: both;} - -#footer a { font-weight: normal; } - -#subtext { - text-align: center; - font-size: 12px; - font-weight: bold; } - .fieldWithErrors { display: inline; } @@ -124,8 +286,6 @@ a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } background-color: #ffdfdf; } - - #xxErrorExplanation h2 { text-align: left; font-weight: bold; @@ -167,6 +327,7 @@ a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } color: #fff; border-bottom: 0px; } + .resultbox { text-align: center; width: 400px; @@ -312,3 +473,60 @@ li.moveable { padding: 5px; } +#election_creation_progress_bar ul li { + display: inline; + list-style: default; +} + +#election_creation_progress_bar ul li:after { + font-weight: normal; + color: #000; + content: " || "; +} + +#election_creation_progress_bar ul li.last:after { + content: ""; +} + +#election_creation_progress_bar li.step_selected { + font-weight: bold; +} + +#election_creation_progress_bar li.step_unselected { + color: #CCCCCC; + font-weight: bold; +} + +/* +#plurality h4 { + background: url(/images/voting_plurality.png); + width: 217px; +} + +#schulze h4 { + background: url(/images/voting_schulze_quickvote.png); + width: 183px; +} + +#approval h4 { + background: url(/images/voting_approval.png); + width: 208px; +} + +#borda h4 { + background: url(/images/voting_borda.png); + width: 147px; +} + +#condorcet h4 { + background: url(/images/voting_condorcet.png); + width: 240px; +} + +#irv h4 { + background: url(/images/voting_irv.png); + width: 86px; +} +*/ + +