Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
29bbd03f
...
29bbd03f7cdc9fc1e70f0fe1400635dd7d3537ad
authored
2014-06-11 18:03:27 -0700
by
Steve Mundro
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
CSS tweaks to make sidebar fixed (and individually scrollable) in casper.js docs.
1 parent
4992a55c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
docs/_themes/casperjs/static/casperjs-dark.css
docs/_themes/casperjs/static/casperjs-light.css
docs/_themes/casperjs/static/casperjs-dark.css
View file @
29bbd03
...
...
@@ -989,3 +989,24 @@ p {
.donate
.flattr
{
margin-top
:
1.5em
;
}
/* Make sidebar fixed to keep it in window when scrolling */
body
{
background
:
#333
;}
div
.related
,
div
.footer
{
margin-right
:
18rem
;
width
:
auto
;
}
div
.related
ul
{
padding-right
:
4px
;
}
div
.sphinxsidebar
{
position
:
fixed
;
right
:
0
;
top
:
0px
;
height
:
100%
;
margin
:
0
;
float
:
none
;
left
:
auto
;
overflow
:
auto
;
border-left
:
2px
solid
#ffffff
;
}
\ No newline at end of file
...
...
docs/_themes/casperjs/static/casperjs-light.css
View file @
29bbd03
...
...
@@ -885,3 +885,20 @@ p {
-o-filter
:
drop-shadow
(
0
1px
20px
rgba
(
0
,
0
,
0
,
.5
));
filter
:
drop-shadow
(
0
1px
20px
rgba
(
0
,
0
,
0
,
.5
));
}
/* Make sidebar fixed to keep it in window when scrolling */
div
.related
,
div
.footer
{
margin-left
:
16rem
;
width
:
auto
;
}
div
.sphinxsidebar
{
position
:
fixed
;
left
:
0
;
top
:
0px
;
height
:
100%
;
margin
:
0
;
float
:
none
;
right
:
auto
;
overflow
:
auto
;
border-left
:
2px
solid
#ffffff
;
}
...
...
Please
register
or
sign in
to post a comment