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
36c2a34c
Commit
36c2a34c
authored
Jul 18, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2 from ssorallen/master
Let .navbar-wrapper flow in Carousel example
parents
0a1c46a1
1a2ef331
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
carousel/example.css
carousel/example.css
+4
-6
No files found.
carousel/example.css
View file @
36c2a34c
...
...
@@ -15,10 +15,6 @@ body {
/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper
{
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
z-index
:
10
;
}
...
...
@@ -30,6 +26,9 @@ body {
/* Carousel base class */
.carousel
{
margin-bottom
:
60px
;
/* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
margin-top
:
-90px
;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption
{
...
...
@@ -119,7 +118,6 @@ body {
/* Navbar positioning foo */
.navbar-wrapper
{
margin-top
:
20px
;
margin-bottom
:
-90px
;
/* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
}
/* The navbar becomes detached from the top, so we round the corners */
.navbar-wrapper
.navbar
{
...
...
@@ -133,4 +131,4 @@ body {
line-height
:
1.4
;
}
}
\ No newline at end of file
}
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