|
- body
- {
- background-color: #fff;
- color: #555;
- font-family: Helvetica, Arial, sans-serif;
- font-size: 100%;
- width: 100%;
- line-height: 1.5em;
- margin: 0;
- padding: 0;
- }
-
- .warning {
- padding: 10px 15px;
- background-color: #fcfcfc;
- margin: 25px 0;
- }
-
- p
- {
- font-size: 110%;
- }
-
- input
- {
- font-size: 130%;
- background-color: #fff;
- }
-
- input.postcode
- {
- text-transform: uppercase;
- }
-
- #main
- {
- width: 920px;
- margin: 50px auto;
- }
-
- tr.footer {
- border-top: 1px solid #eee;
- border-bottom: 0px solid black;
- }
-
- tr.header {
- border-bottom: 1px solid #eee;
- }
-
-
- #header
- {
- font-size: 100%;
- background-color: #e8f3f4;
- color: #999;
- text-align: left;
- margin: 0 0 0px 0;
- height: 100%;
- }
-
- #header_inner {
- margin: 0 auto;
- padding: 10px 0;
- width: 930px;
- }
-
- #header h1 {
- font-size: 180%;
- color: #555;
- }
-
- a
- {
- padding: 1px 4px;
- color: #999;
- text-decoration: none;
- }
-
- a:visited
- {
- padding: 1px 4px;
- color: #111;
- text-decoration: none;
- }
-
- a:hover
- {
- background-color: #4f4f4f;
- color: #fff;
- }
-
- /*
- Show icon for external links
- https://stackoverflow.com/questions/18168286/how-can-i-style-external-links-like-wikipedia
- */
-
- /*a[href^="//"]:after,
- a[href^="http://"]:after,
- a[href^="https://"]:after {
- content: url(/external-link.png);
- margin: 0 0 0 5px;
- }*/
-
- h1
- {
- margin-top: 20px;
- line-height: 1.4em;
- font-weight: bold;
- color: #555;
- }
-
- h2
- {
- margin-top: 40px;
- line-height: 1.5em;
- font-weight: bold;
- color: #555;
- }
-
- h3
- {
- margin: 30px 0 10px 0;
- line-height: 1.5em;
- font-weight: bold;
- color: #555;
- }
-
-
- form
- {
- font-size: 150%;
- }
-
- .candidate_name
- {
- font-size: 150%;
- font-weight: bold;
- }
-
- .candidate_party
- {
- color: #999;
- }
-
- .highlight
- {
- background-color: #e8f3f4;
- }
-
- strong
- {
- color: #000;
- }
-
- table
- {
- border-collapse: collapse;
- margin: 60px 0;
- }
-
- td, th
- {
- padding: 6px;
- }
-
- th {
- font-weight: normal;
- }
-
- tr
- {
- border-bottom: 1px solid #eee;
- }
-
- .right
- {
- text-align: right;
- }
-
- .elected
- {
- background-color: #e8f3f4;
- color: #333;
- padding: 2px 5px;
- font-weight: normal;
- text-transform: lowercase;
- }
-
- .noborder
- {
- border: 0;
- }
-
- #lookup {
- background-color: #fafafa;
- padding: 0px 10px;
- }
-
- #notice {
- background-color: green;
- color: white;
- padding: 10px 20px;
- }
-
- #error {
- background-color: red;
- color: white;
- padding: 10px 20px;
- }
-
- /* Wardmap */
-
- .wardmap tr, .wardmap td.blank
- {
- border: 0;
- }
-
- .wardmap td
- {
- border: 1px solid #fff;
- width: 16%;
- height: 80px;
- padding: 10px;
- text-align: center;
- font-size: 90%;
- }
-
- .ld3 a, .ld3 a:visited, .ld2 a, .ld2 a:visited
- {
- background-color: orange;
- color: white;
- padding: 3px;
- line-height: 1.5em;
- width: 70%;
- }
-
- .ld1 a, .ld1 a:visited, .con3 a, .con3 a:visited
- {
- background-color: blue;
- color: white;
- padding: 3px;
- line-height: 1.5em;
- width: 70%;
- }
-
-
- .wardmap a:hover
- {
- background-color: black;
- color: white;
- padding: 3px;
- line-height: 1.5em;
- width: 70%;
- }
-
-
-
- .ld3
- {
- background-color: orange;
- color: white;
- }
-
- .ld2
- {
- background-color: orange;
- background-image: url('ld2.png');
- color: white;
- }
-
- .ld1
- {
- background-color: blue;
- background-image: url('ld1.png');
- color: white;
- }
-
- .con3
- {
- background-color: blue;
- color: white;
- }
-
- .letter_index a {
- margin: 0 10px 0 0;
- }
-
- #candidate_bio img {
- float: left;
- margin: 0 15px 15px 0;
- }
-
- #polling_station {
- background-color: beige;
- border: 1px solid green;
- padding: 20px 20px;
- }
|