@font-face { font-family: 'yoster_islandregular'; src: url('assets/yoster-web.woff2') format('woff2'), url('assets/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("assets/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; box-sizing: border-box; left:0; height: 100%; max-width: 600px; padding: 0 24px; 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; } header img { width: 265px; object-fit: contain; flex: 0 0 auto; } header ul { position: relative; list-style: none; font-size: 0; flex: 1 1 auto; text-align: right; } header ul li { position: relative; } header ul li a{ display: block; color: #fff; font-size: 20px; font-weight: normal; line-height: 28px; } header ul li a:hover:before { content: "> "; } main { flex: 1 1 auto; overflow: hidden; padding: var(--spacing-large) 0 var(--spacing-large) var(--spacing-large); } main .inner-main { max-height: 100%; overflow-y: auto; scrollbar-color: #fff transparent; scrollbar-width: thin; padding-right: var(--spacing-large); 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: #fff; text-decoration: none; } a:hover { color: var(--link-color); } 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; }