* {margin: 0; padding: 0; font-size: 100%; font: inherit} i, em {font-style: italic} b, strong {font-weight: bold} table {border: none; border-collapse: collapse; border-spacing: 0} body {font-family: sans-serif; line-height: 1.5} h1 {font-size: 2em; line-height: 2; margin-bottom: 1em} h2 {font-size: 1.5em; line-height: 1.5; margin-bottom: 1em} h3 {font-size: 1.25em; line-height: 1.5; margin-bottom: 1em} h4, h5, h6 {font-size: 1em; line-height: 1.3; margin-bottom: 1em} p, a {font-size: 1em; line-height: 1.3; margin-bottom: 1em} hr {margin: 2em 0} ol {/*list-style: none;*/ margin: 0 0 1em 3em} ul {/*list-style: none;*/ margin: 0 0 1em 3em} li {line-height: 2em} body { margin: 0 50vh 0 0; padding: 0; width: 100%; } main { margin: 0.25em; padding: 0; } @media screen and (min-width: 500px) { /*body {padding: 0}*/ body { margin: 0; max-width: 720px; } /*main {padding: 0}*/ main { margin: 1em; } } @media screen and (min-width: 800px) { /*body {padding: 0}*/ body { margin: 0 auto; width: 720px; } /*main {padding: 0}*/ main { margin: 1em; } } nav { padding: 1em; background-color: #f1f1f1; border-bottom: double; } nav button { width: 100%; border: 0 none; border-radius: 1rem; background-color: #e1e1e1; } nav button:hover, nav button:focus { background-color: #d1d1d1; } nav button p { margin: 0; line-height: 2; } nav ul#list-navi { margin: 0; } nav ul#list-navi.hide { display: none; } nav ul#list-navi li { border-radius: 1rem; background-color: #e1e1e1; list-style: none; text-align: center; } nav ul#list-navi li:hover, nav ul#list-navi li:focus { background-color: #d1d1d1; } nav ul#list-navi li a { display: block; margin: .25rem; line-height: 2; border-radius: 1rem; } @media screen and (min-width: 500px) { nav { margin: 1em; padding: 0; background-color: transparent; border: unset; } nav button {display: none} /*nav ul#list-navi {margin: 0}*/ nav ul#list-navi, nav ul#list-navi.hide { display: flex; flex-direction: row; } /*nav ul#list-navi li {list-style: none}*/ nav ul#list-navi li { margin: 0 0.5rem; background-color: transparent; } nav ul#list-navi li:first-child { margin: 0 0.5rem 0 0; } nav ul#list-navi li:last-child { margin: 0 0 0 0.5rem; } nav ul#list-navi li:hover, nav ul#list-navi li:focus { background-color: transparent; } /*nav ul#list-navi li a {line-height: 2}*/ nav ul#list-navi li a { display: inline; margin: 0; border-radius: unset; } } @media screen and (min-width: 800px) { /*nav {margin: 1em; padding: 0; background-color: transparent; border: unset}*/ /*nav button {display: none}*/ /*nav ul#list-navi, nav ul#list-navi.hide {margin: 0; display: flex; flex-direction: row}*/ /*nav ul#list-navi li {margin: 0 0.5rem; list-style: none; background-color: transparent}*/ /*nav ul#list-navi li:first-child {margin: 0 0.5rem 0 0}*/ /*nav ul#list-navi li:last-child {margin: 0 0 0 0.5rem}*/ /*nav ul#list-navi li:hover, nav ul#list-navi li:focus {background-color: transparent}*/ /*nav ul#list-navi li a {display: inline; margin: 0; line-height: 2; border-radius: unset}*/ } a.image { display: inline-block; position: relative; width: 200px; min-height: 200px; max-height: 300px; } a.image:has(p.count) { box-shadow: gray 3px 3px; } a.image img { display: block; } a.image p.title { position: absolute; bottom: 0; margin-bottom: 0; color: black; text-decoration: none; } a.image p.count { position: absolute; bottom: 0; right: 0; margin-bottom: 0; color: black; text-decoration: none; } ul#pagination { margin: 0; } ul#pagination li { display: inline-block; outline: 1px solid; } ul#pagination li a { display: block; margin: 0; padding: 1rem 1.5rem; color: black; text-decoration: none; } ul#pagination li.current a { color: white; background-color: blue; } aside:not(:has(li)) { display: none; } aside ul#tags-and-creators { list-style: none; } aside ul#tags-and-creators a.creator { color: red; } aside ul#tags-and-creators a.tag { color: black; } @media screen and (min-width: 800px) { /* aside:not(:has(li)) { display: none; } */ aside { width: 200px; height: 100vh; position: fixed; left: 0; top: 3rem; } /* aside ul#tags-and-creators { list-style: none; } */ /* aside ul#tags-and-creators a.creator { color: red; } */ /* aside ul#tags-and-creators a.tag { color: black; } */ } table#entries th, table#entries td { padding-right: 2rem; text-align: left; white-space: nowrap; } table#entries td:last-child { text-align: right; }