#root { max-width: 95%; margin: 0 auto; padding: 2rem; text-align: center; } #search { margin-bottom: 8px; } #typeOptions { display: inline; font-size: 1.3em; margin-left: -125px; margin-right: 10px; } .typeOption { color: #444; border: 1px solid #333; padding: 2px 10px; margin-left: 5px; cursor: pointer; } .typeOption:hover { color: #888; border: 1px solid #555; } #imgSearch { font-size: 1.5em; outline: none; } #sortOptions { display: inline; font-size: 1.3em; margin-left: 10px; } .sortOption { color: #444; border: 1px solid #333; padding: 2px 10px; margin-right: 5px; cursor: pointer; } .sortOption:hover { color: #888; border: 1px solid #555; } .highlight { color: #666666; border: 1px solid #444; } .imgCard { position: relative; float: left; width: 224px; height: 336px; overflow: hidden; margin: 3.5px; border-radius: 0.2rem; cursor: pointer; } .imgCard img { object-fit: cover; width: 100%; height: 100%; } .imgCard:hover > .nameplate, .imgCard:hover > .imgFolder, .imgCard:hover > .imgDocument { display: block; } .nameplate { position: absolute; bottom: 0; left: 0; height: 27px; width: 100%; padding: 2px; color: rgb(255, 255, 255); text-shadow: 1px 1px black; background-color: rgba(0,0,0,0.8); box-sizing: border-box; display: none; } .imgFolder { position: absolute; top: 0; right: 0; padding: 2px; font-size: 2em; text-shadow: 1px 1px black; display: none; } .imgDocument { position: absolute; top: 45px; right: 0; padding: 2px; font-size: 2em; text-shadow: 1px 1px black; display: none; } #imgGrid { display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; align-items: center; } .modalContent { outline: none; } .modalHeader { text-align: center; word-break: break-word; max-width: 95%; } #imgGrid, #modalImgGrid { display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; align-items: center; } .moreDocument pre { white-space: pre-wrap; word-break: break-word; } /* Loading.io/css - CC0 */ .lds-ellipsis { display: inline-block; position: relative; width: 80px; height: 80px; } .lds-ellipsis div { position: absolute; top: 33px; width: 13px; height: 13px; border-radius: 50%; background: #555; animation-timing-function: cubic-bezier(0, 1, 1, 0); } .lds-ellipsis div:nth-child(1) { left: 8px; animation: lds-ellipsis1 0.6s infinite; } .lds-ellipsis div:nth-child(2) { left: 8px; animation: lds-ellipsis2 0.6s infinite; } .lds-ellipsis div:nth-child(3) { left: 32px; animation: lds-ellipsis2 0.6s infinite; } .lds-ellipsis div:nth-child(4) { left: 56px; animation: lds-ellipsis3 0.6s infinite; } @keyframes lds-ellipsis1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes lds-ellipsis3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @keyframes lds-ellipsis2 { 0% { transform: translate(0, 0); } 100% { transform: translate(24px, 0); } } /* end Loading.io */