diff options
Diffstat (limited to 'www/css/index.css')
| -rw-r--r-- | www/css/index.css | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/www/css/index.css b/www/css/index.css new file mode 100644 index 0000000..4c8d210 --- /dev/null +++ b/www/css/index.css @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2014 + * This file is part of WvS-VPlan. + * + * WvS-VPlan is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +* { + -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ +} + +body { + -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ + -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ + -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ +} + +/* Portrait layout (default) */ +.app { + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; +} + +/* Landscape layout (with min-width) */ +@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { + .app { + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + } +} + +.viewLayout { +} + +.pdfpage { + overflow: auto; +} + +body.iOS7 { + -webkit-transform: translate3d(0, 20px, 0); +} |
