Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
edx
django-rest-framework
Commits
30dedc95
Commit
30dedc95
authored
Sep 07, 2012
by
Alec Perkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docs] Spacing tweaks when getting responsive.
parent
6d7d70c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
4 deletions
+40
-4
docs/static/css/drf-styles.css
+39
-3
docs/template.html
+1
-1
No files found.
docs/static/css/drf-styles.css
View file @
30dedc95
/* Set the body padding-top when above 980px to push the content down from
below the navbar, which is fixed at >980px screen widths. */
@media
(
min-width
:
980px
)
{
body
{
padding-top
:
71px
;
}
}
body
{
padding-top
:
60px
;
padding-bottom
:
40px
;
}
/* Preserve the spacing of the navbar across different screen sizes. */
.navbar-inner
{
padding
:
5px
0
;
}
@media
(
max-width
:
979px
)
{
.navbar
.brand
{
margin-left
:
0
;
padding-left
:
0
;
}
.navbar-inner
.container-fluid
{
padding-left
:
15px
;
}
}
.nav-list
li
.main
{
font-weight
:
bold
;
}
/* Set the table of contents to static so it flows back into the content when
viewed on tablets and smaller. */
@media
(
max-width
:
767px
)
{
...
...
@@ -11,10 +42,15 @@ body {
}
}
.nav-list
li
.main
{
font-weight
:
bold
;
/* When the page is in two-column layout, give the main content some room
to breath on the left. */
@media
(
min-width
:
768px
)
{
#main-content
{
padding-left
:
1em
;
}
}
blockquote
{
font-family
:
Georgia
,
serif
;
font-size
:
18px
;
...
...
docs/template.html
View file @
30dedc95
...
...
@@ -92,7 +92,7 @@
</div>
</div>
<div
class=
"span9"
>
<div
id=
"main-content"
class=
"span9"
>
{{ content }}
</div>
<!--/span-->
</div>
<!--/row-->
...
...
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