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