X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/9bf50e50af5988af4cb44555fbb13154249e441d..86087be54da5f8c3af8fa475fafebd0c5527da9f:/public/stylesheets/main.css diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 76eff61..ca71d76 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -1,33 +1,167 @@ -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; +} + + +/* 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; +} + + + +#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 +192,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 +201,6 @@ a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } } -#main { margin: 30px; } - #notice { background: #FFFBB3; text-align: left; font-weight: bold; @@ -105,18 +220,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 +227,6 @@ a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } background-color: #ffdfdf; } - - #xxErrorExplanation h2 { text-align: left; font-weight: bold; @@ -336,3 +437,37 @@ li.moveable { 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; +} +*/ + +