body { font-family: sans-serif; margin: 0; } h1, h2, h3, h4, h5, h6 { font-weight: 200; text-align: center; } .centred { margin: 0 auto; width: max-content; text-align: center; } .subtle { color: #888; font-style: italic; } a { text-decoration: underline dotted transparent; color: #a66; transition: 0.2s; } a:not(.button):hover { text-decoration: underline dotted; } .button { font-size: 1em; color: #a66; background: transparent; border: thin #a66 solid; border-radius: 5px; padding: 5px 10px; text-align: center; transition: 0.2s all; } .button:hover { background: #a66; color: white; } .button.block { display: inline-block; margin: 5px auto; } .button.inverted { color: white; border-color: white; } .button.inverted:hover { background: white; color: #a00; } .vertical-buttons { display: flex; flex-direction: column; } .vertical-buttons .button { flex: 1; border-bottom: none; border-radius: 0; } .vertical-buttons .button:first-child { border-radius: 5px 5px 0 0; } .vertical-buttons .button:last-child { border-bottom: thin #a66 solid; border-radius: 0 0 5px 5px; } nav { padding: 20px 15px; background: #a00; color: white; display: flex; justify-content: space-between; } #nav-links { font-size: 1.4em; } #nav-links a { color: white; } #nav-links, #nav-search { margin: auto 0; } main { padding: 20px; } .documents { display: flex; flex-direction: column; margin: 0 auto; } .document { display: flex; flex: 1; flex-direction: row; margin: 10px; padding-top: 10px; border-top: thin #ccc solid; } .document-column { width: 10%; padding: 0 10px; display: flex; flex-direction: column; justify-content: center; } .document-column.left { background-size: contain; background-repeat: no-repeat; background-position: center; flex-grow: 1; } .document-column.centre { width: 80%; } .document-column.right ul { list-style: none; padding: 0; } .document-column.centre div { margin: 3px 0; } .document-column .title { font-size: 1.4em; font-weight: 200; text-align: center; } .document-column .authors { text-align: center; font-style: italic; } .document-column .tags { font-size: 0.8em; } .document-column .tags .list-empty::before, .document-details .tags .list-empty::before { display: inline-block; content: "No tags"; } .document-column .metadata { font-size: 0.8em; color: #888; } .document-details { margin: 10px auto; width: min-content; } @media only screen and (min-width: 1000px) { .documents { max-width: 80%; } } @media only screen and (min-width: 600px) and (max-width: 999px) { .documents { max-width: 90%; } } @media only screen and (max-width: 800px) { .button { padding: 3px 5px; } }