-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
101 lines (83 loc) · 1.9 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
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
/*!
* Start Bootstrap - Stylish Portfolio Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
/* Global Styles */
@use postcss-nested;
@font-face {
font-family: "Comic Sans MS";
src:
url("https://manzdev.github.io/twitch-matrix-canvas/fonts/comic-sans-ms.woff2") format("woff2"),
url("https://manzdev.github.io/twitch-matrix-canvas/fonts/comic-sans-ms.woff") format("woff");
}
@font-face {
font-family: "Bebas Neue";
src:
url("https://manzdev.github.io/twitch-matrix-canvas/fonts/bebas-neue.woff2") format("woff2"),
url("https://manzdev.github.io/twitch-matrix-canvas/fonts/bebas-neue.woff") format("woff");
}
html,
body {
width: 100%;
height: 100%;
font-size: 15px;
}
body {
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
background: #000;
margin: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.text-vertical-center {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.header .text-vertical-center, footer .text-center {
color: #fff;
}
.text-vertical-center h1 {
margin: 0;
padding: 0;
font-size: 4.5em;
font-weight: 700;
}
.content-wrapper {
background-color: rgba(26, 49, 131, 0.6);
border-radius: 15px;
max-width: 500px;
margin: 0px auto;
padding: 10px;
}
hr.small {
max-width: 100px;
}
/* Header */
.header {
display: table;
position: relative;
width: 100%;
height: 100%;
background: 0;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
/* Footer */
footer {
padding: 100px 0;
}
body {
margin: 0px;
background-color: #000;
}
canvas {
position: fixed;
width: 100%;
height: 100%;
z-index: -5;
}