-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
51 lines (46 loc) · 1.22 KB
/
style.css
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
@font-face {
font-display: swap;
/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Fira Code';
font-style: normal;
font-weight: 400;
src: url('./fonts/fira-code-v22-latin-regular.woff2') format('woff2');
/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-code-600 - latin */
@font-face {
font-display: swap;
/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Fira Code';
font-style: normal;
font-weight: 600;
src: url('./fonts/fira-code-v22-latin-600.woff2') format('woff2');
/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
html, body {
font-family: 'Fira Code', Mono;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
#grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr auto;
min-height: 100vh;
& > * {
width: 100%;
height: 100%;
}
}
#clock {
font-size: 4rem;
height: 6rem;
font-weight: 600;
color: white;
background-color: black;
grid-column-start: 1;
grid-column-end: 4;
text-align: center;
}