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
1fdb7dc4
Commit
1fdb7dc4
authored
Jul 09, 2017
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Epub Viewer Bugfix Retenia Ipad devices
parent
16ce7799
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
6 deletions
+28
-6
main.css
cps/static/css/main.css
+28
-6
No files found.
cps/static/css/main.css
View file @
1fdb7dc4
...
...
@@ -100,7 +100,7 @@ body {
}
#viewer
{
width
:
9
0%
;
width
:
8
0%
;
height
:
80%
;
/* margin-left: 10%; */
margin
:
0
auto
;
...
...
@@ -652,10 +652,10 @@ input:-ms-placeholder {
padding
:
4px
;
}
@media
only
screen
and
(
max-width
:
1040px
)
{
@media
only
screen
and
(
max-width
:
1040px
)
and
(
orientation
:
portrait
)
{
#viewer
{
width
:
5
0%
;
margin-left
:
25
%
;
width
:
8
0%
;
margin-left
:
10
%
;
}
#divider
,
...
...
@@ -745,16 +745,38 @@ input:-ms-placeholder {
height
:
740px
;
}
}
/*For iPad landscape layouts only */
/*For iPad landscape layouts only */
/*
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: landscape) {
#viewer iframe {
width: 460px;
height: 415px;
}
}*/
@media
only
screen
and
(
min-device-width
:
768px
)
and
(
max-device-width
:
1024px
)
and
(
orientation
:
landscape
)
/*and (-webkit-min-device-pixel-ratio: 2)*/
{
#viewer
{
width
:
80%
;
margin-left
:
10%
;
}
#divider
,
#divider
.show
{
display
:
none
;
}
}
/* For iPhone 6\6s portrait layouts only */
/*For iPad landscape layouts only */
@media
only
screen
and
(
min-device-width
:
481px
)
and
(
max-device-width
:
1024px
)
and
(
orientation
:
landscape
)
{
#viewer
iframe
{
width
:
960px
;
height
:
515px
;
}
}
/* 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
;
...
...
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