* {
box-sizing: border-box;
}
html,
body {
font: 12px "Consolas", monospace;
height: 100%;
margin: 0;
}
a:focus,
button:focus {
outline: 0;
}
h1,
h2 {
font: inherit;
margin: 0;
}
.user {
background: none;
border: 0;
font: inherit;
margin: 0;
padding: 0;
}
.user:hover {
color: #f00;
cursor: pointer;
}
#wrap,
#viewport {
height: 100%;
min-width: 640px;
position: relative;
width: 100%;
}
#sidebar {
border-right: 1px solid #e1e1e8;
float: left;
height: 100%;
width: 200px;
}
#sidebar .network {
margin: 20px;
}
#sidebar .channel {
display: block;
margin: 5px;
margin-left: 10px;
}
#sidebar .channel:first-child {
margin-left: 0;
}
#chat {
bottom: 0;
left: 200px;
line-height: 16px;
position: absolute;
right: 0;
top: 0;
}
#chat a {
color: inherit;
}
#chat form {
border-top: 1px solid #ddd;
bottom: 1px;
height: 30px;
left: 0;
position: absolute;
right: 0;
}
#chat form input {
border: 0;
font: inherit;
height: 30px;
margin: 0;
outline: none;
padding: 0 10px;
width: 100%;
}
#chat .query .users,
#chat .lobby .users,
#chat .lobby .close {
display: none;
}
#chat .query .title,
#chat .lobby .title,
#chat .query .messages,
#chat .lobby .messages {
right: 0;
}
#chat .window {
background: #fff;
height: 100%;
position: absolute;
width: 100%;
}
#chat .close {
float: right;
margin-top: 10px;
}
#chat .title {
border-bottom: 1px solid #ddd;
height: 43px;
left: 0;
overflow: hidden;
padding: 0 10px;
position: absolute;
right: 160px;
top: 0;
}
#chat .title h1 {
color: #333;
display: inline-block;
font-size: 18px;
line-height: 43px;
}
#chat .messages {
box-shadow: inset 8px 0 0 #f5f5f5;
bottom: 30px;
left: 0;
overflow-y: auto;
padding: 4px 0;
position: absolute;
right: 160px;
top: 43px;
word-wrap: break-word;
z-index: 0;
}
#chat .show-more {
display: none;
padding: 2px 8px 0 16px;
}
#chat .show-more-button {
padding: 6px 0;
width: 100%;
}
#chat .msg {
border-left: 8px solid transparent;
line-height: 1.3em;
padding: 2px 8px;
}
#chat .time {
color: #aaa;
}
#chat .highlight {
background: #fcf8e3;
border-left-color: #faebcc;
}
#chat .user {
color: #f00;
}
#chat .error,
#chat .join,
#chat .kick,
#chat .mode,
#chat .nick,
#chat .notice,
#chat .part,
#chat .quit,
#chat .topic,
#chat .whois {
color: #888;
}
#chat .highlight .type,
#chat .motd .type,
#chat .notice .type,
#chat .whois .type {
display: none;
}
#chat .users {
background: #fff;
border-left: 1px solid #ddd;
bottom: 30px;
line-height: 1.4em;
overflow-y: auto;
padding: 4px 8px;
position: absolute;
right: 0;
top: 0;
width: 160px;
}
#chat .users .count {
color: #888;
}
#chat .users .user {
display: block;
padding: 2px 0;
}