6 ****************************************************************************** |
6 ****************************************************************************** |
7 * |
7 * |
8 * see http://doc.qt.nokia.com/4.5/richtext-html-subset.html#css-properties |
8 * see http://doc.qt.nokia.com/4.5/richtext-html-subset.html#css-properties |
9 * |
9 * |
10 * In the QTfrontend of hedgewars also display:none; will work for class names |
10 * In the QTfrontend of hedgewars also display:none; will work for class names |
11 * that start with msg_ and .TimeStamp - as long as they are referenced |
11 * that start with msg_ and .timestamp - as long as they are referenced |
12 * directly and not within any hierachy. |
12 * directly and not within any class hierachy. |
|
13 * Note: Will only effect new lines! |
13 * |
14 * |
14 ****************************************************************************** |
15 ****************************************************************************** |
15 * |
16 * |
16 * This file can be stored at different locations, but it will be read only |
17 * This file can be stored at different locations, but it will be read only |
17 * once, based on first file found in this order: |
18 * once, based on first file found in this order: |
46 .msg_UserAction { color: #ff80ff; } |
47 .msg_UserAction { color: #ff80ff; } |
47 .msg_UserAction .nick { color: #ffa0ff;} |
48 .msg_UserAction .nick { color: #ffa0ff;} |
48 .msg_FriendAction { color: #ff00ff; } |
49 .msg_FriendAction { color: #ff00ff; } |
49 .msg_FriendAction .nick { color: #ff30ff; } |
50 .msg_FriendAction .nick { color: #ff30ff; } |
50 |
51 |
|
52 /* uncomment next line to disable join and leave messages of non-friends */ |
|
53 /* .msg_UserJoin { display:none; } */ |
|
54 |
51 /* timestamps */ |
55 /* timestamps */ |
52 .timestamp { |
56 .timestamp { |
53 color: #e0d8e0; |
57 color: #e0d8e0; |
54 font-family: courier; |
58 font-family: courier; |
55 font-size: 11px; |
59 font-size: 11px; |
56 vertical-align: center; |
60 vertical-align: center; |
57 /* uncomment next line to hide timestamps */ |
61 /* uncomment next line to hide timestamps */ |
58 /* display: none; */ |
62 /* display: none; */ |
59 } |
63 } |
60 |
64 |
|
65 .timestamp:hours { display: none; } |
|
66 /* .timestamp:seconds { display: none; } */ |
|
67 |
61 /* you can also set timestamp style for different msg types */ |
68 /* you can also set timestamp style for different msg types */ |
62 .msg_FriendChat .timestamp { color: #ffffff; } |
69 .msg_FriendChat .timestamp { color: #ffffff; } |
63 |
70 |
64 /* messages that contain your nickname */ |
71 /* messages that contain your nickname */ |
65 .highlight { } |
72 .highlight { } |
66 .highlight .nick { color: red; } /* nicknames in highlighted messages */ |
73 .highlight .nick { color: red; } /* nicknames in highlighted messages */ |
67 |
74 |
68 /* uncomment next line to disable join and leave messages of non-friends */ |
|
69 /* .msg_UserJoin { display:none; } */ |
|
70 |
|
71 /* system messages */ |
75 /* system messages */ |
72 .msg_Error { color: #ff0000; } |
76 .msg_Error { color: #ff0000; } |
73 .msg_Warning { color: #ff8000; } |
77 .msg_Warning { color: #ff8000; } |
74 .msg_Notice { color: #fefefe; } |
78 .msg_Notice { color: #fefefe; } |
75 .msg_Notice .nick { color: #ffffd0; } |
79 .msg_Notice .nick { color: #ffffd0; } |