Use monospace font on MOTDs and set an icon

This commit is contained in:
Pavel Djundik 2018-07-16 20:59:45 +03:00
parent 5209b12d44
commit ee4c8d78d3
2 changed files with 14 additions and 0 deletions

View File

@ -109,6 +109,7 @@ button {
code, code,
pre, pre,
#chat .msg.motd .text,
.irc-monospace, .irc-monospace,
textarea#user-specified-css-input { textarea#user-specified-css-input {
font-family: Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace; font-family: Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
@ -248,6 +249,7 @@ kbd {
#chat .quit .from::before, #chat .quit .from::before,
#chat .topic .from::before, #chat .topic .from::before,
#chat .mode .from::before, #chat .mode .from::before,
#chat .motd .from::before,
#chat .ctcp .from::before, #chat .ctcp .from::before,
#chat .ctcp_request .from::before, #chat .ctcp_request .from::before,
#chat .whois .from::before, #chat .whois .from::before,
@ -365,6 +367,10 @@ kbd {
color: #2ecc40; color: #2ecc40;
} }
#chat .motd .from::before {
content: "\f02e"; /* https://fontawesome.com/icons/bookmark?style=solid */
}
#chat .ctcp .from::before, #chat .ctcp .from::before,
#chat .ctcp_request .from::before { #chat .ctcp_request .from::before {
content: "\f15c"; /* https://fontawesome.com/icons/file-alt?style=solid */ content: "\f15c"; /* https://fontawesome.com/icons/file-alt?style=solid */
@ -1335,6 +1341,13 @@ background on hover (unless active) */
display: none !important; display: none !important;
} }
#chat .msg.motd .text {
background: #f6f6f6;
display: inline-block;
border-radius: 4px;
padding: 6px;
}
#chat .condensed .content, #chat .condensed .content,
#chat .away .content, #chat .away .content,
#chat .back .content, #chat .back .content,

View File

@ -158,6 +158,7 @@
color: #b7c5d1; color: #b7c5d1;
} }
#chat .msg.motd .text,
code, code,
.irc-monospace { .irc-monospace {
background: #28333d; background: #28333d;