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
fa4d4e8d
Commit
fa4d4e8d
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
new docs page headers
parent
241d3423
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/_layouts/default.html
+5
-3
docs/_layouts/default.html
docs/assets/css/docs.css
+17
-8
docs/assets/css/docs.css
with
22 additions
and
11 deletions
+22
-11
docs/_layouts/default.html
+
5
-
3
View file @
fa4d4e8d
...
...
@@ -11,12 +11,14 @@
{% include nav-main.html %}
<!-- Docs page layout -->
<div
class=
"
container
bs-docs-
contain
er"
>
<div
class=
"
bs-docs-head
er"
>
<div
class=
"bs-docs-
head
er"
>
<div
class=
"
contain
er"
>
<h1>
{{ page.title }}
</h1>
<p
class=
"lead"
>
{{ page.lead }}
</p>
<p>
{{ page.lead }}
</p>
</div>
</div>
<div
class=
"container bs-docs-container"
>
<div
class=
"row"
>
<div
class=
"col col-lg-3"
>
<div
class=
"bs-docs-sidebar"
>
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.css
+
17
-
8
View file @
fa4d4e8d
...
...
@@ -10,7 +10,7 @@
body
{
position
:
relative
;
/* For scrollyspy */
/* We add the
padding
to
the body for >768px only */
padding
-
to
p
:
50px
;
}
/* Top nav and header */
...
...
@@ -124,10 +124,18 @@ hr {
/* Page headers */
.bs-docs-header
{
margin-bottom
:
20px
;
padding-top
:
30px
;
padding
:
0
15px
15px
;
margin-bottom
:
30px
;
font-size
:
16px
;
color
:
#5a5a5a
;
border-bottom
:
1px
solid
#ddd
;
}
.bs-docs-header
h1
{
color
:
#b94a48
;
border-bottom
:
5px
solid
#b94a48
;
}
.bs-docs-header
p
{
font-weight
:
300
;
line-height
:
1.5
;
}
/* Padding for in-page bookmarks */
...
...
@@ -679,9 +687,6 @@ input.focused {
/* Tablets and up */
@media
screen
and
(
min-width
:
768px
)
{
body
{
padding-top
:
50px
;
}
/* Back to top link */
.bs-docs-top
{
...
...
@@ -703,8 +708,12 @@ input.focused {
bottom
:
15px
;
}
.bs-docs-header
{
padding
:
30px
0
40px
;
font-size
:
21px
;
}
.bs-docs-header
h1
{
font-size
:
8
0px
;
font-size
:
6
0px
;
line-height
:
1
;
}
...
...
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