-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path_header.scss
80 lines (68 loc) · 1.32 KB
/
_header.scss
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
.header {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
background-size: cover;
background-position: center center;
margin-bottom: 8rem;
}
.header__container {
@extend %col;
margin-top: 10vh;
}
.header__title {
@extend %heading;
font-family: var(--mono-font);
font-weight: normal;
letter-spacing: -2px;
font-size: 3rem;
line-height: 3rem;
margin: 0;
//margin-bottom: 0.15rem;
}
.header__description {
font-style: italic;
margin: 0 0 1.5rem 0;
}
.header__text {
margin: 0;
p {
margin: 0;
margin-bottom: 1.5rem;
}
}
// header_type_bar is the smaller header that
// is used on inner pages
.header_type_bar {
@extend %col;
padding: 4rem 0;
margin-bottom: 6rem;
@media only screen and (max-width: 660px) {
padding-top: 0.3rem;
margin-bottom: 2rem;
}
}
.header_type_bar__title {
@extend %heading;
font-family: var(--body-alt-font);
font-size: 1rem;
}
.header_type_bar__description {
font-weight: normal;
font-style: italic;
}
// for portfolio
.header_type_bar--portfolio {
@extend %wide-col;
padding: 4rem 0;
margin-bottom: 6rem;
display: flex;
justify-content: space-between;
align-items: baseline;
@media only screen and (max-width: 660px) {
display: block;
padding-top: 0.3rem;
margin-bottom: 2rem;
}
}