:root { --header-height: 60px; --header-height-collapsed: 40px; --footer-height: 50px; } .grid { display: grid; height: 100%; grid-template-columns: repeat(12, 1fr); grid-template-rows: var(--header-height) auto var(--footer-height); grid-gap: 40px; } .grid > header { grid-column: span 12; } .grid > .sidebar { grid-column: 2 / span 2; grid-row-start: 2; } .grid > .sidebar-right { display: none; grid-column: span 2; grid-row-start: 2; } .grid > section { grid-column: 4 / span 8; grid-row-start: 2; } .grid > footer { grid-column: span 12; grid-row-start: 3; } * { -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0; } body { background-color: #1d1c1d; color: #fff; font-family: "Source Sans Pro", Helvetica, sans-serif; font-weight: 400; font-size: 18px; overflow-y: scroll; } a, a:visited, a:link { color: inherit; text-decoration: none; font-weight: 600; -webkit-transition: color .2s ease, background-color .2s ease; transition: color .2s ease, background-color .2s ease; } a:hover { color: #72a85b; } ul { list-style-type: none; } ul.flat > li { display: inline-block; } h1 { font-size: 48px; line-height: 48px; font-weight: 300; margin: 20px 0 40px; } .text, .event-desc { margin-bottom: 20px; line-height: 1.4; } header { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; padding: 12px 24px; height: var(--header-height); line-height: var(--header-height); background-color: #72a85b; width: 100%; overflow: hidden; z-index: 100; -webkit-transition: height .2s ease, line-height .2s ease; transition: height .2s ease, line-height .2s ease; } header.sticky { position: fixed; top: 0; } header.collapsed { height: var(--header-height-collapsed); line-height: var(--header-height-collapsed); } header.collapsed:before { height: 30px; } header > nav.horizontal li a { padding: 0 13px 0; position: relative; height: 100%; display: inline-block; color: #fff; } header > nav.horizontal li a:hover { background-color: white; } footer { text-align: right; padding: 7px 24px; overflow: hidden; background-color: #72a85b; } .box { background-color: #3c3c3c; position: relative; padding: 24px; padding-top: 60px; -webkit-box-shadow: 0 1px 2px #656565; box-shadow: 0 1px 2px #656565; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; margin-bottom: 20px; } .box .box-title { content: attr(data-title); position: absolute; color: #fff; top: -3px; left: -3px; width: calc(100% + 6px); background-color: #72a85b; padding: 7px 23px; font-size: 20px; font-weight: 600; overflow: hidden; display: block; } .box.event-box { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; margin-bottom: 20px; } .event-desc { padding: 0 13px; } .button, .event-registration { background-color: #72a85b; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; padding: 3px 13px; cursor: pointer; font-weight: 600; -webkit-transition: background-color .2s ease, -webkit-transform .1s; transition: background-color .2s ease, -webkit-transform .1s; transition: transform .1s, background-color .2s ease; transition: transform .1s, background-color .2s ease, -webkit-transform .1s; } .button:hover, .event-registration:hover { background-color: #5b8848; -webkit-transform: scale(1.01); transform: scale(1.01); } .has-diagonal:before, header:before, .box .box-title:before { content: ''; position: absolute; top: -10px; right: -25px; height: 60px; width: 310px; -webkit-transform: rotate(12deg); transform: rotate(12deg); background-color: rgba(255, 255, 255, 0.4); display: block; -webkit-transition: height .2s; transition: height .2s; -webkit-transform-origin: top right; transform-origin: top right; } /*# sourceMappingURL=main.css.map */