diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-12 14:54:16 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-12 14:54:16 +0100 |
| commit | 410dbc573bbb873a447710e122faefd11075b6df (patch) | |
| tree | cc4af9e6f213579ad92a27aeaef52d8d2e0158b6 /searx/static/less/bootstrap/jumbotron.less | |
| parent | 12425618caacec90ac90332f580fb628ef32e213 (diff) | |
[enh] static content generalization
Diffstat (limited to 'searx/static/less/bootstrap/jumbotron.less')
| -rw-r--r-- | searx/static/less/bootstrap/jumbotron.less | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/searx/static/less/bootstrap/jumbotron.less b/searx/static/less/bootstrap/jumbotron.less new file mode 100644 index 000000000..27cd8b81d --- /dev/null +++ b/searx/static/less/bootstrap/jumbotron.less @@ -0,0 +1,48 @@ +// +// Jumbotron +// -------------------------------------------------- + + +.jumbotron { + padding: @jumbotron-padding; + margin-bottom: @jumbotron-padding; + color: @jumbotron-color; + background-color: @jumbotron-bg; + + h1, + .h1 { + color: @jumbotron-heading-color; + } + p { + margin-bottom: (@jumbotron-padding / 2); + font-size: @jumbotron-font-size; + font-weight: 200; + } + + > hr { + border-top-color: darken(@jumbotron-bg, 10%); + } + + .container & { + border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container + } + + .container { + max-width: 100%; + } + + @media screen and (min-width: @screen-sm-min) { + padding-top: (@jumbotron-padding * 1.6); + padding-bottom: (@jumbotron-padding * 1.6); + + .container & { + padding-left: (@jumbotron-padding * 2); + padding-right: (@jumbotron-padding * 2); + } + + h1, + .h1 { + font-size: (@font-size-base * 4.5); + } + } +} |