/* Quartznet main stylesheet */ /* * Base rules */ html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Symbol", "Segoe UI Emoji", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif; font-size: 18px; font-display: swap; line-height: 1.8; } h1, h2, h3, h4, h5, h6 { font-weight: bold; line-height: 1.2; padding: 0; } p { margin: 15px 0; } /* https://stackoverflow.com/questions/36229356/whats-the-equivalent-of-the-container-bootstrap-class-in-purecss-io bootstrap container code */ .container { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; /* max-width: 80%; */ } img { max-width: 100%; } /* * Layout starts here! */ header { min-height: 50px; /* text-align: center; */ border-bottom: 5px solid gray; } .title { font-size: 3em; text-decoration: none; margin: 0; padding: 0; display: inline-block; line-height: 80px; } /* flexbox navbar test*/ nav ul { display: flex; padding: 0; margin: 0; } nav ul li { font-size: 1.2em; text-align: center; } nav li { list-style-type: none; } /* Change color on hover */ nav li a { margin-right: 50px; text-decoration: none; } nav li a:hover { text-decoration: underline; } /* Contains all content */ main { padding-top: 20px; /*Extra space to push footer to the bottom when there is not much content*/ /* @TODO fix height calculation. No way to get height of window as far as I know. Only the vertical height...*/ /* min-height: calc(100vh - 340px); */ min-height: 710px; } /* * Content types */ section { border-radius: 5px; min-height: 380px; margin-bottom: 2em; padding: 5px 20px; } /* Login form styling. Work in progress. */ .login-form { margin: 0 auto; width: 50%; } .form-control, .btn { min-height: 38px; } .form-label-group { position: relative; margin-bottom: 1rem; } .form-label-group>input, .form-label-group>label { padding: var(--input-padding-y) var(--input-padding-x); } .form-label-group>label { position: absolute; top: 0; left: 0; display: block; width: 100%; margin-bottom: 0; /* Override default `