-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
84 lines (75 loc) · 1.75 KB
/
styles.js
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
function generateSTYLE() {
return `
<style>
@import url("https://fonts.googleapis.com/css?family=Share+Tech+Mono|Montserrat:700");
* {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
box-sizing: border-box;
color: inherit;
}
body {
background-image: linear-gradient(120deg, #A5C9CA 0%, #395B64 100%);
height: 100vh;
}
h1 {
font-size: 45vw;
text-align: center;
position: fixed;
width: 100vw;
z-index: 1;
color: #A5C9CA;
text-shadow: 0 0 50px rgba(0, 0, 0, 0.07);
top: 50%;
transform: translateY(-50%);
font-family: "Montserrat", monospace;
}
div {
background: rgba(255, 10, 10, 0.5);
width: 70vw;
position: relative;
top: 50%;
transform: translateY(-50%);
margin: 0 auto;
padding: 30px 30px 10px;
box-shadow: 0 0 150px -20px rgba(0, 0, 0, 0.5);
z-index: 3;
border-radius: 5px;
}
P {
font-family: "Share Tech Mono", monospace;
color: #f5f5f5;
margin: 0 0 20px;
font-size: 17px;
line-height: 1.2;
font-weight: 900;
}
span {
color: #f5f5f5;
}
i {
color: #2C3333;
font-weight: bolder;
}
b {
color: #2C3333;
}
@keyframes slide {
from {
right: -100px;
transform: rotate(360deg);
opacity: 0;
}
to {
right: 15px;
transform: rotate(0deg);
opacity: 1;
}
}
</style>`;
}
window.generateSTYLE = generateSTYLE;