diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-04-13 09:54:54 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-04-13 09:54:54 +0200 |
commit | 7d7eeceb8920a57d4efe9e270c786804fc673d4f (patch) | |
tree | 5dd61b5f557ac4fbc6f581e623088e4046132596 | |
parent | 2c2ebea3fdd80d519e3fc7c5966f3a194f1bd1fa (diff) | |
download | weechat-7d7eeceb8920a57d4efe9e270c786804fc673d4f.zip |
doc: use color orange for key "alt" and gray for key "shift"
-rw-r--r-- | doc/asciidoc.conf | 2 | ||||
-rw-r--r-- | doc/asciidoc.css | 29 |
2 files changed, 20 insertions, 11 deletions
diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf index 98fdc7579..8bfa317cd 100644 --- a/doc/asciidoc.conf +++ b/doc/asciidoc.conf @@ -1,7 +1,7 @@ [replacements] @k\(C-\)=<span class="key ctrl">Ctrl</span><span class="keyplus">+</span> @k\(A-\)=<span class="key alt">Alt</span><span class="keyplus">+</span> -@k\(S-\)=<span class="key alt">Shift</span><span class="keyplus">+</span> +@k\(S-\)=<span class="key shift">Shift</span><span class="keyplus">+</span> @k\(l\)=<span class="key">l</span><span class="keyplus"> (L)</span> @k\(([a-z0-9_&\=][^)]*)\)=<span class="key">\1</span> @k\(([^)]+)\)=<span class="key other">\1</span> diff --git a/doc/asciidoc.css b/doc/asciidoc.css index c06e3d9f5..66466b877 100644 --- a/doc/asciidoc.css +++ b/doc/asciidoc.css @@ -26,20 +26,29 @@ p.table { .key.ctrl { font-size: 0.75em; font-variant: small-caps; - border-top: solid 1px #DAD0D0; - border-left: solid 1px #DAD0D0; - border-bottom: solid 1px #AAA0A0; - border-right: solid 1px #AAA0A0; - background-color: #FAF0F0; + border-top: solid 1px #DFD0D0; + border-left: solid 1px #DFD0D0; + border-bottom: solid 1px #AFA0A0; + border-right: solid 1px #AFA0A0; + background-color: #FFF0F0; } .key.alt { font-size: 0.75em; font-variant: small-caps; - border-top: solid 1px #D0C5C5; - border-left: solid 1px #D0C5C5; - border-bottom: solid 1px #A09595; - border-right: solid 1px #A09595; - background-color: #F0E5E5; + border-top: solid 1px #DFBBAB; + border-left: solid 1px #DFBBAB; + border-bottom: solid 1px #AF8B7B; + border-right: solid 1px #AF8B7B; + background-color: #FFDBCB; +} +.key.shift { + font-size: 0.75em; + font-variant: small-caps; + border-top: solid 1px #D5D5D5; + border-left: solid 1px #D5D5D5; + border-bottom: solid 1px #A5A5A5; + border-right: solid 1px #A5A5A5; + background-color: #F5F5F5; } .key.other { font-size: 0.75em; |