Summary Files Commits Branches @commit @diff @stats
path: root / Year 4 / Web technologies / referat / css / effects.css
blob: 9ac30883ac5b615ba0a99e43ca2a8ead540ae421 (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
figure {
  cursor: pointer;
}

.none {
  display: none;
}
.no-overflow {
  overflow: hidden;
}
.no-selection {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.full-screen {
  position: absolute;
  max-width: 100vw;
  max-height: 100vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  margin: 0;
  z-index: 100;
}

.full-screen > img {
  max-width: inherit;
  max-height: inherit;
  display: block;
  margin: auto;
  padding: 0.5em;
  box-sizing: border-box;
}

#full-screen-backing {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0, 0, 0, 0.85);
  left: 0;
  z-index: 99;
}