| 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | |
| 5 | body { |
| 6 | |
| 7 | margin: 0px 0px 0px 0px; |
| 8 | background: url(chrome://chatzilla/skin/images/xtal.jpg); |
| 9 | |
| 10 | } |
| 11 | |
| 12 | .bold { |
| 13 | |
| 14 | font-weight: bold; |
| 15 | |
| 16 | } |
| 17 | |
| 18 | .italic { |
| 19 | |
| 20 | font-style: italic; |
| 21 | |
| 22 | } |
| 23 | |
| 24 | .underline { |
| 25 | |
| 26 | text-decoration: underline; |
| 27 | |
| 28 | } |
| 29 | |
| 30 | .strikethrough { |
| 31 | |
| 32 | text-decoration: line-through; |
| 33 | |
| 34 | } |
| 35 | |
| 36 | .teletype { |
| 37 | |
| 38 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
| 39 | |
| 40 | } |
| 41 | |
| 42 | .smallcap { |
| 43 | |
| 44 | font-variant: small-caps; |
| 45 | |
| 46 | } |
| 47 | |
| 48 | .rheet { |
| 49 | |
| 50 | font-size: 14pt; |
| 51 | font-weight: bold; |
| 52 | color: magenta; |
| 53 | |
| 54 | } |
| 55 | |
| 56 | /* output from a chat session (contains msgs) */ |
| 57 | .chat-view { |
| 58 | |
| 59 | vertical-align: text-bottom; |
| 60 | |
| 61 | } |
| 62 | |
| 63 | /* common container for all portions of a message |
| 64 | * (contains msg-*s) */ |
| 65 | .msg { |
| 66 | |
| 67 | font-family: sans-serif; |
| 68 | |
| 69 | } |
| 70 | |
| 71 | .msg[user="!ME"] { |
| 72 | |
| 73 | background: lightgrey; |
| 74 | |
| 75 | } |
| 76 | |
| 77 | /* message data in output window */ |
| 78 | .msg-data { |
| 79 | |
| 80 | font-weight: bold; |
| 81 | |
| 82 | } |
| 83 | |
| 84 | .msg-data[msgtype="JOIN"], |
| 85 | .msg-data[msgtype="PART"] { |
| 86 | |
| 87 | font-variant: small-caps; |
| 88 | color: darkslategrey; |
| 89 | |
| 90 | } |
| 91 | |
| 92 | .msg-data[msgtype="ACTION"] { |
| 93 | |
| 94 | color: darkred; |
| 95 | |
| 96 | } |
| 97 | |
| 98 | .msg-data[msgtype="NOTICE"] { |
| 99 | |
| 100 | color: green; |
| 101 | |
| 102 | } |
| 103 | |
| 104 | .msg-data[msgtype="KICK"] { |
| 105 | |
| 106 | color: slategrey; |
| 107 | |
| 108 | } |
| 109 | |
| 110 | .msg-data[msgtype="QUIT"] { |
| 111 | |
| 112 | color: brown; |
| 113 | |
| 114 | } |
| 115 | |
| 116 | /* nickname field in output */ |
| 117 | .msg-user { |
| 118 | |
| 119 | text-align: center; |
| 120 | vertical-align: middle; |
| 121 | color: blue; |
| 122 | font-weight: bold; |
| 123 | background: grey; |
| 124 | |
| 125 | } |
| 126 | |
| 127 | .msg-user[user="!ME"] { |
| 128 | |
| 129 | color: green; |
| 130 | |
| 131 | } |
| 132 | |
| 133 | .msg-user[msgtype="ACTION"] { |
| 134 | |
| 135 | font-style: italic; |
| 136 | |
| 137 | } |
| 138 | |
| 139 | /* Message type indicator in output window */ |
| 140 | .msg-type { |
| 141 | |
| 142 | text-align: center; |
| 143 | vertical-align: middle; |
| 144 | color: brown; |
| 145 | font-weight: bold; |
| 146 | background: lightgrey; |
| 147 | |
| 148 | } |