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