@font-face { font-family: 'fontello'; src: url('../font/fontello.eot?60518104'); src: url('../font/fontello.eot?60518104#iefix') format('embedded-opentype'), url('../font/fontello.woff?60518104') format('woff'), url('../font/fontello.ttf?60518104') format('truetype'), url('../font/fontello.svg?60518104#fontello') format('svg'); font-weight: normal; font-style: normal; } body { background: #4e4e4e; overflow: hidden; } #main { /* height: 500px; */ position: absolute; width: 100%; height: 100%; /* left: 40px; */ /* -webkit-transform: translate(40px, 0); -moz-transform: translate(40px, 0); */ /* border-radius: 5px 0px 0px 5px; */ border-radius: 5px; background: #fff; overflow: hidden; -webkit-transition: -webkit-transform .5s; -moz-transition: -moz-transform .5s; -moz-box-shadow: inset 0 0 50px rgba(0,0,0,.1); -webkit-box-shadow: inset 0 0 50px rgba(0,0,0,.1); box-shadow: inset 0 0 50px rgba(0,0,0,.1); } #titlebar { height: 8%; min-height: 20px; padding: 10px; /* margin: 0 50px 0 50px; */ position: relative; color: #4f4f4f; font-weight: 100; font-family: Georgia, "Times New Roman", Times, serif; opacity: .5; text-align: center; -webkit-transition: opacity .5s; -moz-transition: opacity .5s; } #titlebar:hover { opacity: 1; } #titlebar a { visibility: hidden; width: 18px; height: 20px; overflow: hidden; display: inline-block; opacity: .5; } #titlebar a::before { visibility: visible; } #titlebar a:hover { opacity: .8; } #titlebar a:active { opacity: 1; margin: 1px -1px -1px 1px; } #book-title { font-weight: 600; } #title-seperator { display: none; } #viewer { width: 80%; height: 80%; /* margin-left: 10%; */ margin: 0 auto; max-width: 1250px; /* z-index: 2; position: absolute; */ } #viewer iframe { border: none; } #prev { left: 40px; } #next { right: 40px; } .arrow { position: absolute; top: 50%; font-size: 64px; color: #E2E2E2; font-family: arial, sans-serif; font-weight: bold; cursor: pointer; } .arrow:hover { color: #777; } .arrow:active { color: #000; } #sidebar { background: #6b6b6b; position: absolute; /* left: -260px; */ /* -webkit-transform: translate(-260px, 0); -moz-transform: translate(-260px, 0); */ top: 0; width: 300px; height: 100%; -webkit-transition: -webkit-transform .5s; -moz-transition: -moz-transform .5s; overflow: hidden; } #sidebar.open { /* left: 0; */ /* -webkit-transform: translate(0, 0); -moz-transform: translate(0, 0); */ } #main.closed { /* left: 300px; */ -webkit-transform: translate(300px, 0); -moz-transform: translate(300px, 0); } #panels { background: #4e4e4e; position: absolute; left: 0; top: 0; width: 100%; padding: 10px 0; height: 21px; } #opener { /* padding: 10px 10px; */ float: left; } /* #opener #slider { width: 25px; } */ #metainfo { display: inline-block; text-align: center; max-width: 80%; } #title-controls { float: right; } #panels a { visibility: hidden; width: 18px; height: 20px; overflow: hidden; display: inline-block; color: #ccc; margin-left: 6px; } #panels a::before { visibility: visible; } #panels a:hover { color: #AAA; } #panels a:active { color: #AAA; margin: 1px 0 -1px 6px; } #panels a.active, #panels a.active:hover { color: #AAA; } #searchBox { width: 165px; float: left; margin-left: 10px; margin-top: -1px; /* border-radius: 5px; background: #9b9b9b; float: left; margin-left: 5px; margin-top: -5px; padding: 3px 10px; color: #000; border: none; outline: none; */ } input::-webkit-input-placeholder { color: #454545; } input:-moz-placeholder { color: #454545; } #divider { position: absolute; width: 1px; border-right: 1px #000 solid; height: 80%; z-index: 1; left: 50%; top: 10%; opacity: .15; box-shadow: -2px 0 15px rgba(0, 0, 0, 1); display: none; } #divider.show { display: block; } #loader { position: absolute; z-index: 10; left: 50%; top: 50%; margin: -33px 0 0 -33px; } #tocView { overflow-x: hidden; overflow-y: hidden; width: 300px; height: 100%; padding-top: 40px; visibility: hidden; -webkit-transition: visibility 0 ease .5s; -moz-transition: visibility 0 ease .5s; } #sidebar.open #tocView { overflow-y: auto; visibility: visible; -webkit-transition: visibility 0 ease 0; -moz-transition: visibility 0 ease 0; } #tocView > ul{ margin-top: 15px; margin-bottom: 50px; padding-left: 20px; display: block; } #tocView li { margin-bottom:10px; width: 225px; font-family: Georgia, "Times New Roman", Times, serif; list-style: none; text-transform: capitalize; } #tocView li:active, #tocView li.currentChapter { list-style: none; } #tocView a { color: #AAA; text-decoration: none; } #tocView a.chapter { font-size: 1em; } #tocView a.section { font-size: .8em; } #tocView li.currentChapter > a, #tocView li a:hover { color: #f1f1f1 } /* #tocView li.openChapter > a, */ #tocView li a:hover { color: #E2E2E2; } #tocView li ul { padding-left:10px; margin-top: 8px; display: none; } #tocView li.currentChapter > ul, #tocView li.openChapter > ul { display: block; } #tocView.hidden { display: none; } .toc_toggle { display: inline-block; width: 14px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .toc_toggle:before { content: '▸'; color: #fff; margin-right: -4px; } .currentChapter > .toc_toggle:before, .openChapter > .toc_toggle:before { content: '▾'; } #searchView { width: 300px; height: 100%; display: none; } #searchResults { margin-top: 50px; margin-bottom: 50px; padding-left: 20px; display: block; } #searchResults li { margin-bottom:10px; width: 225px; font-family: Georgia, "Times New Roman", Times, serif; list-style: none; } #searchResults a { color: #AAA; text-decoration: none; } #searchResults p { text-decoration: none; font-size: 12px; line-height: 16px; } #searchResults p .match { background: #ccc; color: #000; } #searchResults li > p { color: #AAA; } #searchResults li a:hover { color: #E2E2E2; } #searchView.shown { display: block; overflow-y: scroll; } #settingsPanel { display:none; } #settingsPanel h3 { color:#f1f1f1; font-family:Georgia, "Times New Roman", Times, serif; margin-bottom:10px; } #settingsPanel ul { margin-top:60px; list-style-type:none; } #settingsPanel li { font-size:1em; color:#f1f1f1; } #settingsPanel .xsmall { font-size:x-small; } #settingsPanel .small { font-size:small; } #settingsPanel .medium { font-size:medium; } #settingsPanel .large { font-size:large; } #settingsPanel .xlarge { font-size:x-large; } .highlight { background-color: yellow } @media only screen and (max-width: 1040px) { #viewer{ width: 50%; margin-left: 25%; } #divider, #divider.show { display: none; } } @media only screen and (max-width: 900px) { #viewer{ width: 60%; margin-left: 20%; } #prev { left: 20px; } #next { right: 20px; } } @media only screen and (max-width: 550px) { #viewer{ width: 80%; margin-left: 10%; } #prev { left: 0; } #next { right: 0; } .arrow { height: 100%; top: 45px; width: 10%; text-indent: -10000px; } #main { -webkit-transform: translate(0, 0); -moz-transform: translate(0, 0); -webkit-transition: -webkit-transform .3s; -moz-transition: -moz-transform .3s; } #main.closed { -webkit-transform: translate(260px, 0); -moz-transform: translate(260px, 0); } #titlebar { font-size: 10px; /* margin: 0 50px 0 50px; */ } #tocView { width: 260px; } #tocView li { font-size: 12px; } #tocView > ul{ padding-left: 10px; webkit-padding-start:; } } [class^="icon-"]:before, [class*=" icon-"]:before { font-family: "fontello"; font-style: normal; font-weight: normal; speak: none; display: inline-block; text-decoration: inherit; width: 1em; margin-right: .2em; text-align: center; /* opacity: .8; */ /* For safety - reset parent styles, that can break glyph codes*/ font-variant: normal; text-transform: none; /* you can be more comfortable with increased icons size */ font-size: 112%; } .icon-search:before { content: '\e807'; } /* '' */ .icon-resize-full-1:before { content: '\e804'; } /* '' */ .icon-cancel-circled2:before { content: '\e80f'; } /* '' */ .icon-link:before { content: '\e80d'; } /* '' */ .icon-bookmark:before { content: '\e805'; } /* '' */ .icon-bookmark-empty:before { content: '\e806'; } /* '' */ .icon-download-cloud:before { content: '\e811'; } /* '' */ .icon-edit:before { content: '\e814'; } /* '' */ .icon-menu:before { content: '\e802'; } /* '' */ .icon-cog:before { content: '\e813'; } /* '' */ .icon-resize-full:before { content: '\e812'; } /* '' */ .icon-cancel-circled:before { content: '\e80e'; } /* '' */ .icon-up-dir:before { content: '\e80c'; } /* '' */ .icon-right-dir:before { content: '\e80b'; } /* '' */ .icon-angle-right:before { content: '\e809'; } /* '' */ .icon-angle-down:before { content: '\e80a'; } /* '' */ .icon-right:before { content: '\e815'; } /* '' */ .icon-list-1:before { content: '\e803'; } /* '' */ .icon-list-numbered:before { content: '\e801'; } /* '' */ .icon-columns:before { content: '\e810'; } /* '' */ .icon-list:before { content: '\e800'; } /* '' */ .icon-resize-small:before { content: '\e808'; } /* '' */