-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathtypography.scss
More file actions
182 lines (154 loc) · 3.04 KB
/
typography.scss
File metadata and controls
182 lines (154 loc) · 3.04 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
// Settings for global font sizes and classes related strictly to text.
.body {
font-size: 80%;
}
/* Mobiles 576px and up */
@media (min-width: 576px) {
.body {
font-size: 90%;
}
}
/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
.body {
font-size: 100%;
}
}
/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
.body {
font-size: 120%;
}
}
/*// Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
.body {
font-size: 140%;
}
}
// Text styles below.
// Page title.
.page__title, .page__subtitle {
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
}
.page__title {
font-family: 'Share Tech Mono', monospace;
color: $page-title;
font-size: 3.5em;
text-align: center;
}
.page__subtitle {
font-size: 1.75em;
font-family: 'Share Tech Mono', monospace;
color: $page-subtitle;
text-align: center;
}
@media (min-width: 450px) {
.page__title {
font-size: 4.3em;
}
.page__subtitle {
font-size: 1.9em;
}
}
@media (min-width: 650px) {
.page__title {
font-size: 5em;
}
.page__subtitle {
font-size: 2em;
}
}
@media (min-width: 1200px) {
.page__title {
font-size: 6em;
}
.page__subtitle {
font-size: 2.25em;
}
}
// Section titles.
.section-title {
font-size: 2.5em;
color: $section-title-dark;
text-align: center;
font-family: 'Encode Sans Expanded', sans-serif;
margin-top: 5%;
margin-bottom: 2.5%;
}
@media (min-width: 376px) {
.section-title {
font-size: 3em;
}
}
@media (min-width: 500px) {
.section-title {
font-size: 4em;
}
}
.section-title-light {
@extend .section-title;
color: $section-title-light;
}
.event-label {
font-family: 'Encode Sans Expanded', sans-serif;
background-image: linear-gradient(45deg, $grey, $grey 80%, transparent 80%, transparent 100%);
font-size: 1.25em;
text-align: left;
color: $title-dark;
border-top-left-radius: 5px;
padding: 0.15em 0.25em;
margin-top: 0.5em;
margin-bottom: 0;
min-width: 5em;
}
.event-title {
background: rgba(7, 41, 72, 0.52);
border: $dark-blue 2px groove;
font-size: 1.25em;
font-family: 'Encode Sans Expanded', sans-serif;
color: $title-light;
padding-left: 0.25em;
margin-right: 0.25em;
border-radius: 0 5px 5px 5px;
}
.title {
font-family: 'Encode Sans Expanded', sans-serif;
}
.title-dark {
@extend .title;
color: $title-dark;
}
.title-light {
@extend .title;
color: $title-light;
}
.subtitle {
font-family: 'Encode Sans Expanded', sans-serif;
color: $subtitle;
}
.paragraph {
font-family: 'Playfair Display', serif;
}
.paragraph-dark {
font-size: 1em;
color: $paragraph-dark;
font-family: 'Playfair Display', serif;
padding-left: 5%;
padding-right: 5%;
}
.paragraph-light {
font-size: 1em;
color: $paragraph-light;
font-family: 'Playfair Display', serif;
padding-left: 5%;
padding-right: 5%;
}
.footer-font {
text-align: center;
font-family: 'Playfair Display', serif;
}