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
feeaaa6f
Commit
feeaaa6f
authored
May 08, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor homepage jumbotron masthead doodad
parent
07aed1ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
59 deletions
+49
-59
docs/assets/css/docs.css
docs/assets/css/docs.css
+46
-56
docs/index.html
docs/index.html
+3
-3
No files found.
docs/assets/css/docs.css
View file @
feeaaa6f
...
...
@@ -29,10 +29,13 @@ hr {
margin-bottom
:
30px
;
}
.bs-docs-dl-options
h4
{
margin-top
:
15px
;
margin-bottom
:
5px
;
}
/*
.bs-docs-container,
.bs-home-container {
...
...
@@ -40,6 +43,7 @@ hr {
padding-right: 15px;
}
*/
/* Side notes for calling out things */
.bs-docs-sidenote
{
margin
:
20px
0
;
...
...
@@ -59,50 +63,23 @@ hr {
}
/* Sections
-------------------------------------------------- */
/* Padding for in-page bookmarks */
/*section,*/
.bs-docs-section
{
padding-top
:
30px
;
}
/* Few stylistic typography tweaks */
/*section > .page-header,
section > .lead {
color: #5a5a5a;
}
section > ul li {
margin-bottom: 5px;
}*/
/* Jumbotrons
/* Homepage masthead
-------------------------------------------------- */
.bs-docs-header
{
margin-bottom
:
20px
;
padding-top
:
30px
;
color
:
#b94a48
;
border-bottom
:
5px
solid
#b94a48
;
}
/* Base class */
.bs-docs-jumbotron
{
.bs-masthead
{
position
:
relative
;
margin-bottom
:
20px
;
padding
:
30px
15px
;
text-align
:
center
;
}
.bs-
docs-jumbotron
h1
{
.bs-
masthead
h1
{
font-size
:
50px
;
line-height
:
1
;
}
/* Download button */
.bs-
docs-jumbotron
.btn
{
.bs-
masthead
.btn
{
margin-top
:
5px
;
margin-bottom
:
5px
;
padding
:
18px
24px
;
...
...
@@ -111,42 +88,42 @@ section > ul li {
background-color
:
#fff
;
border-color
:
#e5e5e5
;
}
.bs-
docs-jumbotron
.btn
:hover
,
.bs-
docs-jumbotron
.btn
:active
{
.bs-
masthead
.btn
:hover
,
.bs-
masthead
.btn
:active
{
color
:
#fff
;
/* redeclare to override the `.jumbotron a` */
background-color
:
#b94a48
;
border-color
:
#b94a48
;
}
/* Textual links
in masthead
*/
.masthead-links
{
/* Textual links */
.
bs-
masthead-links
{
margin
:
20px
0
;
list-style
:
none
;
}
.masthead-links
li
{
.
bs-
masthead-links
li
{
display
:
inline
;
color
:
#999
;
}
.masthead-links
li
+
li
{
.
bs-
masthead-links
li
+
li
{
margin-left
:
20px
;
}
/*
Special grid style
s
/*
Docs pages and section
s
-------------------------------------------------- */
.show-grid
{
margin-bottom
:
15px
;
}
.show-grid
.col
{
padding-top
:
10px
;
padding-bottom
:
10px
;
background-color
:
#eee
;
border
:
1px
solid
#ddd
;
/* Page headers */
.bs-docs-header
{
margin-bottom
:
20px
;
padding-top
:
30px
;
color
:
#b94a48
;
border-bottom
:
5px
solid
#b94a48
;
}
.show-grid
.col
:hover
{
background-color
:
#ddd
;
/* Padding for in-page bookmarks */
.bs-docs-section
{
padding-top
:
30px
;
}
...
...
@@ -240,6 +217,24 @@ section > ul li {
/* Special grid styles
-------------------------------------------------- */
.show-grid
{
margin-bottom
:
15px
;
}
.show-grid
.col
{
padding-top
:
10px
;
padding-bottom
:
10px
;
background-color
:
#eee
;
border
:
1px
solid
#ddd
;
}
.show-grid
.col
:hover
{
background-color
:
#ddd
;
}
/* Bootstrap code examples
-------------------------------------------------- */
...
...
@@ -716,23 +711,18 @@ input.focused {
}
/* Tweak display of docs jumbotrons */
.masthead
{
.
bs-
masthead
{
padding-top
:
100px
;
padding-bottom
:
100px
;
}
.masthead
h1
{
.
bs-
masthead
h1
{
font-size
:
100px
;
}
.masthead
p
{
.
bs-
masthead
p
{
margin-left
:
15%
;
margin-right
:
15%
;
font-size
:
30px
;
}
.subhead
{
padding-top
:
60px
;
padding-bottom
:
60px
;
text-align
:
left
;
}
.bs-navbar-top-example
.navbar-fixed-top
,
.bs-navbar-bottom-example
.navbar-fixed-bottom
{
...
...
docs/index.html
View file @
feeaaa6f
...
...
@@ -3,8 +3,8 @@ layout: home
title: Bootstrap
---
<div
class=
"
bs-docs-jumbotron masthead
"
>
<div
class=
"
container
"
>
<div
class=
"
container
"
>
<div
class=
"
bs-masthead
"
>
<h1>
Bootstrap
</h1>
<p
class=
"lead"
>
Sleek, intuitive, and powerful mobile-first front-end framework for faster and easier web development.
</p>
...
...
@@ -14,7 +14,7 @@ title: Bootstrap
{% include social-buttons.html %}
<ul
class=
"masthead-links"
>
<ul
class=
"
bs-
masthead-links"
>
<li>
<a
href=
"./customize/"
onclick=
"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Customize']);"
>
Customize
</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