-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.scss
169 lines (147 loc) · 2.99 KB
/
app.scss
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
@import "@/assets/graph.scss";
/** Gradients **/
.supercharge__gradient {
display: inline-block;
background: linear-gradient(
90deg,
#f5a50f 0%,
#d19321 25%,
#fceb01 50%,
#d19321 75%,
#e6f148 100%
);
// animate gradient
background-size: 200% auto;
animation: gradient 3s ease-in-out infinite;
// slight shadow to make it pop out
filter: drop-shadow(2px 2px 0px rgb(5, 5, 5));
// solid shadow though
// animation keyframes
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 700;
font-size: 1.5em;
font-family: "Inter", sans-serif;
text-transform: uppercase;
letter-spacing: 0.1rem;
}
.smaller__gradient {
// Blue gradient.
background: linear-gradient(
90deg,
#f5a50f 0%,
#d19321 25%,
#fceb01 50%,
#d19321 75%,
#e6f148 100%
);
// animate gradient
background-size: 200% auto;
animation: gradient 3s ease-in-out infinite;
// slight shadow to make it pop out
filter: drop-shadow(2px 2px 0px rgb(0, 0, 0));
// solid shadow though
// animation keyframes
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 700;
font-size: 1.25em;
font-family: "Inter", sans-serif;
text-transform: uppercase;
letter-spacing: 0.1rem;
/*margin-right: 0.5rem;*/
}
// Make gradient text smaller on mobile.
@media (max-width: 999px) {
.supercharge__gradient {
font-size: 1.1em;
}
}
.content {
background-color: transparent !important;
}
.download-card {
border-top-left-radius: 0px !important;
border-top-right-radius: 0px !important;
}
.markdown-body a,
.link-rows a {
color: var(--color-brand) !important;
}
html.dark .markdown-body a,
html.dark .link-rows a {
color: var(--color-brand-dark) !important;
}
.markdown-body p {
line-height: 1.5;
padding: 0;
}
.feature-block h1{
padding-top: 0.5em;
}
.centered-hero {
// Center everything along a column.
display: flex;
flex-direction: column;
gap: var(--gap-xl);
align-items: center;
// Make icon big.
svg {
width: 5rem;
height: 5rem;
}
iframe {
// Ratio: (1120px by 630px) / 2
width: 70em;
height: 39.375em;
max-width: 100%;
border-radius: var(--gap-xl);
}
}
.subtitle {
font-size: 1.5rem;
font-weight: 400;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
color: var(--color-base);
}
a {
color: var(--color-brand); text-decoration: none;
}
html.dark a {
color: var(--color-brand-dark);
}
a:hover {
text-decoration: underline;
}
// Workarounds for Omorphia 0.9.5
.light{
--color-bg: #e5e7eb;
}
html {
background-color: var(--color-bg);
}