mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-03 20:11:15 -03:00
Rebase documentation changes
This commit is contained in:
@@ -127,7 +127,11 @@ h3 {
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #AAA;
|
||||
}
|
||||
/*Special Formmating for Code and keys*/
|
||||
em {
|
||||
font-style: normal;
|
||||
}
|
||||
/* Special Formmating */
|
||||
/* Keyboard */
|
||||
.key span {
|
||||
display:none;
|
||||
}
|
||||
@@ -144,70 +148,102 @@ h3 {
|
||||
white-space: nowrap;
|
||||
box-shadow: 0 1px 2px #ddd;
|
||||
}
|
||||
/* Console display */
|
||||
tt, code, pre, .fish {
|
||||
font-family: "DejaVu Sans Mono", "Source Code Pro", Menlo, "Ubuntu Mono", "Consolas", Monaco, "Lucida Console", monospace, fixed;
|
||||
font-weight: 500;
|
||||
text-shadow: 0 0 0 rgba(0,0,0,0.2);
|
||||
}
|
||||
tt {
|
||||
color: red; /*REMOVE THIS*/
|
||||
}
|
||||
code, pre, .line {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
h1 > code, h2 > code, h3 > code {
|
||||
font-family: "DejaVu Sans Mono", Menlo, "Source Code Pro", "Consolas", "Lucida Console", Roboto, Verdana, sans-serif;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/*Default 'light' console*/
|
||||
.fish {
|
||||
margin: 1rem 0;
|
||||
padding: 0.6rem 1rem;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.9rem;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.8rem;
|
||||
color: #111;
|
||||
text-shadow: 0 0 0 #000; /* Stronger anti-aliasing */
|
||||
background-color: #fafafa;
|
||||
border: 1px solid #f0f0f0;
|
||||
border-radius: 0.4rem;
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 0.6rem;
|
||||
box-shadow: 0 0.2rem 0.2rem #ddd;
|
||||
}
|
||||
|
||||
.comment { color: #777; }
|
||||
.command { color: #0A0; }
|
||||
.function { color: #0A0; }
|
||||
.binary { color: #060; }
|
||||
.argument { color: #906; }
|
||||
.variable { color: #339; }
|
||||
.redirect { color: #F00; }
|
||||
.operator { color: #990; }
|
||||
.file { color: #c97922; }
|
||||
.path { color: #c97922; }
|
||||
.string { color: #770; }
|
||||
.prompt { color: #03C; }
|
||||
.suggest { color: cyan ; }
|
||||
.error { color: red; font-weight: bold; }
|
||||
.cursor { border-bottom: 2px solid green; }
|
||||
|
||||
.comment { color: #555; }
|
||||
/*.command, .function, .binary { color: #23326b; }*/
|
||||
.command { color: #00F; }
|
||||
.binary { color: #F0F; }
|
||||
.function { color: #0FF; }
|
||||
.string { color: #725000; }
|
||||
.operator, .variable { color: #741ba3; }
|
||||
.path { color: #F00; }
|
||||
.file { color: #0F0; }
|
||||
.argument { color: #19c9ff; }
|
||||
.redirect { color: #f00; }
|
||||
.prompt { color: #000; }
|
||||
.cursor { border-bottom: 2px solid #444; }
|
||||
.underline { text-decoration: underline; }
|
||||
|
||||
/*.keyword, .keywordflow { color: #050; }*/
|
||||
/*.stringliteral, .charliteral { color: #226; }*/
|
||||
/*.preprocessor, .comment { color: #555; text-shadow: none; }*/
|
||||
/*.comment { color: #c33; }
|
||||
.command, .function, .binary { color: #2568e2; }
|
||||
.argument, .variable, .path, .file { color: #00afff; }
|
||||
.redirect { color: #fff; }
|
||||
.operator, .match, .history { color: #2ff; }
|
||||
.string { color: #c07d2f; }
|
||||
.suggest { color: #555; }
|
||||
.error { color: #f33; font-weight: bold; }
|
||||
.match { color: #2ff; }
|
||||
.search_match { background-color: #f2f; }
|
||||
.cwd { color: #2f2; }
|
||||
.prompt { color: #fff; }
|
||||
.cursor { border-bottom: 2px solid #ccc; }
|
||||
.underline { text-decoration: underline; }*/
|
||||
|
||||
.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;
|
||||
}
|
||||
/* Console variants */
|
||||
.cli-dark {
|
||||
background-color: #111;
|
||||
color: #ddd;
|
||||
padding: 0.4rem 2rem;
|
||||
border-radius: 0.4rem;
|
||||
background-color: #222;
|
||||
color: #ccc;
|
||||
text-shadow: 0 0 0 #222;
|
||||
padding: 0.6rem 1.2rem;
|
||||
border-radius: 0.6rem;
|
||||
}
|
||||
/*
|
||||
.cli .command {
|
||||
color: #0E0;
|
||||
font-weight: bold;
|
||||
.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; }
|
||||
.cli-dark .error, .cli-dark .error .path { color: #f33; font-weight: bold; }
|
||||
.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;
|
||||
}
|
||||
.cli .function {
|
||||
color: #0C0;
|
||||
}*/
|
||||
|
||||
/*Menus*/
|
||||
.menu { margin: 1.4rem 0; line-height: 2.2rem; }
|
||||
.menu ul { list-style-type: none; }
|
||||
|
||||
Reference in New Issue
Block a user