summaryrefslogtreecommitdiff
path: root/frontend/src/App.css
blob: 4f77d97a4dfbc8c09b782120960c360c1105cbfb (plain)
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
.App {
  text-align: center;
}

.Logo-container {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.App-logo {
  height: 15vmin;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: Logo-rotate-in 2s cubic-bezier(0.755, 0.05, 0.855, 0.06) forwards;
  }
  .App-main {
    opacity: 0;
    animation: App-fade-in 0.65s ease-in 1.8s forwards;
  }
}

.App-bg {
  background-color: #282c34;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.App-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.Grid {
  background: #5262816f;
  border-radius: 20px;
  width: 80vmin;
  height: 80vmin;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1%;
}

.Fit-text {
  font-size: calc(10px + 1vmin);
  overflow: hidden;
  text-overflow: clip;
}

.Grid-square {
  background: #acc1eb9d;
  border: none;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  font-size: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Selected {
  background: #d8deea9d;
}

@keyframes Logo-rotate-in {
  from {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 1;
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) scale(5);
    opacity: 0;
  }
}

@keyframes App-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}