1
|
/**
|
2
|
* @file
|
3
|
* Modular styles.
|
4
|
*/
|
5
|
|
6
|
|
7
|
html {
|
8
|
font-size: 16px;
|
9
|
line-height: 1.5em;
|
10
|
}
|
11
|
|
12
|
p {
|
13
|
margin: {
|
14
|
top: 1.5em;
|
15
|
bottom: 1.5em;
|
16
|
}
|
17
|
}
|
18
|
|
19
|
/* Skip link styling */
|
20
|
.skip-link {
|
21
|
margin: 0;
|
22
|
}
|
23
|
.skip-link__link,
|
24
|
.skip-link__link:visited {
|
25
|
display: block;
|
26
|
width: 100%;
|
27
|
padding: 2px 0 3px 0;
|
28
|
text-align: center;
|
29
|
background-color: #666;
|
30
|
color: #fff;
|
31
|
}
|
32
|
/* The skip-link link will be completely hidden until a user tabs to the link. */
|
33
|
@media all and (min-width: 444px) {
|
34
|
.skip-link__link {
|
35
|
@include visually-focusable();
|
36
|
}
|
37
|
}
|
38
|
|
39
|
/* Set a consistent padding around all containers */
|
40
|
.header,
|
41
|
.footer {
|
42
|
@extend %grid-item;
|
43
|
}
|
44
|
.grid-item,
|
45
|
.footer {
|
46
|
padding-top: 1.5em;
|
47
|
}
|
48
|
|
49
|
/* Source-order meta info */
|
50
|
header {
|
51
|
h1,
|
52
|
h2 {
|
53
|
display: inline;
|
54
|
}
|
55
|
p {
|
56
|
display: inline;
|
57
|
text-transform: uppercase;
|
58
|
font-size: 0.8em;
|
59
|
color: #c00;
|
60
|
}
|
61
|
}
|
62
|
|
63
|
.pull-quote {
|
64
|
$font-size: 1.2em;
|
65
|
|
66
|
@include zen-float();
|
67
|
@include zen-grid-flow-item(1, 2);
|
68
|
@media all and (min-width: 999px) {
|
69
|
@include zen-grid-flow-item(1, 3);
|
70
|
}
|
71
|
margin: {
|
72
|
top: 1em*(1.5em/$font-size);
|
73
|
}
|
74
|
font-size: $font-size;
|
75
|
line-height: 1em*(1.5em/$font-size);
|
76
|
font-weight: bold;
|
77
|
font-style: italic;
|
78
|
}
|