Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
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
captainwong
douban-api-proxy
Commits
16ce7799
Commit
16ce7799
authored
Jul 09, 2017
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvement of margins in epub reader (fix #210)
parent
470aea61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
4 deletions
+31
-4
main.css
cps/static/css/main.css
+31
-4
No files found.
cps/static/css/main.css
View file @
16ce7799
...
...
@@ -100,11 +100,11 @@ body {
}
#viewer
{
width
:
8
0%
;
width
:
9
0%
;
height
:
80%
;
/* margin-left: 10%; */
margin
:
0
auto
;
max-width
:
1250px
;
/* max-width: 1250px; */
z-index
:
2
;
position
:
relative
;
overflow
:
hidden
;
...
...
@@ -752,8 +752,34 @@ input:-ms-placeholder {
height
:
415px
;
}
}
/* For iPhone 6\6s portrait layouts only */
@media
only
screen
and
(
min-device-width
:
375px
)
and
(
max-device-width
:
667px
)
and
(
orientation
:
portrait
)
{
#viewer
{
width
:
300px
;
height
:
480px
;
}
#viewer
iframe
{
width
:
300px
;
height
:
480px
;
}
}
/* For iPhone 6\6s landscape layouts only */
@media
only
screen
and
(
min-device-width
:
375px
)
and
(
max-device-width
:
667px
)
and
(
orientation
:
landscape
)
{
#viewer
{
width
:
450px
;
height
:
300px
;
}
#viewer
iframe
{
width
:
450px
;
height
:
300px
;
}
}
/* For iPhone portrait layouts only */
@media
only
screen
and
(
max-device-width
:
480
px
)
and
(
orientation
:
portrait
)
{
@media
only
screen
and
(
max-device-width
:
374
px
)
and
(
orientation
:
portrait
)
{
#viewer
{
width
:
256px
;
height
:
432px
;
...
...
@@ -763,8 +789,9 @@ input:-ms-placeholder {
height
:
432px
;
}
}
/* For iPhone landscape layouts only */
@media
only
screen
and
(
max-device-width
:
480
px
)
and
(
orientation
:
landscape
)
{
@media
only
screen
and
(
max-device-width
:
374
px
)
and
(
orientation
:
landscape
)
{
#viewer
iframe
{
width
:
256px
;
height
:
124px
;
...
...
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