html, body { height: 100%; } body { display: flex; flex-flow: column; background: #eee; color: #222; font-size: 1rem; font-family: "Liberation Sans", 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: #222; 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; } #main img { display: block; height: auto; max-width: 100%; } #nav { background: #fff; padding: .75rem; line-height: 1.75; } #nav ul { margin: 0; padding-left: .75rem; } @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: 1px 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 { border-collapse: collapse; width: 100%; } table td, table th { border: 0.05rem solid #aaa; font-weight: normal; padding: 0.05rem 0.25rem 0.05rem 0.25rem; } table tr:nth-child(even) { background-color: #fff; } table th { text-align: left; background-color: #222; color: #eee; }