summaryrefslogtreecommitdiff
path: root/assets/static/css/404.css
blob: a0ee30ffbdf140428e94a9e9821e5237f6b73e99 (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
@charset "UTF-8";

article {
  text-align: center;

  > p:first-of-type {
    margin: 0;
    font-size: clamp(6rem, 28vw, 13rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(
      to right,
      var(--red),
      var(--orange),
      var(--yellow),
      var(--green),
      var(--cyan),
      var(--blue),
      var(--magenta),
      var(--pink)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  > p:last-of-type {
    color: var(--dim-foreground);
    font-size: 0.85rem;
    width: 100%;
    max-inline-size: inherit;
  }

  .dots span {
    opacity: 0.2;
    animation: thinking 1.4s infinite;

    &:nth-child(2) {
      animation-delay: 0.2s;
    }

    &:nth-child(3) {
      animation-delay: 0.4s;
    }
  }
}

@keyframes thinking {
  0%,
  80%,
  100% {
    opacity: 0.2;
  }
  40% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dots span {
    animation: none;
    opacity: 1;
  }
}