aboutsummaryrefslogtreecommitdiffstats
path: root/scss/_canvasapp.scss
blob: 2eb1a42c3408b48efe64fa4b2334737da6e13f30 (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
.canvas_app {
  position: relative;

  display: inline-block;

  .overlay {
    position: absolute;
    padding: 1rem;


    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    opacity: 0;

    background: rgba(0, 0, 0, 0.7);

    transition: opacity 300ms;

    &:hover {
      opacity: 1;
    }

    > * {
      margin: 0.5em;
    }

    a {
      display: block;
      color: $gray-bright;
      font-family: inherit;
    }
  }
}