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
731821b7
Commit
731821b7
authored
Jan 24, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated docs css to fix subnav on iOS
parent
c1dd1f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
8 deletions
+22
-8
docs/assets/css/docs.css
docs/assets/css/docs.css
+22
-8
No files found.
docs/assets/css/docs.css
View file @
731821b7
...
...
@@ -146,7 +146,10 @@ section {
-moz-border-radius
:
4px
;
border-radius
:
4px
;
}
.subhead
.nav
a
{
.subnav
.nav
{
margin-bottom
:
0
;
}
.subnav
.nav
a
{
margin
:
0
;
padding-top
:
11px
;
padding-bottom
:
11px
;
...
...
@@ -158,24 +161,25 @@ section {
-moz-border-radius
:
0
;
border-radius
:
0
;
}
.sub
head
.nav
a
:hover
,
.sub
head
.nav
.active
a
{
.sub
nav
.nav
a
:hover
,
.sub
nav
.nav
.active
a
{
background-color
:
transparent
;
color
:
#333
;
}
.sub
head
.nav
.active
a
{
.sub
nav
.nav
.active
a
{
background-color
:
#eee
;
}
.sub
head
.nav
li
:first-child
a
{
.sub
nav
.nav
li
:first-child
a
{
border-left
:
0
;
-webkit-border-radius
:
4px
0
0
4px
;
-moz-border-radius
:
4px
0
0
4px
;
border-radius
:
4px
0
0
4px
;
}
.sub
head
.nav
li
:last-child
a
{
.sub
nav
.nav
li
:last-child
a
{
border-right
:
0
;
}
/* Fixed subnav on scroll */
.subnav-fixed
{
position
:
fixed
;
top
:
40px
;
...
...
@@ -558,7 +562,7 @@ form.well {
/* Subnav */
.subnav
{
background
:
none
;
background
:
#fff
;
/* whole background property since we use a background-image for gradient */
}
.subnav
.nav
>
li
{
float
:
none
;
...
...
@@ -620,11 +624,21 @@ form.well {
@media
(
max-width
:
768px
)
{
/* Subnav */
.subnav
-fixed
{
.subnav
{
position
:
static
;
top
:
auto
;
z-index
:
auto
;
width
:
auto
;
height
:
auto
;
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
}
.subnav
.nav
a
{
border
:
0
;
}
.subnav
.nav
li
+
li
a
{
border-top
:
1px
solid
#e5e5e5
;
}
/* Adjust the jumbotron */
...
...
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