summaryrefslogtreecommitdiffstats
path: root/site/common/css/cssbox/cssbox.css
blob: 9efc9f0b0efe98376a5b7445923ff92891339b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* The work below, CSSBox, is released under the Creative Commons Zero 1.0 license
   and is available on https://notabug.org/SylvieLorxu/CSSBox */
img.cssbox_full {
  position: fixed;
  margin: 0;
  padding: 0px;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  border: 5px solid black;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}

img.cssbox_thumb:focus + img.cssbox_full {
  visibility: visible;
  opacity: 1;
}
/* The work above, CSSBox, is released under the Creative Commons Zero 1.0 license
   and is available on https://notabug.org/SylvieLorxu/CSSBox */