.photos-folder { width: 100%; border: 1px solid #5a5a5a; border-radius: 5px; } .photos-folder a:hover, .photos-path a:hover, #download-album:hover { box-shadow: 0 0 10px #000; background-color: #635247; } .photos-folder a { text-decoration: none; border-radius: 5px; min-width: 150px; height: 120px; padding: 10px; margin: 5px; position: relative; display: inline-flex; align-items: center; justify-content: center; background-color: #1a1a1a; box-shadow: 0 0 4px #000; transition: 0.3s; } #folder-title { position: absolute; top: 10px; color: #73b795; font-size: 25px; text-shadow: 0 0 5px #1c1c1c; } #folder-photos, #folder-albums { color: #808080; font-size: 18px; text-shadow: 0 0 5px #1c1c1c; } #folder-photos { position: absolute; bottom: 30px; } #folder-albums { position: absolute; bottom: 0; } .photos img { display: inline-flex; /* 4/3 format */ width: 140px; height: 105px; opacity: 1; cursor: pointer; transition: 0.3s; padding: 0; margin: 10px 2px 0 2px; } .photos img:hover { box-shadow: 0 0 5px #000; -webkit-filter: blur(1px); /* Safari 6.0 - 9.0 */ filter: blur(1px); opacity: 0.7; border-radius: 20px; } .photos img:active { box-shadow: 0 0 10px #000; } .photos-path { width: 100%; display: flex; list-style: none; padding: 0; } .photos-path a { font-size: 15px; text-decoration: none; border-radius: 5px; padding: 5px; margin: 5px; display: inline-flex; align-items: center; justify-content: center; background-color: #1a1a1a; box-shadow: 0 0 4px #000; text-shadow: 0 0 5px #1c1c1c; transition: 0.3s; color: #e0e0e0; } #img-big { margin: 0; padding: 0; position: fixed; z-index: 6; left: 50%; top: 50%; max-width: none; max-height: none; transform: translate(-50%, -50%); box-shadow: 0 0 5px #000; } #close, #right, #left, #fullscreen, #download { color: white; width: 25px; height: 25px; transition: 0.3s; cursor: pointer; } #right { position: fixed; height: 100%; right: 0; top: 50%; transform: translateY(-50%); background: linear-gradient(to left, #1c1c1c, transparent 90%); } #left { position: fixed; height: 100%; left: 0; top: 50%; transform: translateY(-50%); background: linear-gradient(to right, #1c1c1c, transparent 90%); } #close { color: #ca0600; position: absolute; left: 0; bottom: 0; } #download { color: #28ca2a; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; } #fullscreen { color: #2377c6; position: absolute; right: 0; bottom: 0; } #right:hover, #left:hover { width: 50px; } #right:active, #left:active { width: 40px; } #close:hover, #fullscreen:hover, #download:hover { height: 50px; width: 50px; } #close:active, #fullscreen:active, #download:active { height: 40px; width: 40px; } #loading { color: white; width: 100%; height: 100%; z-index: 8; position: absolute; background: #1c1c1ccc; text-align: center; display: block; } #loading svg { position: relative; width: 25px; height: 25px; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); } #photo-control { position: fixed; bottom: 0; right: 50%; -webkit-transform: translateX(50%); transform: translateX(50%); background: #1c1c1c; height: 25px; width: 125px; border-radius: 5px; transition: 0.3s; } #photo-control:hover { height: 50px; } #photo-buttons { position: fixed; display: block; z-index: 10; /* Block selection of buttons (useful for mobile devices) */ -webkit-user-select: none; /* Chrome all / Safari all */ -moz-user-select: none; /* Firefox all */ -ms-user-select: none; /* IE 10+ */ } #close-back { position: fixed; width: 100%; height: 100%; } #photo-overlay { top: 0; left: 0; position: fixed; width: 100%; height: 100%; background-color: #212121aa; z-index: 5; } #download-album { height: 70px; width: 200px; display: inline-flex; position: relative; align-items: center; justify-content: center; background-color: #1a1a1a; box-shadow: 0 0 4px #000; text-shadow: 0 0 5px #1c1c1c; transition: 0.3s; color: #28ca2a; cursor: pointer; margin: 5px; } #download-text { margin-top: 5px; position: absolute; top: 0; } #album-photo-count { color: #929ba8; margin-bottom: 5px; position: absolute; bottom: 0; } #download-text svg { width: 24px; height: 24px; margin-right: 5px; } @media screen and (max-width: 480px) { .photos-folder a { min-width: 100px; height: 70px; } #folder-title { position: absolute; top: 5px; color: #73b795; font-size: 15px; text-shadow: 0 0 5px #1c1c1c; } #folder-photos, #folder-albums { color: #808080; font-size: 10px; } #folder-photos { position: absolute; bottom: 20px; } #folder-albums { position: absolute; bottom: 0; } }