Skip to content

Commit

Permalink
add custom nick colors section to custom css guide (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
xnaas committed Aug 16, 2022
1 parent 95efa48 commit 63847c3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _guides/custom-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,18 @@ This removes all colors, boldness, italics, underline, strikethrough, and monosp
}
```

### Custom nick colors

This code will color the target nick in the userlist and in the chat area. The
`i` is for case-insensitive matching.

```css
#chat .msg .user[data-name="targetnick" i],
#chat .userlist .names .user[data-name="targetnick" i] {
color: #ff79c6;
}
```

### Hide join/part/quit in specific channel only

Assuming we want to hide some status messages in the `#thelounge` channel:
Expand Down

0 comments on commit 63847c3

Please sign in to comment.