-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.component.scss
More file actions
58 lines (49 loc) · 1.31 KB
/
app.component.scss
File metadata and controls
58 lines (49 loc) · 1.31 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
// Copyright 2021 Carnegie Mellon University. All Rights Reserved.
// Released under a MIT (SEI)-style license. See LICENSE.md in the project root for license information.
:host {
display: grid;
grid-template-rows: auto 1fr;
height: 100vh;
overflow: hidden;
}
.main-content {
overflow: auto;
}
@font-face {
font-family: 'open_sansregular';
/*
Note about src: url() and BaseHref:
When using BaseHref SCSS and angular pre-processors do not like relative paths
We can escape the angular pre-processors by adding `../` to the start of the URL
*/
src:
url('../assets/fonts/opensans-regular.woff2') format('woff2'),
url('../assets/fonts/opensans-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'open_sansbold';
src:
url('../assets/fonts/opensans-bold.woff2') format('woff2'),
url('../assets/fonts/opensans-bold.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'open_sansitalic';
src:
url('../assets/fonts/opensans-italic.woff2') format('woff2'),
url('../assets/fonts/opensans-italic.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'open_sansregular';
}
b {
font-family: 'open_sansbold';
}
i {
font-family: 'open_sansitalic';
}