about summary refs log tree commit diff stats
path: root/app/assets/stylesheets/pokeviewer/pokedex.scss
blob: 5cecb287353bc6d126811ff7534dc1344da5e2cb (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
75
76
77
78
79
80
81
82
83
84
85
// Place all the styles related to the Pokedex controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

.pkvd-table {
  border-spacing: 5px;

  th {
    text-align: right;
    font-family: 'Power Green';
    font-weight: normal;
    padding-right: 0.5em;

    img {
      image-rendering: pixelated;
    }
  }

  td {
    padding: 0 0.5em;
    text-align: center;
    font-family: 'Power Green';

    &.pkvd-unseen {
      border: 1px dashed gray;
      color: gray;
    }

    &.pkvd-seen {
      border-width: 3px;
      border-style: solid;
      font-weight: bold;

      &.ruby {
        border-color: #D67873;
        color: #D67873;
      }

      &.sapphire {
        border-color: #445E9C;
        color: #445E9C;
      }

      &.firered {
        border-color: #F5AC78;
        color: #F5AC78;
      }

      &.leafgreen {
        border-color: #A7DB8D;
        color: #A7DB8D;
      }

      &.emerald {
        border-color: #4E8234;
        color: #4E8234;
      }
    }

    &.pkvd-caught {
      color: black;
      font-weight: bold;

      &.ruby {
        background-color: #D67873;
      }

      &.sapphire {
        background-color: #445E9C;
      }

      &.firered {
        background-color: #F5AC78;
      }

      &.leafgreen {
        background-color: #A7DB8D;
      }

      &.emerald {
        background-color: #4E8234;
      }
    }
  }
}