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
c6f341bd
Commit
c6f341bd
authored
Feb 17, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor some common classes from docs css and examples, then prevent examples from using docs.css
parent
dba9eea9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
11 deletions
+18
-11
docs/_includes/colophon.html
docs/_includes/colophon.html
+1
-1
docs/_includes/header.html
docs/_includes/header.html
+2
-0
docs/assets/css/docs.css
docs/assets/css/docs.css
+8
-8
docs/examples/jumbotron-narrow.html
docs/examples/jumbotron-narrow.html
+7
-2
No files found.
docs/_includes/colophon.html
View file @
c6f341bd
<!-- Footer
<!-- Footer
================================================== -->
================================================== -->
<footer
class=
"footer"
>
<footer
class=
"
bs-docs-
footer"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"bs-docs-social"
>
<div
class=
"bs-docs-social"
>
...
...
docs/_includes/header.html
View file @
c6f341bd
...
@@ -14,9 +14,11 @@
...
@@ -14,9 +14,11 @@
<!-- Bootstrap core CSS -->
<!-- Bootstrap core CSS -->
<link
href=
"/assets/css/bootstrap.css"
rel=
"stylesheet"
>
<link
href=
"/assets/css/bootstrap.css"
rel=
"stylesheet"
>
{% if layout == "default" %}
<!-- Documentation extras -->
<!-- Documentation extras -->
<link
href=
"/assets/css/docs.css"
rel=
"stylesheet"
>
<link
href=
"/assets/css/docs.css"
rel=
"stylesheet"
>
<link
href=
"/assets/css/pygments-manni.css"
rel=
"stylesheet"
>
<link
href=
"/assets/css/pygments-manni.css"
rel=
"stylesheet"
>
{% endif %}
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<!--[if lt IE 9]>
...
...
docs/assets/css/docs.css
View file @
c6f341bd
...
@@ -15,7 +15,7 @@ body {
...
@@ -15,7 +15,7 @@ body {
/* */
/* */
.bs-docs-body
>
.container
,
.bs-docs-body
>
.container
,
.bs-docs-
body
.
footer
.container
{
.bs-docs-footer
.container
{
padding-left
:
15px
;
padding-left
:
15px
;
padding-right
:
15px
;
padding-right
:
15px
;
}
}
...
@@ -106,23 +106,23 @@ section > ul li {
...
@@ -106,23 +106,23 @@ section > ul li {
/* Marketing section of Overview
/* Marketing section of Overview
-------------------------------------------------- */
-------------------------------------------------- */
.marketing
{
.
bs-docs-
marketing
{
text-align
:
center
;
text-align
:
center
;
color
:
#5a5a5a
;
color
:
#5a5a5a
;
}
}
.marketing
h1
{
.
bs-docs-
marketing
h1
{
margin
:
60px
0
10px
;
margin
:
60px
0
10px
;
font-size
:
50px
;
font-size
:
50px
;
line-height
:
1
;
line-height
:
1
;
}
}
.marketing
h2
{
.
bs-docs-
marketing
h2
{
margin-bottom
:
5px
;
margin-bottom
:
5px
;
}
}
.marketing
p
{
.
bs-docs-
marketing
p
{
font-size
:
16px
;
font-size
:
16px
;
line-height
:
1.4
;
line-height
:
1.4
;
}
}
.marketing
.marketing-byline
{
.
bs-docs-
marketing
.marketing-byline
{
margin-bottom
:
40px
;
margin-bottom
:
40px
;
font-size
:
21px
;
font-size
:
21px
;
font-weight
:
300
;
font-weight
:
300
;
...
@@ -436,13 +436,13 @@ section > ul li {
...
@@ -436,13 +436,13 @@ section > ul li {
/* Footer
/* Footer
-------------------------------------------------- */
-------------------------------------------------- */
.footer
{
.
bs-docs-
footer
{
text-align
:
center
;
text-align
:
center
;
padding
:
30px
0
;
padding
:
30px
0
;
margin-top
:
100px
;
margin-top
:
100px
;
border-top
:
1px
solid
#e5e5e5
;
border-top
:
1px
solid
#e5e5e5
;
}
}
.footer
p
{
.
bs-docs-
footer
p
{
margin-bottom
:
0
;
margin-bottom
:
0
;
color
:
#777
;
color
:
#777
;
}
}
...
...
docs/examples/jumbotron-narrow.html
View file @
c6f341bd
...
@@ -31,6 +31,13 @@ title: Narrow page template
...
@@ -31,6 +31,13 @@ title: Narrow page template
padding-bottom
:
19px
;
padding-bottom
:
19px
;
}
}
/* Custom page footer */
.footer
{
padding-top
:
19px
;
color
:
#777
;
border-top
:
1px
solid
#e5e5e5
;
}
/* Custom container */
/* Custom container */
.container-narrow
{
.container-narrow
{
margin
:
0
auto
;
margin
:
0
auto
;
...
@@ -119,8 +126,6 @@ title: Narrow page template
...
@@ -119,8 +126,6 @@ title: Narrow page template
</div>
</div>
</div>
</div>
<hr>
<div
class=
"footer"
>
<div
class=
"footer"
>
<p>
©
Company 2013
</p>
<p>
©
Company 2013
</p>
</div>
</div>
...
...
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