Skip to content

Instantly share code, notes, and snippets.

@greglittlefield-wf
Last active February 18, 2016 18:02
Show Gist options
  • Save greglittlefield-wf/bd6582c5fda8278a0988 to your computer and use it in GitHub Desktop.
Save greglittlefield-wf/bd6582c5fda8278a0988 to your computer and use it in GitHub Desktop.
Custom HipChat CSS
/* Do font-size on the chat container so all font can respond to zoom. */
.chat_text {
/* These are %-based to enable text size scaling options. The default text size is defined
by a function on the WebPreferences object */
font-size: 100%;
}
p, div, .nameBlock p, .messageBlock p, .messageBlock div, .messageBlock pre {
font-size: inherit;
}
/* Overrides from chat.css */
/* em-based date divider margin */
.dateDivider {
margin: 1.8em 0;
}
/* em-based date divider size */
.dateDivider span {
font-size: 1.5em;
}
/* Less message padding */
.chatBlock td {
padding: 4px 0;
}
img[name="emoticon"] {
height:2em;
width: auto;
margin-top: -.4em;
position: relative;
top: .2em;
}
.me {
background-color: #ecf2f8
}
.messageBlock pre * {
font-family: inherit;
}
.messageBlock pre {
font-family: Input;
font-size: 80% !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment