From 8ca88f14f75526fe1b3ee99ed95eeeb9b636e7cd Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Sat, 2 Aug 2014 17:11:00 +0100 Subject: [PATCH] Style fix for sub-line comments --- doc_src/index.hdr.in | 2 +- doc_src/user_doc.css | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index c1e0d17ab..ca4e95f9d 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -395,7 +395,7 @@ A comma separated list of characters enclosed in curly braces will be expanded s Example: \fish -echo input.{c,h,txt} outputs 'input.c input.h input.txt' +echo input.{c,h,txt} # Outputs 'input.c input.h input.txt' \endfish The command `mv *.{c,h} src/` moves all files with the suffix '.c' or '.h' to the subdirectory src. diff --git a/doc_src/user_doc.css b/doc_src/user_doc.css index d7b2e0fd1..124d51080 100644 --- a/doc_src/user_doc.css +++ b/doc_src/user_doc.css @@ -87,7 +87,7 @@ a { color: #3d5cb3; } .fish_right_bar a:hover { text-decoration: underline; } /* Adjust lists */ .fish_left_bar ul { - padding-left: 1.4rem; + padding-left: 2rem; padding-right: 1rem; } .fish_right_bar ul { @@ -171,10 +171,30 @@ h1 > code, h2 > code, h3 > code { line-height: 1.9rem; color: #333; background-color: #fafafa; + /*color: #00afff;*/ + /*background-color: #111;*/ border: 1px solid #eee; border-radius: 0.6rem; } + .comment { color: #555; } +.command, .function, .binary { color: #23326b; } +.string { color: #725000; } + +/*.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 { background-color: #fafafa;