Election results in the London Borough of Sutton.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 3.4 KiB

14 years ago
14 years ago
14 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. body
  2. {
  3. background-color: #fff;
  4. color: #555;
  5. font-family: Helvetica, Arial, sans-serif;
  6. font-size: 100%;
  7. width: 100%;
  8. line-height: 1.5em;
  9. margin: 0;
  10. padding: 0;
  11. }
  12. .warning {
  13. padding: 10px 15px;
  14. background-color: #fcfcfc;
  15. margin: 25px 0;
  16. }
  17. p
  18. {
  19. font-size: 110%;
  20. }
  21. input
  22. {
  23. font-size: 130%;
  24. background-color: #fff;
  25. }
  26. input.postcode
  27. {
  28. text-transform: uppercase;
  29. }
  30. #main
  31. {
  32. width: 920px;
  33. margin: 50px auto;
  34. }
  35. tr.footer {
  36. border-top: 1px solid #eee;
  37. border-bottom: 0px solid black;
  38. }
  39. tr.header {
  40. border-bottom: 1px solid #eee;
  41. }
  42. #header
  43. {
  44. font-size: 100%;
  45. background-color: #e8f3f4;
  46. color: #999;
  47. text-align: left;
  48. margin: 0 0 0px 0;
  49. height: 100%;
  50. }
  51. #header_inner {
  52. margin: 0 auto;
  53. padding: 10px 0;
  54. width: 930px;
  55. }
  56. #header h1 {
  57. font-size: 180%;
  58. color: #555;
  59. }
  60. a
  61. {
  62. padding: 1px 4px;
  63. color: #999;
  64. text-decoration: none;
  65. }
  66. a:visited
  67. {
  68. padding: 1px 4px;
  69. color: #111;
  70. text-decoration: none;
  71. }
  72. a:hover
  73. {
  74. background-color: #4f4f4f;
  75. color: #fff;
  76. }
  77. /*
  78. Show icon for external links
  79. https://stackoverflow.com/questions/18168286/how-can-i-style-external-links-like-wikipedia
  80. */
  81. /*a[href^="//"]:after,
  82. a[href^="http://"]:after,
  83. a[href^="https://"]:after {
  84. content: url(/external-link.png);
  85. margin: 0 0 0 5px;
  86. }*/
  87. h1
  88. {
  89. margin-top: 20px;
  90. line-height: 1.4em;
  91. font-weight: bold;
  92. color: #555;
  93. }
  94. h2
  95. {
  96. margin-top: 40px;
  97. line-height: 1.5em;
  98. font-weight: bold;
  99. color: #555;
  100. }
  101. h3
  102. {
  103. margin: 30px 0 10px 0;
  104. line-height: 1.5em;
  105. font-weight: bold;
  106. color: #555;
  107. }
  108. form
  109. {
  110. font-size: 150%;
  111. }
  112. .candidate_name
  113. {
  114. font-size: 150%;
  115. font-weight: bold;
  116. }
  117. .candidate_party
  118. {
  119. color: #999;
  120. }
  121. .highlight
  122. {
  123. background-color: #e8f3f4;
  124. }
  125. strong
  126. {
  127. color: #000;
  128. }
  129. table
  130. {
  131. border-collapse: collapse;
  132. margin: 60px 0;
  133. }
  134. td, th
  135. {
  136. padding: 6px;
  137. }
  138. th {
  139. font-weight: normal;
  140. }
  141. tr
  142. {
  143. border-bottom: 1px solid #eee;
  144. }
  145. .right
  146. {
  147. text-align: right;
  148. }
  149. .elected
  150. {
  151. background-color: #e8f3f4;
  152. color: #333;
  153. padding: 2px 5px;
  154. font-weight: normal;
  155. }
  156. .elected_text
  157. {
  158. text-transform: lowercase;
  159. }
  160. .noborder
  161. {
  162. border: 0;
  163. }
  164. #lookup {
  165. background-color: #fafafa;
  166. padding: 0px 10px;
  167. }
  168. #notice {
  169. background-color: green;
  170. color: white;
  171. padding: 10px 20px;
  172. }
  173. #error {
  174. background-color: red;
  175. color: white;
  176. padding: 10px 20px;
  177. }
  178. /* Wardmap */
  179. .wardmap tr, .wardmap td.blank
  180. {
  181. border: 0;
  182. }
  183. .wardmap td
  184. {
  185. border: 1px solid #fff;
  186. width: 16%;
  187. height: 80px;
  188. padding: 10px;
  189. text-align: center;
  190. font-size: 90%;
  191. }
  192. .ld3 a, .ld3 a:visited, .ld2 a, .ld2 a:visited
  193. {
  194. background-color: orange;
  195. color: white;
  196. padding: 3px;
  197. line-height: 1.5em;
  198. width: 70%;
  199. }
  200. .ld1 a, .ld1 a:visited, .con3 a, .con3 a:visited
  201. {
  202. background-color: blue;
  203. color: white;
  204. padding: 3px;
  205. line-height: 1.5em;
  206. width: 70%;
  207. }
  208. .wardmap a:hover
  209. {
  210. background-color: black;
  211. color: white;
  212. padding: 3px;
  213. line-height: 1.5em;
  214. width: 70%;
  215. }
  216. .ld3
  217. {
  218. background-color: orange;
  219. color: white;
  220. }
  221. .ld2
  222. {
  223. background-color: orange;
  224. background-image: url('ld2.png');
  225. color: white;
  226. }
  227. .ld1
  228. {
  229. background-color: blue;
  230. background-image: url('ld1.png');
  231. color: white;
  232. }
  233. .con3
  234. {
  235. background-color: blue;
  236. color: white;
  237. }
  238. .letter_index a {
  239. margin: 0 10px 0 0;
  240. }
  241. #candidate_bio img {
  242. float: left;
  243. margin: 0 15px 15px 0;
  244. }
  245. #polling_station {
  246. background-color: beige;
  247. border: 1px solid green;
  248. padding: 20px 20px;
  249. }