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