Summary Files Commits Branches @commit @diff @stats
path: root / Year 4 / Web technologies / referat / css / effects.css
blob: c26d6785ee2a088579551db7b152b4d81ede52e0 (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
figure, .clickable {
  cursor: pointer;
}
.clickable:active {
  transform: scale(0.8);
}

.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;
}

.copy-to-clipboard {
  position: absolute;
  right: 0.5em;
  top: 0.25em;
  z-index: 20;
  background-color: white;
  border-radius: 0.25em;
  cursor: pointer;
}

.copy-to-clipboard:hover {
  background-color: rgb(68, 65, 118, 0.5);
}