summaryrefslogtreecommitdiff
path: root/sites/brdo.brontosaurus.cz.mrp/themes/mrp/sass-extensions/zen-grids/templates/project/_modules.scss
blob: 19a5213dc3cc5fda4fcee628ebf01f4223651284 (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
/**
 * @file
 * Modular styles.
 */


html {
  font-size: 16px;
  line-height: 1.5em;
}

p {
  margin: {
    top: 1.5em;
    bottom: 1.5em;
  }
}

/* Skip link styling */
.skip-link {
  margin: 0;
}
.skip-link__link,
.skip-link__link:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}
/* The skip-link link will be completely hidden until a user tabs to the link. */
@media all and (min-width: 444px) {
  .skip-link__link {
    @include visually-focusable();
  }
}

/* Set a consistent padding around all containers */
.header,
.footer {
  @extend %grid-item;
}
.grid-item,
.footer {
  padding-top: 1.5em;
}

/* Source-order meta info */
header {
  h1,
  h2 {
    display: inline;
  }
  p {
    display: inline;
    text-transform: uppercase;
    font-size: 0.8em;
    color: #c00;
  }
}

.pull-quote {
  $font-size: 1.2em;

  @include zen-float();
  @include zen-grid-flow-item(1, 2);
  @media all and (min-width: 999px) {
    @include zen-grid-flow-item(1, 3);
  }
  margin: {
    top: 1em*(1.5em/$font-size);
  }
  font-size: $font-size;
  line-height: 1em*(1.5em/$font-size);
  font-weight: bold;
  font-style: italic;
}