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
0d711592
"docs/examples/navbar/index.html" did not exist on "3780edd956e0666361ef2a366945455d78ff9183"
Commit
0d711592
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
convert narrow jumbotron to rems
parent
7c391867
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/examples/narrow-jumbotron/index.html
+9
-3
docs/examples/narrow-jumbotron/index.html
docs/examples/narrow-jumbotron/narrow-jumbotron.css
+18
-18
docs/examples/narrow-jumbotron/narrow-jumbotron.css
with
27 additions
and
21 deletions
+27
-21
docs/examples/narrow-jumbotron/index.html
+
9
-
3
View file @
0d711592
...
@@ -26,9 +26,15 @@
...
@@ -26,9 +26,15 @@
<div
class=
"header"
>
<div
class=
"header"
>
<nav>
<nav>
<ul
class=
"nav nav-pills pull-right"
>
<ul
class=
"nav nav-pills pull-right"
>
<li
role=
"presentation"
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li
class=
"nav-item active"
>
<li
role=
"presentation"
><a
href=
"#"
>
About
</a></li>
<a
class=
"nav-link"
href=
"#"
>
Home
<span
class=
"sr-only"
>
(current)
</span></a>
<li
role=
"presentation"
><a
href=
"#"
>
Contact
</a></li>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
>
About
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
>
Contact
</a>
</li>
</ul>
</ul>
</nav>
</nav>
<h3
class=
"text-muted"
>
Project name
</h3>
<h3
class=
"text-muted"
>
Project name
</h3>
...
...
This diff is collapsed.
Click to expand it.
docs/examples/narrow-jumbotron/narrow-jumbotron.css
+
18
-
18
View file @
0d711592
/* Space out content a bit */
/* Space out content a bit */
body
{
body
{
padding-top
:
20px
;
padding-top
:
1.5rem
;
padding-bottom
:
20px
;
padding-bottom
:
1.5rem
;
}
}
/* Everything but the jumbotron gets side spacing for mobile first views */
/* Everything but the jumbotron gets side spacing for mobile first views */
.header
,
.header
,
.marketing
,
.marketing
,
.footer
{
.footer
{
padding-right
:
1
5px
;
padding-right
:
1
rem
;
padding-left
:
1
5px
;
padding-left
:
1
rem
;
}
}
/* Custom page header */
/* Custom page header */
.header
{
.header
{
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
.05rem
solid
#e5e5e5
;
}
}
/* Make the masthead heading the same height as the navigation */
/* Make the masthead heading the same height as the navigation */
.header
h3
{
.header
h3
{
padding-bottom
:
1
9px
;
padding-bottom
:
1
.5rem
;
margin-top
:
0
;
margin-top
:
0
;
margin-bottom
:
0
;
margin-bottom
:
0
;
line-height
:
40px
;
line-height
:
3rem
;
}
}
/* Custom page footer */
/* Custom page footer */
.footer
{
.footer
{
padding-top
:
1
9px
;
padding-top
:
1
.5rem
;
color
:
#777
;
color
:
#777
;
border-top
:
1px
solid
#e5e5e5
;
border-top
:
.05rem
solid
#e5e5e5
;
}
}
/* Customize container */
/* Customize container */
@media
(
min-width
:
768px
)
{
@media
(
min-width
:
48em
)
{
.container
{
.container
{
max-width
:
730px
;
max-width
:
46rem
;
}
}
}
}
.container-narrow
>
hr
{
.container-narrow
>
hr
{
margin
:
30px
0
;
margin
:
2rem
0
;
}
}
/* Main marketing message and sign up button */
/* Main marketing message and sign up button */
.jumbotron
{
.jumbotron
{
text-align
:
center
;
text-align
:
center
;
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
.05rem
solid
#e5e5e5
;
}
}
.jumbotron
.btn
{
.jumbotron
.btn
{
padding
:
14px
24px
;
padding
:
.75rem
1.5rem
;
font-size
:
21px
;
font-size
:
1.5rem
;
}
}
/* Supporting marketing content */
/* Supporting marketing content */
.marketing
{
.marketing
{
margin
:
40px
0
;
margin
:
3rem
0
;
}
}
.marketing
p
+
h4
{
.marketing
p
+
h4
{
margin-top
:
28px
;
margin-top
:
1.5rem
;
}
}
/* Responsive: Portrait tablets and up */
/* Responsive: Portrait tablets and up */
...
@@ -70,7 +70,7 @@ body {
...
@@ -70,7 +70,7 @@ body {
}
}
/* Space out the masthead */
/* Space out the masthead */
.header
{
.header
{
margin-bottom
:
30px
;
margin-bottom
:
2rem
;
}
}
/* Remove the bottom border on the jumbotron for visual effect */
/* Remove the bottom border on the jumbotron for visual effect */
.jumbotron
{
.jumbotron
{
...
...
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