summary refs log tree commit diff
path: root/styles/index.module.css
blob: 582cf747c18a82f512dda588aabf279f559ae4f2 (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
.glance {
  margin: var(--text-padding);
  display: grid;
  grid-template-columns: fit-content(35%) 1fr;
  grid-row-gap: calc(.5 * var(--text-padding));
}

.glance .label {
  color: var(--text-dimmed);
  margin-right: var(--text-padding);
}

.the88x31s {
  column-width: 90px;
  text-align: center;
}

.the88x31s > a {
  width: 88px;
  height: 31px;
  margin: 2px;
  display: inline-block;
}

.the88x31s img {
  width: inherit;
  height: inherit;
  overflow: hidden;
  object-fit: cover;
  filter: grayscale(1) brightness(.8) opacity(.8);
  transition: .4s ease-in-out filter;
}

.the88x31s a:has(img + img) img:first-child {
  position: absolute;
  display: none;
  z-index: 2;
}

.the88x31s a:hover img {
  display: initial!important;
  filter: none;
  transition: .025s ease-in-out filter;
}

@media (pointer:coarse) or (pointer:none) {
  .the88x31s img {
    filter: contrast(.6) brightness(.6) grayscale(.2);
  }
}