@font-face { font-family: "Fell"; src: url("/IMFePIit29P.ttf"); } @font-face { font-family: "Fell Sc"; src: url("/IMFePIsc29P.ttf"); } body { background-color: #e1eef2; margin: 0; font-family: "Fell"; hyphens: auto; height: 100%; width: 100%; } .wrapper { max-width: 70em; width: 100%; height: 100%; margin: 0 auto; background-color: #FFC63F; position: relative; box-sizing: border-box; padding: 1em; } .items { list-style: none; margin: 0; padding: 0; } .items > li { display: inline-block; } .items > li a { width: min(12vh, 12vw); height: min(12vh, 12vw); background: #D66C00; border-radius: min(7vh, 7vw); display: block; border: 3px solid #1a1c1c; } .items > li a:hover { background-color: #f39a3f; z-index: 1; } .items > li.face-up a { background-color: #ed8112; background-size: contain; background-repeat: no-repeat; background-position: center; } .line { border-bottom: 3px solid #1a1c1c; height: 1.4em; text-align: center; position: absolute; transform-origin: 0 0; padding: 0 min(6vh, 6vw); box-sizing: border-box; } @media (min-width: 30em) { .line { font-size: 1.2em; } } .fullview { width: 100%; height: 100%; position: fixed; left: 0; top: 0; background-color: #e1eef280; box-sizing: border-box; cursor: default; display: flex; align-items: center; justify-content: center; } a.fullview { text-decoration: none; } .fullview > div { font-size: 1.4em; line-height: 1; max-height: 100%; max-width: 75vh; background-color: #006680; padding: 1em; border-radius: 20px; border: 5px solid #1a1c1c; box-sizing: border-box; display: flex; flex-direction: column; } .fullview > div, .fullview a { color: white; } @media (max-width: 30em) { .fullview > div { padding: 0.5em; } } .fullview > div img { float: right; width: 6em; height: 6em; border-radius: 6em; border: 3px solid #1a1c1c; margin-bottom: 1em; box-sizing: border-box; } header, .work { font-family: "Fell Sc"; } h1 { margin: 1.4rem 0.5rem 0.5em; } .desc { margin: 1em 0.5rem; } /* This wrapper is necessary so that the scrollbar doesn't clip out of * the rounded border */ .fulltext-wrapper { flex-grow: 1; background-color: #99d7e9; border-radius: 20px; border: 3px solid #1a1c1c; padding: calc(0.7rem - 3px); color: #1a1c1c; overflow: hidden; } .fulltext { padding: 0 0.5em; overflow-y: auto; height: 100%; font-size: 1.2rem; line-height: 1.4rem; } .fulltext p { margin: 0.7rem 0; } blockquote { background: #f9f9f9cc; border-left: .5em solid #1a1c1c66; margin: .5em; padding: .5em; quotes: "\201C""\201D""\2018""\2019"; /* Otherwise the :before is larger than the blockquote and creates a scrollbar in the parent */ min-height: 4em; color: black; } blockquote:before { color: #1a1c1c66; content: open-quote; font-size: 4em; line-height: 0.1em; margin-right: 0.25em; float: left; margin-top: 2.5rem; } .continue { position: absolute; right: 0; bottom: 0; padding: 0.5rem 1rem; font-size: 2rem; border-radius: 20px; margin: 0.5rem; background: #D66C00; border: 3px solid #1a1c1c; display: block; cursor: pointer; transform: scale(1); animation: pulse 1s infinite alternate; text-decoration: none; color: black; } @keyframes pulse { from { transform: scale(0.9); } to { transform: scale(1); } } .continue:hover { background-color: #f39a3f; animation: none; } .sources a { font-family: Fell Sc; }