body { background-color: var(--deadwhite); text-shadow: -0.5px -0.5px rgba(166, 82, 61, 0.2); margin: 0; font-size: 1em; line-height: 1.3em; color: var(--darker); background-image: url(/images/backgrounds/creampaper.png); } a { color: var(--darker); font-weight: normal; background: linear-gradient(to bottom, rgba(255,255,255,0) 44%,var(--pale) 45%, var(--pale) 75%, rgba(255,255,255,0) 76%); transition: 0.2s; } a:hover { color: inherit; font-weight: inherit; background: none; text-decoration: none; } label { color: var(--dark); display: inline-flex; writing-mode: vertical-rl; rotate: 180deg; text-align: left; padding: 0.5em 5px; padding-bottom: 4em; background-color: var(--bgpink); border-bottom: rgba(255,255,255,0) 1px dotted; transition: 0.2s; } label:hover { color: white; background-color: var(--dustyrose); cursor: pointer; } .subtitle { color: var(--darker); background: var(--pale); padding: 1em; border-radius: 5px; font-size: 0.9em; line-height: 140%; } .subtitle a { background: none; } h1, h2, h3, h4, h5 { font-family: "Playfair Display", serif; color: var(--darker); } h2 { font-size: 1.7em; } h3 { font-size: 1.2em; border-bottom: var(--dustyrose) dashed 1px; margin-bottom: 0.5em; margin-top: 2em; } h4 { font-size: 1em; color: var(--darkerrose); margin-bottom: 0.5em; } ul { list-style-type: square; } .special { color: var(--darkerrose); font-weight: normal; } #wrapper { display: flex; padding: 3em; column-gap: 3em; } .one { width: 20%; height: 400px; position: -webkit-sticky; position: sticky; top: 3em; text-align: center; } .two { width: 55%; padding: 0 3em 2em 3em; border: var(--deadrose) 1px solid; background: var(--deadwhite); background-image: url(/images/assets/backgrounds/lined.png); } .radiobutton { display: none; } .subpage { display: none; } .radiobutton:checked + .subpage { display: initial; } /** flex columns, for main (preferences) **/ .flex { display: flex; width: 100%; column-gap: 2em; } .flex div { width: 100%; } /** callout **/ .callout { border: 1px solid var(--silhouette); border-radius: 10px; padding: 1em; margin: 2em; text-align: center; } /** book details **/ details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; } details { margin: 0; } /** for the books **/ .threecol { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 2em; } .item { /** this is the poster + description **/ font-size: 12px; width: calc(33% - 1em); } .with-desc:hover { cursor: pointer; background-color: var(--offwhite); } .item img { margin: 0; width: 100%; border-radius: 5px; display: block; } .item p { margin: 0.5em 0; } .item summary i { transition: 0.2s; } .item summary:hover i { letter-spacing: 1px; color: var(--darkerrose); } .itemdesc { padding: 0.5em 0; border-top: 2px solid var(--darkerrose); } /** for comics **/ .box { display: flex; column-gap: 1em; margin: 2em 0; } .rev { flex-direction: row-reverse; } .cover img, .cover .box-txt { max-height: 200px; } .panel img, .panel .box-txt { max-height: 150px; } .box-txt { width: 100%; background-color: var(--bgpink); padding: 1em; border-radius: 10px; overflow: auto; } /** misc page **/ li { line-height: 1.6em; } .top { text-align: center; } .top a { background: var(--dustyrose); color: white; padding: 2px 5px; font-weight: normal; text-decoration: none; border-radius: 10px; } .top a:hover { color: var(--darker); background-color: var(--bgpink); } @media only screen and (max-width: 800px) { #wrapper { flex-direction: column; padding: 0; } .one .subtitle { margin: 1em; } a, label { font-size: 1.1em; } label { margin: 0.5em; } .col { width: 100%; height: auto; } .one { position: inherit; top: auto; } .two { width: auto; margin: 1em; padding: 1em; } .grid { column-count: 1; } .item { font-size: 1em; width: calc(50% - 1em); } .flex, .box { flex-wrap: wrap; } .cover img, .panel img { max-height: inherit; max-width: 100%; display: block; margin: 1em auto; } .cover .box-txt, .panel .box-txt { max-height: inherit; } }