aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bristol/base.scss
blob: dea303f42d29091f032f73d70aa5829d387fb4b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@import "../sass/h5bp";
@import "./_colours";
@import "./_fonts";
@import "../sass/mixins";

@import "../sass/base";
@import "../sass/report_list_pins";

// Put the BCC logo in place, and reveal the 'bristol.gov.uk' text alongside it
#site-logo {
  @extend %bold-font;

  height: auto;
  background: url(/cobrands/bristol/img/bcclogo.png) 0 50% no-repeat;
  background-size: 37px;
  text-indent: 47px;
  line-height: 37px;
  font-size: 24px;
  padding: 0.5em 0;
  margin: 0;
  color: white;
}

#site-header {
  border-bottom: solid 5px $bcc_red;
}

// Style the Bristol footer correctly
.bristol_footer {
  background-color: $g1;
  border-top: solid 5px $bcc_red;

  footer {
    margin: 0 auto;
    padding: 1em 0;
    max-width: 60em;
    text-align: center;

    #footer-logo, .footer-title {
      display: none;
    }

    ul {
      list-style: none;
      margin-left: 0;
      font-size: 0.875em;

      li {
        display: inline-block;
      }
    }

    .legal-nav li {
      padding: 0 1em;

      &:after {
      }
    }

    .footer-social-links li {
      margin-right: 6px;
      padding: 0;
      background-color: black;
      height: 42px;
      width: 42px;
    }

    a, a:hover {
      color: white;
      text-decoration: none;
    }
  }
}

// Set the default font colour everywhere
body, .content {
  color: $g1;
}

// Make sure the numbers on the front page have the correct font weight
#front_stats {
  color: white;

  div {
    @extend %bold-font;
  }
}

// FAQ/privacy pages should have correctly-weighted headers
dl dt {
  @extend %bold-font;
}


#front-main {
  text-align: left;

  h1 {
    font-size: 1.75em;
  }
  h2 {
    font-style: normal;
    font-size: 1.25em;
  }

  #postcodeForm {
    color: white;
    margin-top: 1em;
  }
}

a#geolocate_link {
  color: $b3;
}

label {
  @extend %bold-font;
}

#map #drag .square-map__tile {
  position: static;
}

// uses important because btn also uses it
#highways .segmented-control--radio input:checked + label.btn {
    color: $g7 !important;
    font-weight: bold !important;
}