提交 9ec395da 编写于 作者: J Jost Schmithals

tab indentation

上级 47e43962
@font-face {
font-family: 'inconsolata';
src: url('files/inconsolata.woff') format('woff');
font-weight: normal;
font-style: normal;
font-family: 'inconsolata';
src: url('files/inconsolata.woff') format('woff');
font-weight: normal;
font-style: normal;
}
*{
box-sizing: border-box;
box-sizing: border-box;
}
html {
height: 100%;
height: 100%;
}
body {
background-color: #ffffff;
margin: 0px;
height: 100%;
color: #555;
font-family: 'inconsolata';
font-size: 15px;
line-height: 18px;
overflow: hidden;
background-color: #ffffff;
margin: 0px;
height: 100%;
color: #555;
font-family: 'inconsolata';
font-size: 15px;
line-height: 18px;
overflow: hidden;
}
h1 {
margin-top: 30px;
margin-bottom: 40px;
margin-left: 20px;
font-size: 25px;
font-weight: normal;
margin-top: 30px;
margin-bottom: 40px;
margin-left: 20px;
font-size: 25px;
font-weight: normal;
}
h2 {
color: #454545;
font-size: 18px;
font-weight: normal;
color: #454545;
font-size: 18px;
font-weight: normal;
margin-top: 20px;
margin-left: 20px;
margin-top: 20px;
margin-left: 20px;
}
h3 {
color: #666;
font-size: 16px;
font-weight: normal;
color: #666;
font-size: 16px;
font-weight: normal;
margin-top: 20px;
margin-left: 20px;
margin-top: 20px;
margin-left: 20px;
}
a {
color: #2194CE;
text-decoration: none;
color: #2194CE;
text-decoration: none;
}
#panel {
position: fixed;
left: 0px;
width: 260px;
height: 100%;
overflow: auto;
background: #fafafa;
position: fixed;
left: 0px;
width: 260px;
height: 100%;
overflow: auto;
background: #fafafa;
}
#panel ul {
list-style-type: none;
padding: 0px;
margin-left: 20px;
list-style-type: none;
padding: 0px;
margin-left: 20px;
}
iframe {
position: absolute;
border: 0px;
left: 260px;
width: calc(100% - 260px);
height: 100%;
overflow: auto;
position: absolute;
border: 0px;
left: 260px;
width: calc(100% - 260px);
height: 100%;
overflow: auto;
}
.filterBlock{
margin: 20px;
position: relative;
margin: 20px;
position: relative;
}
.filterBlock p {
margin: 0;
margin: 0;
}
#filterInput {
width: 100%;
padding: 5px;
font-family: inherit;
font-size: 15px;
outline: none;
border: 1px solid #dedede;
width: 100%;
padding: 5px;
font-family: inherit;
font-size: 15px;
outline: none;
border: 1px solid #dedede;
}
#filterInput:focus{
border: 1px solid #2194CE;
border: 1px solid #2194CE;
}
#clearFilterButton {
position: absolute;
right: 6px;
top: 50%;
margin-top: -8px;
width: 16px;
height: 16px;
font-size: 14px;
color: grey;
text-align: center;
line-height: 0;
padding-top: 7px;
opacity: .5;
position: absolute;
right: 6px;
top: 50%;
margin-top: -8px;
width: 16px;
height: 16px;
font-size: 14px;
color: grey;
text-align: center;
line-height: 0;
padding-top: 7px;
opacity: .5;
}
#clearFilterButton:hover {
opacity: 1;
opacity: 1;
}
.hidden {
display: none;
display: none;
}
#panel li b {
font-weight: bold;
font-weight: bold;
}
/* mobile */
#expandButton {
display: none;
position: absolute;
right: 20px;
top: 12px;
width: 32px;
height: 32px;
display: none;
position: absolute;
right: 20px;
top: 12px;
width: 32px;
height: 32px;
}
#expandButton span {
height: 2px;
background-color: #2194CE;
width: 16px;
position: absolute;
left: 8px;
top: 10px;
height: 2px;
background-color: #2194CE;
width: 16px;
position: absolute;
left: 8px;
top: 10px;
}
#expandButton span:nth-child(1) {
top: 16px;
top: 16px;
}
#expandButton span:nth-child(2) {
top: 22px;
top: 22px;
}
@media all and ( max-width: 640px ) {
h1{
margin-top: 20px;
margin-bottom: 20px;
}
#panel{
position: absolute;
left: 0;
top: 0;
height: 480px;
width: 100%;
right: 0;
z-index: 100;
overflow: hidden;
border-bottom: 1px solid #dedede;
}
#navigation{
position: absolute;
left: 0;
top: 90px;
right: 0;
bottom: 0;
font-size: 17px;
line-height: 22px;
overflow: auto;
}
iframe{
position: absolute;
left: 0;
top: 56px;
width: 100%;
height: calc(100% - 56px);
}
#expandButton{
display: block;
}
#panel.collapsed{
height: 56px;
}
h1{
margin-top: 20px;
margin-bottom: 20px;
}
#panel{
position: absolute;
left: 0;
top: 0;
height: 480px;
width: 100%;
right: 0;
z-index: 100;
overflow: hidden;
border-bottom: 1px solid #dedede;
}
#navigation{
position: absolute;
left: 0;
top: 90px;
right: 0;
bottom: 0;
font-size: 17px;
line-height: 22px;
overflow: auto;
}
iframe{
position: absolute;
left: 0;
top: 56px;
width: 100%;
height: calc(100% - 56px);
}
#expandButton{
display: block;
}
#panel.collapsed{
height: 56px;
}
}
此差异已折叠。
此差异已折叠。
......@@ -17,8 +17,8 @@ body {
a {
color: #1184CE;
cursor: pointer;
text-decoration: underline;
cursor: pointer;
text-decoration: underline;
}
h1 {
......@@ -107,8 +107,8 @@ strong {
}
#button:hover {
cursor: pointer;
opacity: 1;
cursor: pointer;
opacity: 1;
}
a.permalink {
......
if ( !window.frameElement ) {
// If the page is not yet displayed as an iframe of the index page (navigation panel/working links),
// redirect to the index page (using the current URL without extension as the new fragment).
// If this URL itself has a fragment, append it with a dot (since '#' in an URL fragment is not allowed).
// If the page is not yet displayed as an iframe of the index page (navigation panel/working links),
// redirect to the index page (using the current URL without extension as the new fragment).
// If this URL itself has a fragment, append it with a dot (since '#' in an URL fragment is not allowed).
var href = window.location.href;
var splitIndex = href.lastIndexOf( '/docs/' ) + 6;
var docsBaseURL = href.substr( 0, splitIndex );
var href = window.location.href;
var splitIndex = href.lastIndexOf( '/docs/' ) + 6;
var docsBaseURL = href.substr( 0, splitIndex );
var hash = window.location.hash;
var hash = window.location.hash;
if ( hash !== '' ) {
if ( hash !== '' ) {
href = href.replace( hash, '' );
hash = hash.replace( '#', '.' );
href = href.replace( hash, '' );
hash = hash.replace( '#', '.' );
}
}
var pathSnippet = href.slice( splitIndex, -5 );
var pathSnippet = href.slice( splitIndex, -5 );
window.location.replace( docsBaseURL + '#' + pathSnippet + hash );
window.location.replace( docsBaseURL + '#' + pathSnippet + hash );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册