-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_typography.scss
97 lines (81 loc) · 1.78 KB
/
_typography.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
body {
font-family: "Montserrat", sans-serif;
font-weight: 400;
/*font-size: 16px;*/
line-height: 1.7;
color: $color-grey-dark;
font-size: 2rem;
}
.heading-primary {
color: $color-white;
text-transform: uppercase;
backface-visibility: hidden;
margin-bottom: 6rem;
&--main {
display: block;
font-size: 10rem;
font-weight: 400;
letter-spacing: 1rem;
animation-name: moveInLeft;
animation-duration: 1s;
animation-timing-function: ease-out;
@include respond(phone) {
letter-spacing: 1rem;
font-family: 5rem;
}
/*
animation-delay: 3s;
animation-iteration-count: 3;
*/
}
&--sub {
display: block;
font-size: 2rem;
font-weight: 700;
letter-spacing: 1.75rem;
animation: moveInRight 1s ease-out;
@include respond(phone) {
letter-spacing: 0.5rem;
}
}
}
.heading-secondary {
font-size: 3.5rem;
text-transform: uppercase;
font-weight: 700;
display: inline-block;
margin-top: 1rem;
background-image: linear-gradient(
to right,
$color-primary-light,
$color-primary-dark
);
-webkit-background-clip: text;
color: transparent;
letter-spacing: 0.2rem;
transition: all 0.2s;
@include respond(tab-port) {
font-size: 3rem;
}
@include respond(phone) {
font-size: 2.5rem;
margin: 0.2rem;
}
&:hover {
text-shadow: 0.5rem 1rem 2rem rgba(212, 212, 212, 0.2);
}
}
.heading-tertiary {
font-size: $default-font-size * 1.5;
font-weight: 700;
text-transform: uppercase;
@include respond(tab-port) {
margin-bottom: 0.2rem;
}
}
.paragraph {
font-size: $default-font-size * 1.3;
&:not(:last-child) {
margin-bottom: 3rem;
}
}