/* Gallery page. */ section#album_list{ text-align: center; } section#album_list h3{ text-align: left; } section#album_list article{ display: inline-block; vertical-align: top; text-align: center; margin: 1em; width: 25em; } section#album_list article a.frame{ display: inline-block; width: 10em; max-height: 10em; margin: 0.2em; border: 0.1em solid #000033; background-color: #000033; border-radius: 0.2em; vertical-align: middle; } section#album_list article a.frame img{ max-width: 9.5em; max-height: 9.5em; } /* Album page. */ section#album{ text-align: center; } section#album h3{ text-align: left; } section#album article{ display: inline-block; vertical-align: top; height: 12em; width: 12em; } section#album article h4{ margin-bottom: 0.2em; } section#album article img{ max-height: 9em; max-width: 11.5em; border: 0.1em solid #000033; border-radius: 0.2em; } section#album article div.user{ font-size: 80%; text-align: right; margin: 0 0.5em 0.5em 0.5em; color: #444466; font-style: italic; } /* Photo viewer. */ div#screen_cover{ position: fixed; top: 0; left: 0; background-color: black; display: none; width: 100%; height: 100%; opacity: 0; transition: all .9s ease-in-out; z-index: 1000; } section#photo_viewer{ position: fixed; display: none; top: 1em; left: 4em; right: 4em; bottom: 1em; opacity: 0; transition: all .6s ease-in-out; z-index: 1001; min-height: 10em; overflow-y: auto; } @media screen and max-width: 800px{ div#photo_viewer{ top: 2%; left: 2%; right: 2%; bottom: 2%; } } section#photo_viewer h3 div#viewer_close_container{ height: 1.5em; float: right; margin-top: -0.3em; margin-right: -0.4em; } section#photo_viewer article{ text-align: center; } section#photo_viewer article div{ display: inline-block; vertical-align: middle; margin: 0; } section#photo_viewer article div.arrow{ width: 15%; padding: 0.5em; } section#photo_viewer article div#photo_view{ width: 65%; height: 90%; padding: 0.1em; } section#photo_viewer article div#photo_view img{ display: inline-block; height: 90%; width: inherit; background: #000000; border: 0.1em solid #000000; border-radius: 0.5em; } section#photo_viewer article div#photo_view p{ margin: 0.2em; padding: 0; text-align: left; }