aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/fixamingata/layout.scss
blob: 6cf0dd47e06ded00047c6f4f7e42950a3571d238 (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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
@font-face {
  font-family: 'MuseoSans';
  src: url('../fixmystreet.com/fonts/MuseoSans_300-webfont.eot');
  src: url('../fixmystreet.com/fonts/MuseoSans_300-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fixmystreet.com/fonts/MuseoSans_300-webfont.woff') format('woff'),
       url('../fixmystreet.com/fonts/MuseoSans_300-webfont.ttf') format('truetype'),
       url('../fixmystreet.com/fonts/MuseoSans_300-webfont.svg#MuseoSans300') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MuseoSans';
  src: url('../fixmystreet.com/fonts/MuseoSans_300_Italic-webfont.eot');
  src: url('../fixmystreet.com/fonts/MuseoSans_300_Italic-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fixmystreet.com/fonts/MuseoSans_300_Italic-webfont.woff') format('woff'),
       url('../fixmystreet.com/fonts/MuseoSans_300_Italic-webfont.ttf') format('truetype'),
       url('../fixmystreet.com/fonts/MuseoSans_300_Italic-webfont.svg#MuseoSans300Italic') format('svg');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'MuseoSans';
  src: url('../fixmystreet.com/fonts/MuseoSans_500-webfont.eot');
  src: url('../fixmystreet.com/fonts/MuseoSans_500-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fixmystreet.com/fonts/MuseoSans_500-webfont.woff') format('woff'),
       url('../fixmystreet.com/fonts/MuseoSans_500-webfont.ttf') format('truetype'),
       url('../fixmystreet.com/fonts/MuseoSans_500-webfont.svg#MuseoSans500') format('svg');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'MuseoSans';
  src: url('../fixmystreet.com/fonts/MuseoSans_500_Italic-webfont.eot');
  src: url('../fixmystreet.com/fonts/MuseoSans_500_Italic-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fixmystreet.com/fonts/MuseoSans_500_Italic-webfont.woff') format('woff'),
       url('../fixmystreet.com/fonts/MuseoSans_500_Italic-webfont.ttf') format('truetype'),
       url('../fixmystreet.com/fonts/MuseoSans_500_Italic-webfont.svg#MuseoSans500Italic') format('svg');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Museo300-display';
  src: url('../fixmystreet.com/fonts/Museo300-Regular-webfont.eot');
  src: url('../fixmystreet.com/fonts/Museo300-Regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fixmystreet.com/fonts/Museo300-Regular-webfont.woff') format('woff'),
       url('../fixmystreet.com/fonts/Museo300-Regular-webfont.ttf') format('truetype'),
       url('../fixmystreet.com/fonts/Museo300-Regular-webfont.svg#Museo300') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* Opera has a bug (from around 10.5 upwards to current 11.6) with showing the
 * table caption *at all* if the header is set to a font-face :( */
noindex:-o-prefocus, #site-header {
  font-family: sans-serif;
}

h3, h4,
.item-list__heading {
    font-weight: bold;
}

@import "_colours";
@import "../sass/layout";

body.mappage {
    background-image: none;
}

#site-header {
    background: $nav_background_colour;
    padding: 1em 0;
}

body.frontpage {
    #site-logo {
        width: 300px;
        height: 55px;
        background-size: 275px 55px;
        @include svg-background-image("/cobrands/fixamingata/images/site-logo");
    }

    #main-nav {
        height: 55px + 16px + 16px;
        margin-left: 300px;
    }
}

body.mappage {
    #site-logo {
        margin-top: -5px;
    }
}

#front-main {
    background: $primary url(/cobrands/fixamingata/images/tile-y.jpg);
}

.tablewrapper {
    >div {
        width: auto;
    }
}

#footer-help {
    ul {
        li {
            width: 30%;
            border-right: 1.25em solid transparent;
            &:last-child {
                border-left: none;
            }
        }
    }
}

#postcodeForm { margin-left: -1em !important; margin-right: -1em !important; }

.content footer .tablewrapper { background: #fff; }

#front-main {
    a#geolocate_link {
        background: url(images/locate-me.png) $left 0 no-repeat;
        height: 34px;
        padding-#{$left}: 24px;
        margin-top: 0.25em;
        font-size: 1em;
        @media ($high-dpi-screen) {
            background-image: url(images/locate-me@2.png);
            background-size: 22px 34px;
        }
        &:hover {
            text-decoration:underline;
            background: url(images/locate-me.png) $left 0 no-repeat;

            @media ($high-dpi-screen) {
                background-image: url(images/locate-me@2.png);
                background-size: 22px 34px;
            }
        }
    }
}

.nav-menu--main {
    a {
	border-radius: 5px;
    }
}