* { 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: .5em 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%; }