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.
 
 
 
 

298 lines
3.3 KiB

  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. text-transform: lowercase;
  156. }
  157. .noborder
  158. {
  159. border: 0;
  160. }
  161. #lookup {
  162. background-color: #fafafa;
  163. padding: 0px 10px;
  164. }
  165. #notice {
  166. background-color: green;
  167. color: white;
  168. padding: 10px 20px;
  169. }
  170. #error {
  171. background-color: red;
  172. color: white;
  173. padding: 10px 20px;
  174. }
  175. /* Wardmap */
  176. .wardmap tr, .wardmap td.blank
  177. {
  178. border: 0;
  179. }
  180. .wardmap td
  181. {
  182. border: 1px solid #fff;
  183. width: 16%;
  184. height: 80px;
  185. padding: 10px;
  186. text-align: center;
  187. font-size: 90%;
  188. }
  189. .ld3 a, .ld3 a:visited, .ld2 a, .ld2 a:visited
  190. {
  191. background-color: orange;
  192. color: white;
  193. padding: 3px;
  194. line-height: 1.5em;
  195. width: 70%;
  196. }
  197. .ld1 a, .ld1 a:visited, .con3 a, .con3 a:visited
  198. {
  199. background-color: blue;
  200. color: white;
  201. padding: 3px;
  202. line-height: 1.5em;
  203. width: 70%;
  204. }
  205. .wardmap a:hover
  206. {
  207. background-color: black;
  208. color: white;
  209. padding: 3px;
  210. line-height: 1.5em;
  211. width: 70%;
  212. }
  213. .ld3
  214. {
  215. background-color: orange;
  216. color: white;
  217. }
  218. .ld2
  219. {
  220. background-color: orange;
  221. background-image: url('ld2.png');
  222. color: white;
  223. }
  224. .ld1
  225. {
  226. background-color: blue;
  227. background-image: url('ld1.png');
  228. color: white;
  229. }
  230. .con3
  231. {
  232. background-color: blue;
  233. color: white;
  234. }
  235. .letter_index a {
  236. margin: 0 10px 0 0;
  237. }
  238. #candidate_bio img {
  239. float: left;
  240. margin: 0 15px 15px 0;
  241. }
  242. #polling_station {
  243. background-color: beige;
  244. border: 1px solid green;
  245. padding: 20px 20px;
  246. }