@import "https://www.nerdfonts.com/assets/css/webfont.css"; * { box-sizing: border-box; } body { font-size: 1.1em; background-color: var(--background-color); min-width: 30em; } main { background: linear-gradient(180deg, rgba(227,220,190,1) 0%, rgba(255,248,238,1) 100%); max-width: 80vw; display: flex; flex-direction: column; padding: 1em; margin: 0 auto; min-height: calc(100vh - var(--header-height)); } aside.flash { background-color: var(--notice-bg-color); color: var(--notice-text-color); padding: 1em; border-radius: var(--border-radius); } aside.alert { background-color: var(--invalid-alert); } section.inset { width: 70%; max-width: 60em; background-color: var(--inset-bg-color); border-radius: var(--border-radius); padding: 1em; margin: 0 auto; } h1, h2 { text-align: center; } header { background: linear-gradient(180deg, rgba(34,45,113,1) 0%, rgba(22,90,157,1) 100%); position: relative; padding: 0 50px; margin-right: 2em; height: var(--header-height); } /* Angled banner end */ header:before { content: ""; width: 0; height: 0; border-top: calc(var(--header-height) / 2) solid transparent; border-bottom: calc(var(--header-height) / 2) solid transparent; border-right: calc(var(--header-height) / 2) solid var(--background-color); position: absolute; right:0; } header h1 { padding: 1em 0; } header h1 a:link, header h1 a:visited { color: var(--header-text-color); text-decoration: none; } header nav { ul { display: flex; justify-content: center; } li { list-style-type: none; padding: 0 .5em; } a:link, a:visited { background-color: var(--button-bg-color); color: var(--button-text-color); border-radius: var(--border-radius); text-decoration: none; padding: .5em; } a:hover { background-color: var(--button-hover-bg-color); color: var(--button-hover-text-color); } } hr { width: 100%; } #modal:empty { display: none; } #modal { position: fixed; background-color: rgba(0,0,0,0.8); top: 0; left: 0; right: 0; bottom: 0; z-index: 5000; } #modal div { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80vw; max-width: 800px; min-width: 200px; max-height: 800px; min-height: 400px; padding: 1em; word-break: break-word; border-radius: var(--border-radius); background-color: var(--inset-bg-color); } .feature-box h2 { text-align: center; } .nf { color: var(--text-color); } .roll-button { border-radius: var(--border-radius); scale: 1.4; cursor: pointer; box-shadow: 0 0 5px var(--shadow-color); } .roll-button::before { content: "YO"; background-color: red; }