aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
blob: 9ebb4863c1172889a172b28aa332dc0e9441268a (plain) (blame)
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
body {
  display: grid; 
  height: 100vh;
  background: black;
  /*background: linear-gradient(45deg, #79d570, #a28fff);*/
	font-family: 'prstart';
  color: white;
}
canvas {
  --scale: 3;
  width: calc(320px * var(--scale));
  height: calc(200px * var(--scale));
  place-self: center;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 1px solid black;
  display: none;
}
.help {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  display: none;
}

.h-gradient {
  font-size: 4rem;
  text-align: center;
  background: linear-gradient(-45deg, #6355a4, #e89a3e);
  /* #f7ff6c */
	background-size: 300%;
  letter-spacing: 0.1rem;
	font-weight: 900;
	font-size: 4rem;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: bg-animation 6s ease-in-out infinite;
  place-self: center;
}
@keyframes bg-animation {
	0% { background-position: 0px 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0px 50%; }
}

button {
	font-family: 'prstart';
	font-size: 3rem;
  color: white;
  padding: 2rem;
  border-top-left-radius: 4rem;
  border-bottom-right-radius: 4rem;
  border-top-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  /*background-color: #6355a4;*/
  background: linear-gradient(-45deg, #6355a4, #e89a3e);
  place-self: center;
  opacity: 0;
}
button.visible {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

@font-face {
    font-family: 'prstart';
    src: url('/src/static/prstart-webfont.woff2') format('woff2'),
         url('/src/static/prstart-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}