html, body { width: 100%; height: 100%; font-family: helvetica, arial; } header, footer { background: #202226; padding: 1rem; text-align: center; } .container { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: 100%; } /* TODO Proper theme overrides */ h1, .site-title { color: #00ADFF !important; } .page-link { color: white !important; } .bigimage { transform: skew(-10deg); color: white; padding: 2em; width: 100%; height: 100%; text-align: center; } /*My kingdom for a 'backdrop-filter'!*/ img.background { object-fit: cover; color: black; width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; z-index: -1; -webkit-filter: blur(2px); filter: blur(2px); -webkit-transition: .3s ease-in-out; transition: .3s ease-in-out; } .bigimage:hover img { -webkit-filter: blur(0); filter: blur(0); } a.button { transform: skew(10deg); color: white; touch-callout: none; user-select: none; display: inline-block; border: .2em solid; position: relative; cursor: pointer; overflow: hidden; padding: 0.5em; background: rgba(255, 255, 255, 0.3); } .badge { /* Center the content */ align-items: center; display: inline-flex; justify-content: center; /* Rounded border */ border-radius: 0.5em; /* Spacing */ padding: 4px 8px; } .bg-green { background: green; } * { box-sizing: border-box; } /* This technique doesn't naturally cause horizontal overflow, but once there is natural vertical overflow, it causes horizontal overflow, so stopping here. */ body { overflow-x: hidden; } img { max-width: 100%; } p, figure { margin: 15px 0; } .full-width { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; } figcaption { text-align: center; color: #999; }