body { margin: 0px; padding: 0px; font-family: sans-serif; background-color: #B3C8CF; } .mainHeader { background-image: url("/compressed/compressed_199.jpg"); background-repeat: none; background-size: cover; background-position: center center; height: 7em; border-bottom: 2px solid #000; } .title { margin: 0px; padding: 0px; color: white; text-shadow: 3px 3px black; text-align: center; font-size: 3em; padding-top: 0.8em; font-family: monospace; } h1, h3 { text-align: center; } /* in-album image browser */ .galleryContainer { display: none; background-color: rgba(0, 0, 0 , 0.8); width: 100%; height: 100%; position: fixed; margin: 0px; padding: 0px; } .galleryImage { display: block; max-width: 100%; max-height: 90%; margin-left: auto; margin-right: auto; } .toolbar { padding: 6px; text-align: center; } .toolbar > button { color: white; background-color: #222; border: 2px solid #B3C8CF; border-radius: 4px; } /* in-album page */ .locationDisplay { margin-top: 1em; border-left: 0.2em solid black; padding-left: 1em; } .locationTitle { display: block; font-size: 2em; /* color: white; text-shadow: 2px 2px black; */ } .locationState { display: block; font-size: 1.5em; margin-left: 1em; } .postBody { color: #000; font-size: 125%; max-width: 1200px; margin: auto; } p > a, p > a:visited { color: #50593a; } p > a:hover { color: #6f3763; } .allphotos > a { text-decoration: none; } .headerImageContainer { margin: auto; } .headerImage { margin: 1em; border-radius: 1em; max-width: 500px; rotate: -3deg; box-shadow: 4px 4px 10px black; } .indexlink, .indexlink:visited { font-size: 1.3em; color: #007b88; } .indexlink:hover { color: white } .photoCount { text-align: center; } /* index photos */ @keyframes scaleUp { from {transform: scale(1);} to {transform: scale(1.025);} } .tocText { font-size: 1.3em; text-decoration: underline; } .tocText:hover { text-decoration: none; } .tocLink, .tocLink:visited { font-size: 1em; color: #007b88; line-height: 2.6ex; margin-left: 1em; } .tocLink:hover, .placeLink:hover { color: #ffffff; text-shadow: 1px 1px 1px #262219, 0 0 0.125em black; } .photolinks { text-align: center; } .placeLink { color: #FFF; font-size: 145%; text-shadow: 2px 2px #39464a; text-decoration: underline; } .mainImgContainer { position: relative; margin: 0.75em; } .mainImgContainerTop { box-sizing: border-box; text-align: center; position: absolute; width: 100%; top: 0px; background-color: rgba(15, 15, 15 , 0.7); border-top-right-radius: 0.5em; border-top-left-radius: 0.5em; padding: 0.5em; } .mainImgContainerBottom { box-sizing: border-box; position: absolute; bottom: 15px; left: 10px; font-size: 125%; color: white; background-color: rgba(15, 15, 15 , 0.7); border-radius: 0.5em; padding: 0.4em; } .photolink > a > .mainImgContainer > img { border-radius: 0.5em; width: 100%; } .photolink > a > .mainImgContainer:hover { transform: scale(1.025); animation-name: scaleUp; animation-duration: 0.5s; } @media only screen and (min-width: 650px) { .mainBody { max-width: 110em; margin-left: auto; margin-right: auto; padding: 1em; } .mainHeader { margin: 1em; border: 2px solid #000; border-radius: 1em; } .photolinks { display: grid; grid-template-columns: 50% 50%; } .allphotos { text-align: center; } .allphotos > a > .preview { margin: 0.5rem; border-radius: 0.5em; } } @media only screen and (min-width: 1400px) { .photolinks { grid-template-columns: 33% 33% 33%; } .placeLink { font-size: 145%; } } @media only screen and (max-width: 650px) { .allphotos { text-align: center; } .preview { width: 31%; height: 100%; vertical-align: middle; margin-bottom: 0.2em; border-radius: 0.5em; } .placeLink { font-size: 150%; } .mainBody { margin-left: 1em; margin-right: 1em; padding-top: 1em; } .galleryImage { position: relative; top: 45%; transform: translateY(-45%); } .headerImage { max-width: 60%; } .placeLink { font-size: 125%; } }