| 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: black; |
| 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 | color: lightgrey; |
| 82 | background: #1a2a44; |
| 83 | |
| 84 | } |
| 85 | |
| 86 | /* message data in output window */ |
| 87 | |
| 88 | .msg-data[user="!ME"]{ |
| 89 | |
| 90 | background: black; |
| 91 | |
| 92 | } |
| 93 | |
| 94 | .msg-data[msgtype="JOIN"], |
| 95 | .msg-data[msgtype="PART"] { |
| 96 | |
| 97 | width: 100%; |
| 98 | font-variant: small-caps; |
| 99 | background: lightgray; |
| 100 | color: black; |
| 101 | |
| 102 | } |
| 103 | |
| 104 | .msg-data[msgtype="HELLO"] { |
| 105 | |
| 106 | background: white; |
| 107 | color: darkgreen; |
| 108 | |
| 109 | } |
| 110 | |
| 111 | .msg-data[msgtype="ERROR"], |
| 112 | .msg-data[msgtype="DISCONNECT"] { |
| 113 | |
| 114 | background: red; |
| 115 | color: white; |
| 116 | |
| 117 | } |
| 118 | |
| 119 | .msg-data[msgtype="USAGE"] { |
| 120 | |
| 121 | font-style: italic; |
| 122 | color: white; |
| 123 | |
| 124 | } |
| 125 | |
| 126 | .msg-data[msgtype="HELP"] { |
| 127 | |
| 128 | font-weight: normal; |
| 129 | |
| 130 | } |
| 131 | |
| 132 | .msg-data[msgtype="ACTION"] { |
| 133 | |
| 134 | color: cyan; |
| 135 | |
| 136 | } |
| 137 | |
| 138 | .msg-data[msgtype="NOTICE"] { |
| 139 | |
| 140 | color: yellow; |
| 141 | |
| 142 | } |
| 143 | |
| 144 | .msg-data[msgtype="KICK"] { |
| 145 | |
| 146 | background: orange; |
| 147 | color: yellow; |
| 148 | |
| 149 | } |
| 150 | |
| 151 | .msg-data[msgtype="QUIT"] { |
| 152 | |
| 153 | background: lightgrey; |
| 154 | color: brown; |
| 155 | |
| 156 | } |
| 157 | |
| 158 | /* nickname field in output */ |
| 159 | .msg-user { |
| 160 | |
| 161 | text-align: center; |
| 162 | vertical-align: middle; |
| 163 | color: lightgrey; |
| 164 | font-weight: bold; |
| 165 | background: grey; |
| 166 | |
| 167 | } |
| 168 | |
| 169 | .msg-user[parity="odd"]{ |
| 170 | |
| 171 | background: black; |
| 172 | |
| 173 | } |
| 174 | |
| 175 | .msg-user[user="!ME"] { |
| 176 | |
| 177 | color : white; |
| 178 | |
| 179 | } |
| 180 | |
| 181 | .msg-user[msgtype="ACTION"] { |
| 182 | |
| 183 | font-style: italic; |
| 184 | |
| 185 | } |
| 186 | |
| 187 | /* Message type indicator in output window */ |
| 188 | .msg-type { |
| 189 | |
| 190 | text-align: center; |
| 191 | vertical-align: middle; |
| 192 | color: brown; |
| 193 | font-weight: bold; |
| 194 | background: lightgrey; |
| 195 | |
| 196 | } |
| 197 | |
| 198 | .msg-type[user="!ME"] { |
| 199 | |
| 200 | background: silver; |
| 201 | |
| 202 | } |