.footer, .page-wrap:after { height: 90px; } .header { padding-bottom: 50px; padding-top: 0px; /* position: fixed; */ /* left: 0; top: 0; */ height: 10%; background-color: white; } .page-wrap { min-height: 88vh; /* margin-bottom: -90px; */ top: 0; left: 0; right: 0; bottom: 0; /* equal to footer height */ } .page-wrap:after { content: ""; display: block; } .main { padding-top: 60px; padding-bottom: 60px; overflow-x: auto; overflow-y: hidden; height: 100%; } .centered { /* position: absolute; */ /* top: 100; bottom: 100;*/ left: 0; right: 0; height: 70%; margin: auto; } .chapter { margin-bottom: 3em; } .row:after { content: ""; display: table; clear: both; } /* body { min-height: 100vh; } */ /* body { height: 85vh; } */ .column { float: left; width: 20%; padding: 0px; /* Should be removed. Only for demonstration */ } /* * { box-sizing: border-box; } */ p { hyphens: auto; hyphenate-limit-chars: auto 5; hyphenate-limit-lines: 2; -moz-hyphens: auto; -moz-hyphenate-limit-chars: auto 5; -moz-hyphenate-limit-lines: 2; -webkit-hyphens: auto; -webkit-hyphenate-limit-chars: auto 5; -webkit-hyphenate-limit-lines: 2; -ms-hyphens: auto; -ms-hyphenate-limit-chars: auto 5; -ms-hyphenate-limit-lines: 2; } a:link { color: black; background-color: transparent; text-decoration: none; } a:visited { color: black; background-color: transparent; text-decoration: none; } a:hover { color: black; background-color: transparent; text-decoration: underline; } a:active { color: grey; background-color: transparent; /* text-decoration: underline; */ } /* @media Stuff */ @media only screen and (max-width: 740px) { h2 { font-family: 'ApfelGrotezk_regular'; font-size: 20px; color: black; padding-left: 1em; padding-right: 1em; } h3 { font-family: 'ApfelGrotezk_regular'; font-size: 40px; color: black; padding-left: 1em; padding-right: 1em; } h4 { font-family: 'ApfelGrotezk_regular'; font-size: 1.5em; color: black; padding-left: 1em; padding-right: 1em; } h1 { font-family: 'ApfelGrotezk_regular'; font-size: 40px; color: black; } .Ch_header { text-align: right; font-size: 0.65em !important; float: right; /* margin-top: 0.3em; */ margin-right: 1em; } .impressum { padding: 3em !important; } .column { float: left; width: 50% !important; padding: 0px; /* Should be removed. Only for demonstration */ } } @media only screen and (max-width: 465px) { h2 { font-family: 'ApfelGrotezk_regular'; font-size: 15px; color: black; padding-left: 1em; padding-right: 1em; } h4 { font-family: 'ApfelGrotezk_regular'; font-size: 1.5em; color: black; padding-left: 1em; padding-right: 1em; } h3 { font-family: 'ApfelGrotezk_regular'; font-size: 30px; color: black; padding-left: 1em; padding-right: 1em; } h1 { font-family: 'ApfelGrotezk_regular'; font-size: 30px; color: black; } .Ch_header { text-align: right; font-size: 0.6em !important; float: right; /* margin-top: 0.3em; */ margin-right: 1em; } .impressum { padding: 3em !important; } }