aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/fixamingata/base.scss
blob: eeba749518612da7d4040f055983943f9533b976 (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
/* Base stylesheet for FixMyStreet look
 *
 * In a mobile first way, this contains the look of the site, and a basic
 * layout for browsers that can't handle media queries. Baseline grid of 1.5em.
 */

@import "../sass/h5bp";
@import "./_colours";
@import "../sass/mixins";

@import "../sass/base";

#site-header {
    @include linear-gradient(#000, #ccc 10%, #ccc 90%, #000);
    padding: 0.5em 0;
}

#site-logo {
    height: 35px;
    @include svg-background-image("/cobrands/fixamingata/images/site-logo");
}

#report-cta {
    font-size: 0.8em;
    border-color: #999;
    color: #000;
    padding-bottom: 0.2em;
    padding-top: 0.5em;

    &:hover, &:focus {
      background-color: #bbb;
    }
}

.description_tips {
  h4 {
    margin: 1em 0 0.5em;
  }
}

#pc-hint {
    color: #444;
}

/* This together with resp-iframe below gives us a responsive
   iframe for the video on the councils page that keeps the
   correct width/height ratio when the page is resized.
*/
.resp-iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}