-
Notifications
You must be signed in to change notification settings - Fork 24
/
header.less
76 lines (61 loc) · 1.17 KB
/
header.less
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
/* ==========================================================================
CFPB Design Manual
Header
========================================================================== */
/* Mobile-First Defaults: */
.header {
border-bottom: 4px solid @green;
box-sizing: border-box; /* make the border inside the box */
padding-top: 4px;
width: 100%;
.site-title {
.grid_column(12);
text-align: center;
h1 {
font-size: 1.5em;
}
.title-link {
color: @gray-80;
.site-org {
color: @gray;
.webfont-medium;
}
}
.title-link:visited {
color: @gray-80;
}
}
.site-logo {
display: none;
img {
margin-right: 20px;
}
}
}
/* Media Queries
========================================================================== */
/* Small tablet (600px) */
@media only screen and (min-width: 37.5em) {
.header {
padding: 15px;
.site-title {
.grid_column(8);
text-align: left;
border-width: 0;
h1 {
font-size: 24px;
line-height: 44px; //match the logo height
margin: 0;
}
}
.site-logo {
.grid_column(4);
text-align: right;
border-width: 0;
.logo {
display: inline;
width: 170px;
}
}
}
}