835 |
.nick { color: #000000; font-size: 80%; padding: 2px; font-family: courier, courier new, monospace ; } |
.nick { color: #000000; font-size: 80%; padding: 2px; font-family: courier, courier new, monospace ; } |
836 |
.message { color: #000000; font-size: 100%; } |
.message { color: #000000; font-size: 100%; } |
837 |
.search { float: right; } |
.search { float: right; } |
838 |
|
a:link.tag, a:visited.tag { border: 1px dashed #ccc; backgound: #ccc; text-decoration: none } |
839 |
|
a:hover.tag { border: 1px solid #eee } |
840 |
|
hr { border: 1px dashed #ccc; height: 1px; clear: both; } |
841 |
|
/* |
842 |
.col-0 { background: #ffff66 } |
.col-0 { background: #ffff66 } |
843 |
.col-1 { background: #a0ffff } |
.col-1 { background: #a0ffff } |
844 |
.col-2 { background: #99ff99 } |
.col-2 { background: #99ff99 } |
845 |
.col-3 { background: #ff9999 } |
.col-3 { background: #ff9999 } |
846 |
.col-4 { background: #ff66ff } |
.col-4 { background: #ff66ff } |
847 |
a:link.tag, a:visited.tag { border: 1px dashed #ccc; backgound: #ccc; text-decoration: none } |
*/ |
|
a:hover.tag { border: 1px solid #eee } |
|
|
hr { border: 1px dashed #ccc; height: 1px; clear: both; } |
|
848 |
_END_OF_STYLE_ |
_END_OF_STYLE_ |
849 |
|
|
850 |
my $max_color = 4; |
my $max_color = 4; |
851 |
|
|
852 |
|
my @cols = qw( |
853 |
|
#ffcccc #ccffe6 #ccccff #e6ccff #ffccff #ffcce6 #ff9999 #ffcc99 #ffff99 |
854 |
|
#ccff99 #99ff99 #99ffcc #99ccff #9999ff #cc99ff #ff6666 #ffb366 #ffff66 |
855 |
|
#66ff66 #66ffb3 #66b3ff #6666ff #ff3333 #33ff33 #3399ff #3333ff #ff3399 |
856 |
|
#a0a0a0 #ff0000 #ffff00 #80ff00 #0000ff #8000ff #ff00ff #ff0080 #994d00 |
857 |
|
#999900 #009900 #cc0066 #c0c0c0 #ccff99 #99ff33 #808080 #660033 #ffffff |
858 |
|
); |
859 |
|
|
860 |
|
$max_color = 0; |
861 |
|
foreach my $c (@cols) { |
862 |
|
$style .= ".col-${max_color} { background: $c }\n"; |
863 |
|
$max_color++; |
864 |
|
} |
865 |
|
warn "defined $max_color colors for users...\n"; |
866 |
|
|
867 |
my %nick_enumerator; |
my %nick_enumerator; |
868 |
|
|
869 |
sub root_handler { |
sub root_handler { |