Skip to content

Commit

Permalink
CSS: Move body style to #layout
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Nov 4, 2015
1 parent 6a22b03 commit 5cf4790
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions public/css/icinga/base.less
Expand Up @@ -38,15 +38,6 @@ blockquote {
padding: 0.667em 0.333em;
}

body {
background-color: @body-bg-color;
color: @text-color;
font-family: @font-family;
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.2;
}

h1, h2, h3, h4, h5, h6 {
border-bottom: 1px solid @gray-lighter;
font-weight: @font-weight-bold;
Expand Down Expand Up @@ -107,6 +98,15 @@ td, th {
}
}

#layout {
background-color: @body-bg-color;
color: @text-color;
font-family: @font-family;
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.2;
}

@media print {
.dont-print {
display: none;
Expand Down

0 comments on commit 5cf4790

Please sign in to comment.