/* IDs */ #bg { position: fixed; top: 0%; left: 0%; width: 100%; height: 100%; z-index: -999; } #bg img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: -999; } #file-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18em, 1fr)); grid-column-gap: 1em; grid-row-gap: 1em; margin: 5em auto; width: 85%; padding: 2em; } /* CLASSES */ .scroller { scrollbar-color: #00000084 #ffffff64; scrollbar-width: thin; } .dir-style, .video-style, .file-style { display: block; width: 100%; height: auto; overflow: auto; padding-bottom: 0.5em; color: #ffffff; text-align: center; font-size: 1.2em; background-color: rgba(0,0,0,0.64); background-repeat: no-repeat; background-size: 42px 42px; touch-action: manipulation; } .dir-style, .file-style { background-position: 32px center; } .image-style, .video-style { min-height: 6.5em; width: auto; overflow: hidden; background-size: 100% 100%; } .card-popout-btn { float: right; z-index: 2; width: 2em; height: 2em; text-align: center; background-color: rgba(0,0,0, 0.85); color: rgb(255,255,255); border-style: solid; border-color: rgb(255,255,255); } .close-btn:hover, .card-popout-btn:hover, .popout-btn:hover { cursor: pointer; } .close-btn:hover, .card-popout-btn:hover, .popout-btn:hover { background-color: rgba(255,255,255, 0.85); color: #000000; border-color: #000000; } .dir-style:hover, .image-style:hover, .video-style:hover, .file-style:hover { background-color: rgba(0, 141, 166, 0.56); cursor: pointer; box-shadow: 0px 0px 15px rgb(114,184,199); border-radius: 0.5em; } .dir-style:focus, .image-style:focus, .video-style:focus, .file-style:focus { background-color: rgba(0, 139, 35, 0.76); cursor: pointer; box-shadow: 0px 0px 25px rgb(114, 199, 120); border-radius: 0.5em; } .dir-title, .file-title, .video-title { white-space: nowrap; text-overflow: ellipsis; text-align: center; overflow: hidden; border-style: none; font-size: 75%; user-select: none; -moz-user-select: none; } .dir-title, .file-title { width: auto; background-color: #00000000; color: #ffffff; } .video-title { width: 100%; margin-top: 5.5em; background-color: rgba(0, 0, 0, 0.64); color: rgb(255, 255, 255); text-align: center; border-top: 1px solid rgb(255, 255, 255); border-bottom: 1px solid rgb(255, 255, 255); text-overflow: ellipsis; }