1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/static/less/jumbotron.less Fri Dec 20 22:30:44 2013 +0100
1.3 @@ -0,0 +1,46 @@
1.4 +//
1.5 +// Jumbotron
1.6 +// --------------------------------------------------
1.7 +
1.8 +
1.9 +.jumbotron {
1.10 + padding: @jumbotron-padding;
1.11 + margin-bottom: @jumbotron-padding;
1.12 + font-size: @jumbotron-font-size;
1.13 + font-weight: 200;
1.14 + line-height: (@line-height-base * 1.5);
1.15 + color: @jumbotron-color;
1.16 + background-color: @jumbotron-bg;
1.17 +
1.18 + h1,
1.19 + .h1 {
1.20 + line-height: 1;
1.21 + color: @jumbotron-heading-color;
1.22 + }
1.23 + p {
1.24 + line-height: 1.4;
1.25 + }
1.26 +
1.27 + .container & {
1.28 + border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
1.29 + }
1.30 +
1.31 + .container {
1.32 + max-width: 100%;
1.33 + }
1.34 +
1.35 + @media screen and (min-width: @screen-sm-min) {
1.36 + padding-top: (@jumbotron-padding * 1.6);
1.37 + padding-bottom: (@jumbotron-padding * 1.6);
1.38 +
1.39 + .container & {
1.40 + padding-left: (@jumbotron-padding * 2);
1.41 + padding-right: (@jumbotron-padding * 2);
1.42 + }
1.43 +
1.44 + h1,
1.45 + .h1 {
1.46 + font-size: (@font-size-base * 4.5);
1.47 + }
1.48 + }
1.49 +}