summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/application.tailwind.css
blob: 0c65ec9b4f519686083273f4a2d45610b2571f26 (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
@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: "Pokemon Classic";
  src: url("pokemon-classic.ttf") format("truetype");
}

@layer base {
  a {
    @apply underline;
  }

  a:hover {
    @apply text-red-600;
  }

  .nav-links a {
    @apply no-underline;
  }

  .text-display {
    font-family: "Pokemon Classic", sans-serif;
  }

  h1, h2, h3, h4, h5, h6, .subtitle {
    @apply text-display;
  }
}

@layer components {
  .btn {
    @apply px-4 py-2 border border-black cursor-pointer;
  }

  .btn-primary {
    @apply btn bg-orange-900 text-orange-100;
  }
}

@layer utilities {
  .shiny-glow {
    animation: shiny-glow 1s infinite;
  }
}

@keyframes shiny-glow {
  0% {
    box-shadow: 0 0 20px #ffa928;
  }
  50% {
    box-shadow: 0 0 40px #ffa928;
  }
  100% {
    box-shadow: 0 0 20px #ffa928;
  }
}