Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
6836530f
Commit
6836530f
authored
9 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
account for nav on docs pages
parent
b728fe2b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
docs/_includes/nav-home.html
+6
-8
docs/_includes/nav-home.html
docs/assets/css/docs.min.css
+5
-3
docs/assets/css/docs.min.css
docs/assets/css/docs.min.css.map
+0
-0
docs/assets/css/docs.min.css.map
docs/assets/scss/_homepage.scss
+1
-2
docs/assets/scss/_homepage.scss
docs/assets/scss/_layout.scss
+5
-0
docs/assets/scss/_layout.scss
docs/assets/scss/_sidebar.scss
+1
-1
docs/assets/scss/_sidebar.scss
with
18 additions
and
14 deletions
+18
-14
docs/_includes/nav-home.html
+
6
-
8
View file @
6836530f
<header
class=
"navbar navbar-sm navbar-inverse navbar-fixed-top bd-navbar"
role=
"banner"
>
<div
class=
"container"
>
<nav
class=
"nav navbar-nav"
>
<a
class=
"nav-item nav-link"
href=
"{{ site.baseurl }}/"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');"
>
Bootstrap
</a>
<a
class=
"nav-item nav-link"
href=
"{{ site.baseurl }}/getting-started/overview/"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Docs');"
>
Documentation
</a>
<a
class=
"nav-item nav-link"
href=
"{{ site.expo }}"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Expo');"
>
Expo
</a>
<a
class=
"nav-item nav-link"
href=
"{{ site.blog }}"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Blog');"
>
Blog
</a>
</nav>
</div>
<nav
class=
"nav navbar-nav"
>
<a
class=
"nav-item nav-link"
href=
"{{ site.baseurl }}/"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');"
>
Bootstrap
</a>
<a
class=
"nav-item nav-link"
href=
"{{ site.baseurl }}/getting-started/overview/"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Docs');"
>
Documentation
</a>
<a
class=
"nav-item nav-link"
href=
"{{ site.expo }}"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Expo');"
>
Expo
</a>
<a
class=
"nav-item nav-link"
href=
"{{ site.blog }}"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Blog');"
>
Blog
</a>
</nav>
</header>
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.min.css
+
5
-
3
View file @
6836530f
...
...
@@ -4,6 +4,9 @@
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
.bd-docs
{
padding-top
:
3.7rem
;
}
.bd-container
{
position
:
relative
;
max-width
:
62rem
;
...
...
@@ -81,7 +84,7 @@
margin-left
:
240px
;
}
.bd-sidebar
{
position
:
fixed
;
top
:
0
;
top
:
3.7rem
;
bottom
:
0
;
left
:
0
;
width
:
240px
;
...
...
@@ -240,8 +243,7 @@
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
}
.bd-navbar
{
padding-top
:
.25rem
;
padding-bottom
:
.25rem
;
padding
:
.25rem
;
background-color
:
#2a2730
;
}
.bd-navbar
.nav-link
{
color
:
#8e869d
;
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.min.css.map
+20 bytes (+0%)
View file @
6836530f
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
Click to expand it.
docs/assets/scss/_homepage.scss
+
1
-
2
View file @
6836530f
...
...
@@ -30,8 +30,7 @@
//
.bd-navbar
{
padding-top
:
.25rem
;
padding-bottom
:
.25rem
;
padding
:
.25rem
;
background-color
:
$bd-graphite
;
.nav-link
{
...
...
This diff is collapsed.
Click to expand it.
docs/assets/scss/_layout.scss
+
5
-
0
View file @
6836530f
.bd-docs
{
padding-top
:
3
.7rem
;
}
// Custom container
//
// Doesn't use the default `.container` styles for easier modifications.
...
...
This diff is collapsed.
Click to expand it.
docs/assets/scss/_sidebar.scss
+
1
-
1
View file @
6836530f
...
...
@@ -31,7 +31,7 @@
}
.bd-sidebar
{
position
:
fixed
;
top
:
0
;
top
:
3
.7rem
;
bottom
:
0
;
left
:
0
;
width
:
240px
;
...
...
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
Menu
Explore
Projects
Groups
Snippets