@import url("style.scss"); span#title { position: fixed; display: flex; width: 100vw; height: 100vh; align-content: center; justify-content: center; text-align: center; } #display { display: flex; flex-direction: row; flex-basis: auto; flex-wrap: wrap; justify-content: center; overflow: scroll; position: absolute; margin: 0; padding: 0; height: 100vh; width: 100vw; img.resource, video.resource { display: block; object-fit: contain; height: 15em; width: auto; margin: 1em 0.5em; } .resourceh:hover { opacity: 0.8; } } .overlay { position: absolute; display: flex; background-color: rgba(0, 0, 0, 0.7); height: 100vh; width: 100vw; justify-content: center; align-content: center; z-index: 999; .popout { display: block; object-fit: contain; align-self: center; height: 98vh; width: 98vw; } .contextmenu { position: fixed; display: flex; flex-direction: column; padding: .4em 1em; justify-content: center; align-items: center; background-color: rgba(0, 0, 0, 0.7); border: 2px rgba(0, 0, 0, 0.9) solid; border-radius: 8px; max-width: 18vw; height: max-content; width: max-content; hr { width: 5em; background-color: rgba(255, 255, 255, 0.5); } :first-child { font-weight: 600; margin-bottom: .5em; } :last-child { margin-top: .4em; } .option { font-size: .9em; width: fit-content; height: auto; border: 3px transparent solid; background: transparent; color: white; border-radius: 6px; } .option:hover { color: black; background: white; } } }