@font-face { font-family: 'yoster_islandregular'; src: url('../fonts/yoster-web.woff2') format('woff2'), url('../fonts/yoster-web.woff') format('woff'); font-weight: normal; font-style: normal; } /* Variables */ :root { --font: "yoster_islandregular", monospace; --font-size: 16px; --line-height: 24px; --spacing-normal: var(--font-size); --spacing-large: var(--line-height); --fg-color: rgba(255, 255, 255, 1); --fg-shadow: 0px 2px 0px rgba(0,0,0, 0.4); --bg-color: rgba(0, 0, 0, 0.3); --bg-backdrop: saturate(300%) contrast(30%); --link-color: rgba(215, 215, 109, 1); } /* Structure */ html, body { margin:0; padding:0; } body { background-image: url("../background3.png"); background-position: center center; background-size: cover; background-attachment: fixed; overflow: hidden; font-size: var(--font-size); line-height: var(--line-height); font-family: var(--font); color: var(--fg-color); text-shadow: var(--fg-shadow); } .container { position: absolute; left:0; right:0; height: 100%; max-width: 640px; padding: 0 10px; margin: auto; display:flex; flex-direction: column; flex-wrap: nowrap; overflow: hidden; background-color: var(--bg-color); /*backdrop-filter: var(--bg-backdrop);*/ } header { display: flex; margin: var(--spacing-large); flex: 0 0 auto; align-items: flex-end; } header img { width: 265px; object-fit: contain; flex: 0 0 auto; } header ul { display: flex; position: relative; padding: 0; height: 80px; list-style: none; font-size: 0; flex: 1 1 auto; flex-wrap: wrap; flex-direction: column; justify-content: flex-end; } header ul li { position: relative; width: 50%; flex: 0 0 auto; } header ul li a{ display: block; color: #fff; font-size: 20px; font-weight: normal; line-height: 36px; text-align: center; } header ul li a:hover:before { content: "> "; } main { flex: 1 1 auto; height: 488px; padding: var(--spacing-large); border: 32px solid transparent; border-image: url('../border2x2.png') 32 fill round; overflow-y: auto; scrollbar-color: #fff transparent; scrollbar-width: thin; } main .inner-main { text-align: justify; } main .inner-main::-webkit-scrollbar { width: 3px; } main .inner-main::-webkit-scrollbar-track { background: transparent; } main .inner-main::-webkit-scrollbar-thumb { background: #fff; } footer { margin: var(--spacing-large); height: var(--line-height); flex: 0 0 auto; } /* Element styling */ p { margin: var(--spacing-large) 0; } hr { color: rgba(255, 255, 255, 0.5); margin: 48px; } h1 { font-weight: normal; font-size: 24px; text-align: center; margin: 24px 0 36px 0; text-shadow: 0px 3px 0px rgba(0,0,0, 0.4); } h1:first-child { margin-top: 0; } h2 { font-weight: normal; font-size: var(--font-size); margin: var(--spacing-large) 0; } h2:before { content: "* "; } a { color: var(--link-color); text-decoration: none; } a:hover { color: #fff; } a:not(header a):before, a:not(header a):after { color: var(--link-color); } a:not(header a):before { content:"["; margin-right: 6px; } a:not(header a):after { content:"]"; margin-left: 6px; } table tbody tr td:first-child { padding: 0 3em 0 0; } .article-stub p { margin-bottom: 0; } .article-stub-end { text-align: right; margin-bottom: var(--spacing-large); }