Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
1288304e
Commit
1288304e
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Make jumbotron mo responsive
parent
cf693b56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+13
-7
docs/assets/css/bootstrap.css
less/jumbotron.less
+14
-7
less/jumbotron.less
with
27 additions
and
14 deletions
+27
-14
docs/assets/css/bootstrap.css
+
13
-
7
View file @
1288304e
...
@@ -4589,9 +4589,9 @@ a.badge:hover {
...
@@ -4589,9 +4589,9 @@ a.badge:hover {
}
}
.jumbotron
{
.jumbotron
{
padding
:
6
0px
;
padding
:
3
0px
;
margin-bottom
:
30px
;
margin-bottom
:
30px
;
font-size
:
1
8
px
;
font-size
:
2
1px
;
font-weight
:
200
;
font-weight
:
200
;
line-height
:
30px
;
line-height
:
30px
;
color
:
inherit
;
color
:
inherit
;
...
@@ -4600,15 +4600,21 @@ a.badge:hover {
...
@@ -4600,15 +4600,21 @@ a.badge:hover {
}
}
.jumbotron
h1
{
.jumbotron
h1
{
margin-bottom
:
0
;
font-size
:
60px
;
line-height
:
1
;
line-height
:
1
;
letter-spacing
:
-1px
;
color
:
inherit
;
color
:
inherit
;
}
}
.jumbotron
li
{
.jumbotron
p
{
line-height
:
30px
;
line-height
:
1.4
;
}
@media
screen
and
(
min-width
:
768px
)
{
.jumbotron
{
padding
:
50px
60px
;
}
.jumbotron
h1
{
font-size
:
60px
;
}
}
}
.clearfix
:before
,
.clearfix
:before
,
...
...
This diff is collapsed.
Click to expand it.
less/jumbotron.less
+
14
-
7
View file @
1288304e
...
@@ -4,22 +4,29 @@
...
@@ -4,22 +4,29 @@
.jumbotron {
.jumbotron {
padding:
6
0px;
padding:
3
0px;
margin-bottom: 30px;
margin-bottom: 30px;
font-size: 1
8
px;
font-size:
2
1px;
font-weight: 200;
font-weight: 200;
line-height: @line-height-base * 1.5;
line-height: @line-height-base * 1.5;
color: @jumbotron-lead-color;
color: @jumbotron-lead-color;
background-color: @jumbotron-background;
background-color: @jumbotron-background;
border-radius: 6px;
border-radius: 6px;
h1 {
h1 {
margin-bottom: 0;
font-size: 60px;
line-height: 1;
line-height: 1;
color: @jumbotron-heading-color;
color: @jumbotron-heading-color;
letter-spacing: -1px;
}
}
li {
p {
line-height: @line-height-base * 1.5; // Reset since we specify in type.less
line-height: 1.4;
}
}
@media screen and (min-width: 768px) {
.jumbotron {
padding: 50px 60px;
h1 {
font-size: 60px;
}
}
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment