Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
dba9eea9
Commit
dba9eea9
authored
Feb 17, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revamp narrow jumbotron to avoid conflicts with docs .masthead
parent
36aec5e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
docs/examples/jumbotron-narrow.html
docs/examples/jumbotron-narrow.html
+6
-6
No files found.
docs/examples/jumbotron-narrow.html
View file @
dba9eea9
...
@@ -12,7 +12,7 @@ title: Narrow page template
...
@@ -12,7 +12,7 @@ title: Narrow page template
}
}
/* Everything but the jumbotron gets side spacing for mobile-first views */
/* Everything but the jumbotron gets side spacing for mobile-first views */
.
masthead
,
.
header
,
.marketing
,
.marketing
,
.footer
{
.footer
{
padding-left
:
15px
;
padding-left
:
15px
;
...
@@ -20,11 +20,11 @@ title: Narrow page template
...
@@ -20,11 +20,11 @@ title: Narrow page template
}
}
/* Custom page header */
/* Custom page header */
.
masthead
{
.
header
{
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
}
}
/* Make the masthead heading the same height as the navigation */
/* Make the masthead heading the same height as the navigation */
.
masthead
h3
{
.
header
h3
{
margin-top
:
0
;
margin-top
:
0
;
margin-bottom
:
0
;
margin-bottom
:
0
;
line-height
:
40px
;
line-height
:
40px
;
...
@@ -64,14 +64,14 @@ title: Narrow page template
...
@@ -64,14 +64,14 @@ title: Narrow page template
/* Responsive: Portrait tablets and up */
/* Responsive: Portrait tablets and up */
@media
screen
and
(
min-width
:
768px
)
{
@media
screen
and
(
min-width
:
768px
)
{
/* Remove the padding we set earlier */
/* Remove the padding we set earlier */
.
masthead
,
.
header
,
.marketing
,
.marketing
,
.footer
{
.footer
{
padding-left
:
0
;
padding-left
:
0
;
padding-right
:
0
;
padding-right
:
0
;
}
}
/* Space out the masthead */
/* Space out the masthead */
.
masthead
{
.
header
{
margin-bottom
:
30px
;
margin-bottom
:
30px
;
}
}
}
}
...
@@ -80,7 +80,7 @@ title: Narrow page template
...
@@ -80,7 +80,7 @@ title: Narrow page template
<div
class=
"container-narrow"
>
<div
class=
"container-narrow"
>
<div
class=
"
masthead
"
>
<div
class=
"
header
"
>
<ul
class=
"nav nav-pills pull-right"
>
<ul
class=
"nav nav-pills pull-right"
>
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li><a
href=
"#"
>
About
</a></li>
<li><a
href=
"#"
>
About
</a></li>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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