NotFoundView.vue 742 Bytes
Newer Older
abergavenny's avatar
abergavenny committed
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
<template>
  <div class="not-found">
    <div class="nf404">
      <span>404</span>
    </div>
    <a class="button" href="/">Zurück</a>
  </div>
</template>

<style scoped>
@keyframes flash {
  0% {
    background-color: hsl(var(--clr-primary));
  }

  50% {
    background-color: hsl(var(--clr-primary-shade));
  }

  100% {
    background-color: hsl(var(--clr-primary));
  }
}

.not-found {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nf404 {
  background-color: hsl(var(--clr-primary));
  padding: var(--spacing);
  width: 10em;
  height: 10em;
  animation: flash 1500ms infinite;
}

.nf404>span {
  color: var(--clr-white);
  font-size: 3em;
}
</style>