html, body { height: 100%; } body { display: flex; flex-flow: column; background: #e8e8e8; color: #111; font-size: 1rem; font-family: Arial, sans-serif; line-height: 1.5; margin: 0; } .hidden { display: none; } h1 { border-bottom: 1px solid #aaa; margin: 0; } a { color: rgb(0, 0, 255); } #header { padding: 1rem; padding-left: .75rem; padding-right: .75rem; background: #472987; } #header a { color: #eee; text-decoration: none; background: url(../img/cropped-kf-propell-ikon-32x32.png) no-repeat left center; padding: 1rem; padding-left: 1rem; padding-left: 2.5rem; } #menu { background: #111; color: #eee; padding: .25rem; padding-left: .75rem; padding-right: .75rem; } #menu a { color: #eee; float: right; } #menu span { float: left; } #container { display: flex; flex-grow: 1; } #main { padding: .75rem; flex-grow: 1; overflow: hidden; } #main img { display: block; height: auto; max-width: 100%; } #nav { background: #fff; padding: .75rem; line-height: 2.25rem; min-width: max-content; } #nav ul { margin: 0; padding-left: 0; list-style: none; } #nav h4 { margin: 0; border-bottom: 1px solid #aaa; } @media only screen and (max-width: 40rem) { #container { flex-flow: column; } } #footer { background: #fff; padding: .75rem; } #footer small { float: right; } .alert { padding: .5rem; margin-bottom: .5rem; border: .05rem solid transparent; border-radius: .15rem; } .alert.info { color: #0c5460; background-color: #d1ecf1; border-color: #62b1bd; background: linear-gradient(0deg, rgba(167,223,232,1) 0%, rgba(209,236,241,1) 100%); } .alert.success { color: #155724; background-color: #d4edda; border-color: #56bf6e; background: linear-gradient(0deg, rgba(165,227,180,1) 0%, rgba(212,237,218,1) 100%); } .alert.danger { color: #721c24; background-color: #f8d7da; border-color: #c8848c; background: linear-gradient(0deg, rgb(249, 180, 186) 0%, rgb(248, 215, 218) 100%); } .alert.warning { color: #856404; background: #fff3cd; border-color: #dfc678; background: linear-gradient(0deg, rgb(251, 229, 161) 0%, rgb(255, 243, 205) 100%); } table { display: block; border-collapse: collapse; width: 100%; overflow: auto; } table td, table th { border-bottom: 0.05rem solid #aaa; padding: 0.25rem 0.25rem 0.25rem 0.25rem; } table tr:nth-child(even) { background-color: #fff; } table th { font-weight: bold; text-align: left; } tbody { display: table; width: 100% } a.info { color: blue; } a.success { color: darkgreen; } a.danger { color: maroon; } .float-right { float: right; }