body { background-color: navy; color: whitesmoke; font: 16px/1.5 monospace; } .container { margin: 0 auto; text-align: left; width: 96%; } a, a:link, a:visited { color: black; text-decoration: none; padding: 2px 6px 2px 6px; background: limegreen; box-shadow: 7px 7px black; text-shadow: none; } a:hover { background: forestgreen; color: yellow; } a:active { background: black; color: white; box-shadow: none; margin: 7px 0px 7px 7px; } /* remove SMALLCAPS style and dotted underline from some browsers */ abbr[title] { text-decoration: none; font-variant: none; border-bottom: none; } abbr[title="exposure"]::after { content: "s" } abbr[title="film speed"]::before { content: "ISO " } abbr[title="aperture"]::before { content: "f/" } abbr[title="focal length"]::after { content: "mm" } abbr[title="camera make and model"], abbr[title="date"] { display: block; } /* header */ header { padding: 1em 0; } header h1, header h2 { margin: 10px 0; } header h1 a, header h1 a:link, header h1 a:visited, header h2 a, header h2 a:link, header h2 a:visited { text-decoration: none; background: lightgrey; text-shadow: none; color: black; } header h1 a:hover, header h2 a:hover { text-decoration: none; background: grey; color: white; } header h1 a:active, header h2 a:active { background: black; color: white; } header hr { margin-top: 18px; border: 2px solid cyan; } #menu ul { list-style-type: none; margin: 0 0 10px; padding: 0; } #menu ul li { display: inline-block; } #menu ul li a, #menu ul li a:link, #menu ul li a:visited { color: #aaaaaa; border-bottom: 1px solid #aaaaaa; padding-bottom: 2px; margin-left: 5px; text-decoration: none; } #menu ul li a:hover { color: #eeeeee; border-color: #eeeeee; text-decoration: none; } /* gallery */ #albums ul { list-style-type: none; padding-left: 0; } #albums ul li { display: inline-block; margin: 0 55px 30px 0; text-align: center; vertical-align: top; width: 280px; } #albums ul li:nth-child(3n+3) { margin-right: 0; } #albums ul li a img { box-shadow: 10px 10px black; border: 2px solid white; } #albums a { background: none; box-shadow: none; } #albums img:hover { border: 2px solid magenta; } #albums img:active { margin: 7px 0px 7px 7px; box-shadow: none; } .album_title { display: block; color: white; font-size: 1.2em; font-weight: bold; text-align: center; padding-left: 25px; } /* galleria */ #gallery { line-height: 0; width: 100%; height: 600px; clear: both; box-shadow: 7px 7px black; border: 2px solid magenta; } #gallery video { position: absolute; top: 10%; width: 100%; margin: 0 auto; } .galleria-theme-classic .galleria-info-text { background-color: rgba(0, 0, 0, 0.7); } .icons { top: 10px; right: 20px; padding: 6px; z-index: 2; position: absolute; text-align: right; } .icons a { cursor: pointer; padding-top: 9px; } .icons a:active { background: black; } /* Mimic .galleria-stage to use the same area for the map */ #galleria-map { position: absolute; bottom: 80px; left: 10px; top: 0; right: 10px; } /* footer */ footer { clear: both; display: block; margin: 1em 0; text-align: center; } footer a:link, footer a:visited { font-weight: bold; text-decoration: none; } footer a:hover { text-decoration: none; border-bottom: none; } footer span:not(:last-child):after { content: ' - '; } @media only screen and (min-width: 980px) { .container { width: 960px; } #gallery { width: 980px; margin: 0 0 40px -10px; } header h1, #menu { display: inline-block; width: 49.5%; } #menu { text-align: right; } }