Vitaly Puzrin
10 years ago
4 changed files with 137 additions and 21 deletions
@ -1 +1,88 @@ |
|||||
html,body,.full-height{height:100%}body{overflow-x:hidden;padding-bottom:180px}.demo-options{margin-bottom:10px}.checkbox{margin-right:10px}.source{width:100%}.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} |
html, |
||||
|
body, |
||||
|
.full-height { |
||||
|
height: 100%; |
||||
|
} |
||||
|
body { |
||||
|
overflow-x: hidden; |
||||
|
padding-bottom: 180px; |
||||
|
} |
||||
|
.demo-options { |
||||
|
margin-bottom: 10px; |
||||
|
} |
||||
|
.checkbox { |
||||
|
margin-right: 10px; |
||||
|
} |
||||
|
.source { |
||||
|
width: 100%; |
||||
|
} |
||||
|
.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: 0.6; |
||||
|
-webkit-transition: opacity 0.5s ease-in-out; |
||||
|
transition: opacity 0.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; |
||||
|
} |
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue