/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ @font-size: 0.750em; // 12px @font-size-small: 0.833em; // 10px @font-weight-bold: 600; @vertical-padding: 0.5em; // 6px @horizontal-padding: 1em; // 12px // Make padding not affect the final computed width of an element html { box-sizing: border-box; } *, *:before, *:after { .box-sizing(inherit); } a { // Reset defaults color: inherit; text-decoration: none; &:focus { outline-color: @icinga-blue; } &:hover { text-decoration: underline; } } blockquote, p, pre { margin: 0 0 1em 0; } .preformatted, pre { font-family: @font-family-fixed; white-space: pre-wrap; } blockquote { border-left: 5px solid @gray-lighter; padding: 0.667em 0.333em; } h1, h2, h3, h4, h5, h6 { border-bottom: 1px solid @gray-lighter; font-weight: @font-weight-bold; margin: 0.556em 0 0.333em; } h1 { font-size: 1.5em; } h2 { font-size: 1.333em; } h3 { font-size: 1.167em; } h4 { font-size: 1em; } h5 { font-size: @font-size-small; } h6 { font-size: @font-size-small; font-weight: normal; } pre { background-color: @gray-lightest; font-family: @font-family-fixed; font-size: @font-size-small; padding: @vertical-padding @horizontal-padding; white-space: pre-wrap; } td, th { padding: 0.333em; // 4px } [class^="icon-"], [class*=" icon-"] { // Smooth icons; ifont claims to have it, but it does not work in :before -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; &:before { margin-left: 0; } } #layout { background-color: @body-bg-color; color: @text-color; font-family: @font-family; } #main, #sidebar, #header { font-size: @font-size; // Set line-height w/o unit so that the line-height is dynamically calculated as font-size * line-height line-height: 1.5; } @media print { .dont-print { display: none; } }