2014-08-01 10:37:32 +08:00
|
|
|
|
* {
|
|
|
|
|
margin: 0;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
html { font-size: 62.5%; }
|
|
|
|
|
html, body {
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
background: #fff;
|
|
|
|
|
color: #111;
|
|
|
|
|
}
|
|
|
|
|
body {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.logo {
|
2014-08-30 18:03:02 +08:00
|
|
|
|
width: 210px;
|
|
|
|
|
height: 147px;
|
|
|
|
|
margin-left: 2rem;
|
|
|
|
|
margin-bottom: -3rem;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
background-image: url(ascii_fish.png);
|
|
|
|
|
}
|
|
|
|
|
/*Top site index*/
|
|
|
|
|
.qindex {
|
2014-09-23 18:27:06 +08:00
|
|
|
|
font: 500 1.4rem/3.6rem DejaVuSansCondensed, "DejaVu Sans", Roboto, "Lucida Grande", Calibri, Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
|
font-stretch: condensed;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
border: none;
|
|
|
|
|
color: white;
|
|
|
|
|
text-align: center;
|
|
|
|
|
position: relative;
|
2014-08-30 18:03:02 +08:00
|
|
|
|
background-color: #1f2d53;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 3.6rem;
|
|
|
|
|
}
|
|
|
|
|
/* Don't show the header */
|
|
|
|
|
.header { display: none; }
|
|
|
|
|
/*Substructure*/
|
|
|
|
|
.contents {
|
|
|
|
|
margin: 0;
|
|
|
|
|
min-width: 570px;
|
|
|
|
|
}
|
|
|
|
|
.fish_left_bar, .fish_right_bar, .fish_only_bar {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 3.6rem;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
-webkit-overflow-scrolling: touch; /* necessary for momentum scrolling */
|
2014-09-23 19:14:20 +08:00
|
|
|
|
font: 400 1.3rem/2.1rem "DejaVu Sans", Roboto, "Lucida Grande", Calibri, Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
}
|
|
|
|
|
.fish_left_bar {
|
2014-08-30 18:03:02 +08:00
|
|
|
|
width: 25rem;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
color: white;
|
2014-09-23 19:14:20 +08:00
|
|
|
|
font-family: DejaVuSansCondensed, "DejaVu Sans", Roboto, "Lucida Grande", Calibri, Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
|
font-stretch: condensed;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
background-color: #1f2d53;
|
|
|
|
|
}
|
|
|
|
|
.fish_right_bar {
|
2014-08-30 18:03:02 +08:00
|
|
|
|
margin-left: 25rem;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
margin-right: 0;
|
|
|
|
|
padding: 0 3rem;
|
2014-08-02 11:51:43 +08:00
|
|
|
|
box-shadow: -0.3rem 0.3rem 1rem #000818;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
}
|
|
|
|
|
.fish_only_bar {
|
|
|
|
|
width: 100%;
|
2014-08-19 20:41:23 +08:00
|
|
|
|
padding-bottom: 3rem;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
}
|
|
|
|
|
hr {
|
|
|
|
|
height: 0;
|
|
|
|
|
border: none;
|
|
|
|
|
border-top: 1px solid #AAA;
|
|
|
|
|
}
|
2014-08-19 20:41:23 +08:00
|
|
|
|
/*Interaction*/
|
2014-08-01 10:37:32 +08:00
|
|
|
|
a { color: #3d5cb3; }
|
|
|
|
|
.qindex a {
|
|
|
|
|
color: white;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
.qindex a:hover { text-decoration: underline; }
|
|
|
|
|
.fish_left_bar a {
|
|
|
|
|
color: white;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
.fish_left_bar a:visited { color: inherit; }
|
|
|
|
|
.fish_left_bar a:hover { color: #88aaff; }
|
|
|
|
|
.fish_right_bar a { text-decoration: none; }
|
|
|
|
|
.fish_right_bar a:hover { text-decoration: underline; }
|
|
|
|
|
/* Adjust lists */
|
|
|
|
|
.fish_left_bar ul {
|
2014-08-03 00:11:00 +08:00
|
|
|
|
padding-left: 2rem;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
padding-right: 1rem;
|
|
|
|
|
}
|
|
|
|
|
.fish_right_bar ul {
|
|
|
|
|
list-style-type: circle;
|
|
|
|
|
padding-left: 2.4rem;
|
|
|
|
|
margin: 1.4rem 0;
|
|
|
|
|
}
|
|
|
|
|
.fish_right_bar ul li {
|
|
|
|
|
margin-bottom: 0.6rem;
|
|
|
|
|
}
|
|
|
|
|
/* Typography */
|
|
|
|
|
p { margin: 1rem 0; }
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
|
color: #1f2d53;
|
2014-09-23 19:14:20 +08:00
|
|
|
|
font-family: DejaVuSansCondensed-Bold, "DejaVu Sans", Roboto, "Lucida Grande", Calibri, Verdana, sans-serif;
|
2014-09-23 18:27:06 +08:00
|
|
|
|
font-stretch: condensed;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
}
|
|
|
|
|
h1 {
|
2014-08-02 11:51:43 +08:00
|
|
|
|
margin: 1.6rem 0 1rem 0;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
font-weight: 700;
|
2014-08-02 11:51:43 +08:00
|
|
|
|
font-size: 1.7rem;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
}
|
|
|
|
|
h2 {
|
|
|
|
|
margin: 1.6rem 0 1rem 0;
|
2014-08-02 11:51:43 +08:00
|
|
|
|
font-weight: 700;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
font-size: 1.7rem;
|
|
|
|
|
}
|
|
|
|
|
h3 {
|
|
|
|
|
margin: 1rem 0 0.4rem 0;
|
|
|
|
|
font-weight: 500;
|
2014-08-02 11:51:43 +08:00
|
|
|
|
font-size: 1.5rem;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
}
|
|
|
|
|
.interior_title {
|
|
|
|
|
font-size: 2rem;
|
2014-08-02 11:51:43 +08:00
|
|
|
|
margin: 2rem 0 1.4rem 0;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
color: #414141;
|
|
|
|
|
padding-bottom: 10px;
|
|
|
|
|
border-bottom: 1px solid #AAA;
|
|
|
|
|
}
|
2014-09-03 22:10:53 +08:00
|
|
|
|
/* Special Formmating */
|
|
|
|
|
/* Keyboard */
|
2014-08-01 10:37:32 +08:00
|
|
|
|
.key span {
|
|
|
|
|
display:none;
|
|
|
|
|
}
|
|
|
|
|
.key em {
|
2014-09-23 15:21:18 +08:00
|
|
|
|
font-style: normal;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
margin-right: 2px;
|
|
|
|
|
}
|
|
|
|
|
.key em, .key b {
|
2014-08-27 02:19:24 +08:00
|
|
|
|
padding: 1px 4px;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
background-color: #fafafa;
|
2014-08-27 02:19:24 +08:00
|
|
|
|
background: linear-gradient(to bottom, #eee 0%,#fafafa 100%);
|
|
|
|
|
border: 1px solid #bbb;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
border-radius: 3px;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
white-space: nowrap;
|
2014-08-27 02:19:24 +08:00
|
|
|
|
box-shadow: 0 1px 2px #ddd;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
}
|
2014-09-03 22:10:53 +08:00
|
|
|
|
/* Console display */
|
2014-08-01 10:37:32 +08:00
|
|
|
|
tt, code, pre, .fish {
|
2014-09-04 15:10:42 +08:00
|
|
|
|
font-family: "DejaVu Sans Mono", "Source Code Pro", Menlo, "Ubuntu Mono", Consolas, Monaco, "Lucida Console", monospace, fixed;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
font-weight: 500;
|
2014-09-04 15:10:42 +08:00
|
|
|
|
text-shadow: 0 0 0 rgba(0,0,0,0.4); /*Stronger anti-aliasing*/
|
2014-08-01 10:37:32 +08:00
|
|
|
|
white-space: -moz-pre-wrap;
|
|
|
|
|
white-space: -pre-wrap;
|
|
|
|
|
white-space: -o-pre-wrap;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
}
|
2014-09-03 22:10:53 +08:00
|
|
|
|
|
|
|
|
|
/*Default 'light' console*/
|
2014-08-01 10:37:32 +08:00
|
|
|
|
.fish {
|
2014-08-02 11:51:43 +08:00
|
|
|
|
margin: 1rem 0;
|
|
|
|
|
padding: 0.6rem 1rem;
|
2014-09-03 22:10:53 +08:00
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
line-height: 1.8rem;
|
|
|
|
|
color: #111;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
background-color: #fafafa;
|
2014-09-03 22:10:53 +08:00
|
|
|
|
border: 1px solid #bbb;
|
|
|
|
|
border-radius: 0.6rem;
|
2014-09-04 15:10:42 +08:00
|
|
|
|
box-shadow: 0 0.2rem 0.2rem #eee;
|
2014-08-01 10:37:32 +08:00
|
|
|
|
}
|
2014-09-04 15:10:42 +08:00
|
|
|
|
.comment, .suggest { color: #555; }
|
|
|
|
|
.command, .function, .binary { color: #223aa4; }
|
|
|
|
|
.argument, .path, .file { color: #5961cf; }
|
|
|
|
|
.operator, .variable, .match, .history { color: #1c8885; }
|
2016-04-04 20:43:37 +08:00
|
|
|
|
.string, .string .operator { color: #858904; }
|
2014-08-01 10:37:32 +08:00
|
|
|
|
|
2014-09-04 15:10:42 +08:00
|
|
|
|
/* Synopsis variant */
|
2014-09-03 22:10:53 +08:00
|
|
|
|
.synopsis {
|
|
|
|
|
border: none;
|
|
|
|
|
color: #333;
|
|
|
|
|
text-shadow: 0 0 0 rgba(0,0,0,0.2);
|
|
|
|
|
background: none;
|
|
|
|
|
font-size: 1.3rem;
|
|
|
|
|
padding: 0;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
2014-09-04 15:10:42 +08:00
|
|
|
|
.synopsis .comment, .synopsis .suggest { color: #669; }
|
|
|
|
|
.synopsis .command, .synopsis .function, .synopsis .binary { color: #333; }
|
|
|
|
|
.synopsis .argument, .synopsis .path, .synopsis .file { color: #666; }
|
|
|
|
|
|
2014-09-03 22:10:53 +08:00
|
|
|
|
/* Console variants */
|
2014-08-01 10:37:32 +08:00
|
|
|
|
.cli-dark {
|
2014-09-03 22:10:53 +08:00
|
|
|
|
background-color: #222;
|
|
|
|
|
color: #ccc;
|
2014-09-04 15:10:42 +08:00
|
|
|
|
text-shadow: none;
|
2014-09-03 22:10:53 +08:00
|
|
|
|
padding: 0.6rem 1.2rem;
|
|
|
|
|
border-radius: 0.6rem;
|
|
|
|
|
}
|
2014-09-04 15:10:42 +08:00
|
|
|
|
.cli-dark .key em, .cli-dark .key b {
|
|
|
|
|
background-color: #ccc;
|
|
|
|
|
box-shadow: 0 0.1rem 0 #666;
|
|
|
|
|
border: 1px solid #333;
|
|
|
|
|
color: #000;
|
|
|
|
|
padding: 0 3px;
|
|
|
|
|
}
|
2014-09-03 22:10:53 +08:00
|
|
|
|
.cli-dark .comment { color: #c33; }
|
|
|
|
|
.cli-dark .command, .cli-dark .function, .cli-dark .binary { color: #6159de; }
|
|
|
|
|
.cli-dark .argument, .cli-dark .path, .cli-dark .file { color: #00afff; }
|
|
|
|
|
.cli-dark .redirect { color: #fff; }
|
|
|
|
|
.cli-dark .operator,.cli-dark .variable, .cli-dark .match, .cli-dark .history { color: #2ff; }
|
|
|
|
|
.cli-dark .string { color: #b3b206; }
|
|
|
|
|
.cli-dark .suggest, .cli-dark em { color: #777; }
|
|
|
|
|
.cli-dark .match { color: #2ff; }
|
|
|
|
|
.cli-dark .search_match { background-color: #a100a3; }
|
|
|
|
|
.cli-dark .cwd, .cli-dark .prompt .path { color: #2f2; }
|
|
|
|
|
.cli-dark .prompt { color: #999; }
|
|
|
|
|
.cli-dark .cursor { border-bottom: 2px solid #3F3; }
|
|
|
|
|
.cli-dark .underline { color: #00afff; text-decoration: underline; }
|
2017-02-13 07:41:31 +08:00
|
|
|
|
.cli-dark .error, .cli-dark .error .path { color: #f55; font-weight: bold; }
|
2014-09-04 15:10:42 +08:00
|
|
|
|
|
2014-09-03 22:10:53 +08:00
|
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
|
/*Menus*/
|
|
|
|
|
.menu { margin: 1.4rem 0; line-height: 2.2rem; }
|
|
|
|
|
.menu ul { list-style-type: none; }
|
|
|
|
|
.menu > ul li { position: relative; }
|
|
|
|
|
.menu > ul li:before {
|
|
|
|
|
content: "›";
|
|
|
|
|
color: #88aaff;
|
|
|
|
|
font-size: 1.6rem;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -1rem;
|
|
|
|
|
top: -1px;
|
|
|
|
|
}
|
|
|
|
|
/*Page overrides*/
|
|
|
|
|
/*Documentation*/
|
2014-08-30 18:03:02 +08:00
|
|
|
|
.docs_menu { line-height: 2rem; }
|
2014-08-01 10:37:32 +08:00
|
|
|
|
.docs_menu > ul > li { position: static; }
|
|
|
|
|
.docs_menu > ul ul { margin: 0.6rem 0; }
|
|
|
|
|
.docs_menu > ul ul > li { margin-bottom: 0.2rem; }
|
|
|
|
|
/*Tutorial*/
|
2014-09-08 00:35:19 +08:00
|
|
|
|
.tutorial_menu { margin-left: 2rem; }
|
2014-08-01 10:37:32 +08:00
|
|
|
|
/*Design*/
|
|
|
|
|
.design {
|
|
|
|
|
max-width: 780px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 0 4rem;
|
|
|
|
|
}
|
|
|
|
|
/*Commands*/
|
2014-09-08 00:35:19 +08:00
|
|
|
|
.commands_menu { line-height: 2rem; margin-left: 2rem; }
|
2014-08-01 10:37:32 +08:00
|
|
|
|
/*FAQ*/
|
2014-09-08 00:35:19 +08:00
|
|
|
|
.faq_menu { line-height: 2rem; margin-top: 4rem; margin-right: 2rem;}
|
|
|
|
|
.faq_menu > ul > li { position: static; }
|
2014-08-01 10:37:32 +08:00
|
|
|
|
.faq_menu > ul li { margin-bottom: 0.6rem; }
|
2014-09-08 00:35:19 +08:00
|
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
|
/*Licenses*/
|
|
|
|
|
.license {
|
|
|
|
|
max-width: 780px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 0 4rem;
|
|
|
|
|
}
|
|
|
|
|
.license li { margin: 1rem 0; }
|
|
|
|
|
.license ul li:first-child {
|
|
|
|
|
list-style-type: none;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.license ul li:first-child:before {
|
|
|
|
|
content: "0.";
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -2rem;
|
|
|
|
|
}
|