*,*:after,*:before{ box-sizing:border-box; } ::-webkit-scrollbar { width: 12px } ::-webkit-scrollbar-track { background-color: #fff; border-left: 1px solid #fff } ::-webkit-scrollbar-thumb { background-color: #ccc } ::-webkit-scrollbar-thumb:hover { background-color: #aaa } html, body { position: relative; height: 100% } body { margin: 0; padding: 0; overflow: hidden; box-sizing: border-box; -webkit-box-sizing: border-box; position: relative; height: 100%; background: -webkit-linear-gradient(#F96565, #D23B3B); background: linear-gradient(#F96565, #D23B3B); font-size: 16px; font-weight: 300; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; } a { color: #0645ad; text-decoration: none; } a:hover { color: #06e; } a:active { color: #faa700; } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } p { margin: 1em 0; } img { max-width: 100%; } h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #111; line-height: 1em; } h4, h5, h6 { font-weight: bold; } h1 { font-size: 2.5em; } h2 { font-size: 2em; border-bottom: 1px solid silver; padding-bottom: 5px; } h3 { font-size: 1.5em; } h4 { font-size: 1.2em; } h5 { font-size: 1em; } h6 { font-size: 0.9em; } blockquote { color: #666666; margin: 0; padding-left: 3em; border-left: 0.5em #EEE solid; } hr { display: block; height: 2px; border: 0; border-top: 1px solid #aaa; border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; } pre, code { color: #000; font-family: monospace; font-size: 0.88em; border-radius: 3px; background-color: #F8F8F8; border: 1px solid #CCC; } pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 5px; } pre code { border: 0px !important; background: transparent !important; line-height: 1.3em; } code { padding: 0 3px 0 3px; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } ul, ol { margin: 1em 0; padding: 0 0 0 2em; } li p:last-child { margin: 0 } dd { margin: 0 0 0 2em; } img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; } table { border-collapse: collapse; border-spacing: 0; } td, th { vertical-align: top; padding: 4px 10px; border: 1px solid #bbb; } tr:nth-child(even) td, tr:nth-child(even) th { background: #eee; } .wrapper { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; padding: 0; display: block; box-sizing: border-box; background: #FFFFFF; height: 400px; width: 600px; border: 1px solid #888686; overflow: hidden; border-radius: 4px; box-shadow: 0px 13px 8px -10px #8E2D2D; } .isApple { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; padding: 0; display: block; box-sizing: border-box; background: #FFFFFF; height: 100% !important; width: 100% !important; border: 0px solid #888686 !important; overflow: hidden; border-radius: 0 !important; box-shadow: none !important; } .bar { display: block; padding: 0; margin: 0; overflow: hidden; height: 30px } .close_window { text-decoration: none; font-family: verdana; color: rgb(35, 108, 238); float: right; margin-right: 5px; padding: 0; width: 20px; height: 20px; line-height: 2; display: block } #cke_editor-area { border: none; outline: none; box-shadow: none } .drag { display: inline-block; width: 96%; padding: 0; margin: 0; height: 30px; float: left } .inner { display: block; width: 100%; padding: 0; height: 100%; overflow: hidden } .editor-control { padding: 0.5em; background: #FFFFFF; border-bottom: 1px solid #D7D7D7; border-radius: 4px 4px 0 0; } .editor-control a { color: #767676; text-decoration: none; padding: 2px 5px; border-radius: 2px; margin: 0; display: inline; font-size: 12px; font-weight: 400; font-family: monospace; text-transform: uppercase; -webkit-transition: all 0.5s ease; transition: all 0.5s ease } .editor-control a:hover { color: #D24D4D; -webkit-transition: all 0.5s ease; transition: all 0.5s ease } .editor { position: relative; display: block; width: 100%; margin: 0; background: #EAEAEA; height: 100%; overflow: hidden; } .editor .editor-area { display: block; width: calc(100% - 1em); margin: 0.5em; padding: 0.5em; background: #FFFFFF; border: none; overflow: auto; resize: none; color: #000; font-family: monospace; font-size: 12px; line-height: 1.5em; height: calc(100% - 4em); } .editor .editor-area:focus { outline-color: #C9C5C5 } span.editor-divider { background: #EDEDED; width: 1px; height: 1px; padding: 1px; margin-left: 0.5em; margin-right: 0.5em; } .result { position: absolute; top: 2.2em; left: 0; display: block; width: calc(100% - 0.8em); margin: 0.4em; padding: 0.5em; height: calc(100% - 3em); border: none; overflow: auto; visibility: hidden; opacity: 0; background: #FFFFFF; color: #6B6B6B; -webkit-transition: all 1s ease; transition: all 1s ease } .result img { display: block; width: 100% } .show { visibility: visible !important; opacity: 1; -webkit-transition: all 1s ease; transition: all 1s ease } .active { background: #D24D4D; color: #FFF !important; } /* modal --------------------*/ .custom-modal-overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9998; background-color: #FFF; background-color: rgba(252, 103, 103, 1); -webkit-transition: all 1s ease; transition: all 1s ease; } .custom-modal { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 0; width: 25em; max-width: 90%; height: 10.1em; margin: auto; background-color: #FFFFFF; border: 1px solid #DFDFDF; box-shadow: 0 8px 8px -8px #883232; border-radius: 4px; opacity:1; -webkit-transition: all 1s ease; transition: all 1s ease; -webkit-animation: from_top 1s 1 ease; animation: from_top 1s 1 ease; } @-webkit-keyframes from_top { 0% { opacity:0; } } @keyframes from_top { 0% { opacity:0; } } .custom-modal-header { margin: 0; padding: 0.5em 0.7em; background-color: #F0F0F0; border-bottom: 1px solid #DAD6D6; color: #969696; font-weight: normal; border-radius: 4px 4px 0 0; } .custom-modal-content { display: block; width: 100%; padding: 0.5em; box-sizing: border-box; } .custom-modal input, .custom-modal button { background-color: #F7F7F7; color: #A3A3A3; border: 1px solid #EFEAEA; padding: 0.5em; } .custom-modal input { display: block; width: 23em; max-width: 90%; margin: 0.2em; box-sizing: border-box; } .custom-modal button { padding-right: 10px; padding-left: 10px; background: #F0F0F0; border-color: #DAD6D6; color: #9696A1; cursor: pointer; margin: 0 4px 0 0; -webkit-transition: all 0.5s ease; transition: all 0.5s ease } .custom-modal button:focus, .custom-modal button:hover { background-color: #FFFFFF; -webkit-transition: all 0.5s ease; transition: all 0.5s ease } .custom-modal-action { padding: 0.5em; } /* preview --------------------*/ .result h1, .result h2, .result h3, .result h4, .result h5, .result h6 { line-height: 1em; } .result pre, .result code, .result kbd { background: #333; border-color: #000; color:#fdfdfd; } .result code, .result kbd { padding: 1px 5px; } .result pre { padding: 1em; overflow-x: auto; word-wrap: normal; font-size: 16px; } .result pre .highlight { background: #d7d7d7; } .result pre code { padding: 0; } .result blockquote { border-left: 5px solid #e7e7e7; margin: 1em 0; padding-left: 10px; } .result hr { border: 0; border-top: 1px solid #e7e7e7; } .result table { border-collapse: collapse; border-spacing: 0; } .result table thead { border-bottom: 2px solid #e7e7e7; } .result table tbody tr:nth-child(2n) { background-color: #f8f8f8; } .result table th, .result table td { padding: 6px 13px; border: 1px solid #e7e7e7; } .result table th { font-weight: bold; } .result li p { margin: .5em 0; } a.text-bold { font-weight: bold; } a.text-italic { font-style: italic; } @media (max-width: 768px){ .wrapper { height: 100%; width: 100%; border: 0px solid #888686; overflow: hidden; border-radius: 0; box-shadow: none; } .editor .editor-area { width: 100%; margin: 0; padding: 0.5em; font-size: 12px; line-height: 1.5em; height: calc(100% - 53px); } .result { top: 38px; width: 100%; margin: 0; padding: 0.5em; height: calc(100% - 53px); -webkit-transition: all 1s ease; transition: all 1s ease; font-size: 12px; } .custom-modal { width: 25em; max-width: 90%; height: 10.1em; margin: auto; background-color: #FFFFFF; border: 1px solid #DFDFDF; box-shadow: 0 8px 8px -8px #883232; border-radius: 4px; } } @media (max-width: 480px){ .result { top: 53px; } }