X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=src%2Fmain%2Fwebapp%2Fless%2Fscreen%2Flayout.less;h=2af6cd6fe25d3333ffd4c5476eda51d452af4ad9;hp=efeddf9e156eeadfbfe1bedaabbc27b3ae5a4ced;hb=136db10a69e7fbfd778a17bd269cd26166939348;hpb=4fb8c5c64593e901f24022bc5dd6d2eb0253d563 diff --git a/src/main/webapp/less/screen/layout.less b/src/main/webapp/less/screen/layout.less index efeddf9e..2af6cd6f 100644 --- a/src/main/webapp/less/screen/layout.less +++ b/src/main/webapp/less/screen/layout.less @@ -1,5 +1,10 @@ @import '../variables.less'; +body +{ + padding: 1em 3em 1em 5em; +} + .content { position: relative; @@ -27,6 +32,13 @@ width: 20.375em; background-color: @heller; } +.cols_2 > .content > .marginal h1, +.cols_2 > .content > .marginal h2, +.cols_2 > .content > .marginal h3, +.cols_2 > .content > .marginal h4 +{ + color: @hintergrund; +} .content #nav { position: absolute; @@ -54,3 +66,11 @@ /** Always display vertical scroll-bars */ body { overflow-y: scroll; } + +/** Center content, when screen is bigger than 1240 */ +#page +{ + position: relative; + max-width: 1000px; + margin: 0 auto; +}