projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix css malforming very long headers
[selectricity-live]
/
public
/
stylesheets
/
main.css
diff --git
a/public/stylesheets/main.css
b/public/stylesheets/main.css
index 13626a13bd67f4a807535390e38f603e9ef76c8c..50863c1cadb807adf2adee481dc5e41327182068 100644
(file)
--- a/
public/stylesheets/main.css
+++ b/
public/stylesheets/main.css
@@
-71,15
+71,9
@@
label {
color: #666666;
}
color: #666666;
}
-/* #graph {
- margin-top: 50px;
- background: url(/images/graph.jpg) top left no-repeat;
- height: 0px;
- overflow: hidden;
- padding-top: 243px;
-} */
-
-
+.graph {
+ text-align: center;
+}
/* Right column. Includes top-bar and main-box. */
/* Right column. Includes top-bar and main-box. */
@@
-153,15
+147,14
@@
h5 {
}
#title-header {
}
#title-header {
- margin: -20px -20px 1em -20px;
- height: 32px;
- margin-bottom: 14px;
+ margin: -20px -20px 14px -20px;
+ height: 34px;
background-color: #e5e5e5;
}
.normal-header {
margin: 1.3em -20px 1.3em -20px;
background-color: #e5e5e5;
}
.normal-header {
margin: 1.3em -20px 1.3em -20px;
- height: 3
2
px;
+ height: 3
4
px;
background-color: #e5e5e5;
}
background-color: #e5e5e5;
}
@@
-173,7
+166,7
@@
h5 {
text-align: center;
color: white;
background-color: #999999;
text-align: center;
color: white;
background-color: #999999;
- height: 3
2
px;
+ height: 3
4
px;
float: left;
padding: 0px .75em 0px .75em;
}
float: left;
padding: 0px .75em 0px .75em;
}
@@
-184,8
+177,9
@@
h5 {
font-size: 18px;
color: #666666;
background-color: #e5e5e5;
font-size: 18px;
color: #666666;
background-color: #e5e5e5;
- height: 26px;
- padding: 6px 1em 0px 10px;
+ /* height: 26px; */
+ padding: 6px 0px 0px 10px;
+ margin-bottom: 14px;
}
#main-box {
}
#main-box {
@@
-266,22
+260,29
@@
li.moveable {
float: left;
}
float: left;
}
+.result_table {
+ text-align: center;
+ margin-bottom: 1em;
+}
.preftable {
.preftable {
+ font-family: verdana,arial,helvetica,sans-serif;
border-spacing: 0px;
border-spacing: 0px;
- border-width: 2px;
- border-color: #999999;
- border-style: solid;
+ border-width: 2px;
+ border-color: #999999;
+ border-style: solid;
+ caption-side: top;
}
.preftable th {
}
.preftable th {
+ font-family: verdana,arial,helvetica,sans-serif;
border-width: 2px;
border-color: #999999;
border-style: solid;
text-align: center;
font-weight: bold;
border-width: 2px;
border-color: #999999;
border-style: solid;
text-align: center;
font-weight: bold;
- padding: 5px 5px 5px
1
5px;
+ padding: 5px 5px 5px 5px;
background-color: #999999;
background-color: #999999;
- color: #
fff
;
+ color: #
FFFFFF
;
}
.preftable td {
}
.preftable td {
@@
-289,7
+290,6
@@
li.moveable {
border-width: 1px;
border-color: #999999;
border-style: solid;
border-width: 1px;
border-color: #999999;
border-style: solid;
-
text-align: right;
padding-right: 5px;
padding-left: 5px;
text-align: right;
padding-right: 5px;
padding-left: 5px;
@@
-324,6
+324,16
@@
li.moveable {
padding-left: 5px;
}
padding-left: 5px;
}
+/* voterbox#election is used on user summary page */
+.voterbox#election { border-color: #990d13; }
+
+.voterbox#election th {
+ background-color: #dc0d13;
+ border-color: #dc0d13;
+}
+
+.voterbox#election td { border-color: #990d13;}
+
.rbmoreinfo hr {
width: 100%;
height: 10px;
.rbmoreinfo hr {
width: 100%;
height: 10px;
@@
-347,7
+357,7
@@
li.moveable {
width: 400px;
border-width: 2px;
border-style: solid;
width: 400px;
border-width: 2px;
border-style: solid;
- border-color: #
73BF26
;
+ border-color: #
999999
;
padding: 7px;
padding-bottom: 12px;
margin-bottom: 20px;
padding: 7px;
padding-bottom: 12px;
margin-bottom: 20px;
@@
-360,7
+370,7
@@
li.moveable {
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: -7px;
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: -7px;
- background-color: #
73BF26
;
+ background-color: #
999999
;
color: #fff;
border-bottom: 0px;
}
color: #fff;
border-bottom: 0px;
}
@@
-375,7
+385,7
@@
li.moveable {
width: 400px;
border-width: 2px;
border-style: solid;
width: 400px;
border-width: 2px;
border-style: solid;
- border-color: #
4D801A
;
+ border-color: #
dc0d13
;
padding: 7px;
padding-bottom: 12px;
margin-bottom: 20px;
padding: 7px;
padding-bottom: 12px;
margin-bottom: 20px;
@@
-390,7
+400,7
@@
li.moveable {
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: -7px;
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: -7px;
- background-color: #
4D801A
;
+ background-color: #
dc0d13
;
color: #fff;
border-bottom: 0px;
}
color: #fff;
border-bottom: 0px;
}
@@
-400,19
+410,57
@@
li.moveable {
padding: 5px;
}
padding: 5px;
}
-#
election_creation_
progress_bar ul li {
+#progress_bar ul li {
display: block;
list-style: default;
}
display: block;
list-style: default;
}
-#
election_creation_
progress_bar li.step_selected {
+#progress_bar li.step_selected {
font-weight: bold;
}
font-weight: bold;
}
-#
election_creation_
progress_bar li.step_unselected {
+#progress_bar li.step_unselected {
color: #CCCCCC;
font-weight: bold;
}
color: #CCCCCC;
font-weight: bold;
}
+#progress_bar li.step_unselected {
+ color: #CCCCCC;
+ font-weight: bold;
+}
+
+#progress_bar li.step_unselected a {
+ text-decoration: none;
+}
+
+div.photo {
+ text-align: center;
+ margin-bottom: 1.5em;
+}
+
+div.photo img {
+ border: 1px black solid;
+}
+.winner_text {
+ text-align: center;
+}
+
+#winner_box {
+ border: 3px white solid;
+ background-color: #666666;
+ color: white;
+ margin: 0.5em 0 1em 0;
+}
+.winner_text {
+ font-size: 1.2em;
+}
+#winner_box .winner_text {
+ font-size: 2em;
+}
+
+#winner_box p {
+ margin: 0;
+ padding: 0;
+}
Benjamin Mako Hill
||
Want to submit a patch?