Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scss/_jumbotron.scss')
-rw-r--r--scss/_jumbotron.scss44
1 files changed, 44 insertions, 0 deletions
diff --git a/scss/_jumbotron.scss b/scss/_jumbotron.scss
new file mode 100644
index 0000000000..9b6c3b0038
--- /dev/null
+++ b/scss/_jumbotron.scss
@@ -0,0 +1,44 @@
+//
+// Jumbotron
+// --------------------------------------------------
+
+
+.jumbotron {
+ padding: $jumbotron-padding ($jumbotron-padding / 2);
+ margin-bottom: $jumbotron-padding;
+ color: $jumbotron-color;
+ background-color: $jumbotron-bg;
+
+ .container &,
+ .container-fluid & {
+ @include border-radius($border-radius-lg); // Only round corners at higher resolutions if contained in a container
+ }
+
+ .container {
+ max-width: 100%;
+ }
+}
+
+.jumbotron-heading {
+ color: $jumbotron-heading-color;
+}
+
+.jumbotron-hr {
+ border-top-color: darken($jumbotron-bg, 10%);
+}
+
+@include media-sm {
+ .jumbotron {
+ padding: ($jumbotron-padding * 1.6) 0;
+
+ .container &,
+ .container-fluid & {
+ padding-left: ($jumbotron-padding * 2);
+ padding-right: ($jumbotron-padding * 2);
+ }
+ }
+
+ .jumbotron-heading {
+ font-size: ($font-size-base * 4.5);
+ }
+}