Vitaly Puzrin
10 years ago
7 changed files with 39 additions and 86 deletions
@ -1,72 +1 @@ |
|||||
body { |
body{margin-bottom:20px;overflow:hidden}.source,.result,.result-src{width:100%;height:350px}.result{padding-right:20px;overflow:auto;}.result img{max-width:100%}.result-src{display:none}.result-src-content{white-space:pre}.result-as-text .result-src{display:block}.result-as-text .result{display:none}.demo-control{position:absolute;right:15px;top:0;padding:0 10px;border-radius:0 4px;font-size:12px;background-color:#666;color:#fff !important;opacity:.6;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out;}.demo-control:hover{opacity:1}.demo-control a{margin:0 20px;color:#fff !important}.hljs{background:none;padding:0}.gh-ribbon{display:block;position:absolute;right:-60px;top:44px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);width:230px;z-index:10000;white-space:nowrap;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;background-color:#686868;box-shadow:0 0 2px rgba(102,102,102,0.4);padding:1px 0;}.gh-ribbon a{text-decoration:none !important;border:1px solid #ccc;color:#fff;display:block;font-size:13px;font-weight:700;outline:medium none;padding:4px 50px 2px;text-align:center} |
||||
margin-bottom: 20px; |
|
||||
overflow: hidden; |
|
||||
} |
|
||||
.source, |
|
||||
.result, |
|
||||
.result-src { |
|
||||
width: 100%; |
|
||||
height: 350px; |
|
||||
} |
|
||||
.result { |
|
||||
padding-right: 20px; |
|
||||
overflow: auto; |
|
||||
} |
|
||||
.result img { |
|
||||
max-width: 100%; |
|
||||
} |
|
||||
.result-src { |
|
||||
display: none; |
|
||||
} |
|
||||
.result-src-content { |
|
||||
white-space: pre; |
|
||||
} |
|
||||
.result-as-text .result-src { |
|
||||
display: block; |
|
||||
} |
|
||||
.result-as-text .result { |
|
||||
display: none; |
|
||||
} |
|
||||
.result-mode, |
|
||||
.source-clear { |
|
||||
position: absolute; |
|
||||
right: 15px; |
|
||||
top: 0; |
|
||||
padding: 0 10px; |
|
||||
border-radius: 0 4px; |
|
||||
font-weight: bold; |
|
||||
font-size: 12px; |
|
||||
background-color: #666; |
|
||||
color: #fff !important; |
|
||||
} |
|
||||
.hljs { |
|
||||
background: none; |
|
||||
padding: 0; |
|
||||
} |
|
||||
.gh-ribbon { |
|
||||
display: block; |
|
||||
position: absolute; |
|
||||
right: -60px; |
|
||||
top: 44px; |
|
||||
-webkit-transform: rotate(45deg); |
|
||||
-moz-transform: rotate(45deg); |
|
||||
transform: rotate(45deg); |
|
||||
width: 230px; |
|
||||
z-index: 10000; |
|
||||
white-space: nowrap; |
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
||||
background-color: #686868; |
|
||||
box-shadow: 0 0 2px rgba(102,102,102,0.4); |
|
||||
padding: 1px 0; |
|
||||
} |
|
||||
.gh-ribbon a { |
|
||||
text-decoration: none !important; |
|
||||
border: 1px solid #ccc; |
|
||||
color: #fff; |
|
||||
display: block; |
|
||||
font-size: 13px; |
|
||||
font-weight: 700; |
|
||||
outline: medium none; |
|
||||
padding: 4px 50px 2px; |
|
||||
text-align: center; |
|
||||
} |
|
Loading…
Reference in new issue