2018-03-10 15:47:00 +08:00
|
|
|
body {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
body,
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
font-family: 'DejaVu Sans Mono', monospace;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
|
|
margin: 0;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
vertical-align: 3px;
|
|
|
|
}
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
font-size: 12px;
|
|
|
|
margin: 1em 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
tab-size: 2;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
tab-size: 4;
|
|
|
|
-moz-tab-size: 4;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
ul li {
|
|
|
|
list-style: inside;
|
|
|
|
}
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-06-18 02:32:03 +08:00
|
|
|
.expand {
|
2018-06-18 06:26:08 +08:00
|
|
|
height: 100%;
|
2018-06-18 02:32:03 +08:00
|
|
|
}
|
2018-03-10 15:47:00 +08:00
|
|
|
.container {
|
|
|
|
max-width: 600px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
#messages {
|
|
|
|
padding-top: 2em;
|
|
|
|
}
|
2018-10-08 02:45:20 +08:00
|
|
|
.message, .refmessage {
|
2018-03-10 15:47:00 +08:00
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
|
|
|
.nick {
|
|
|
|
float: left;
|
|
|
|
width: 16em;
|
|
|
|
margin-left: -17em;
|
|
|
|
margin-right: 1em;
|
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.trip {
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
.text {
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
.text p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
#footer {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#chatform {
|
|
|
|
border-top: 1px solid;
|
|
|
|
}
|
|
|
|
#chatinput {
|
|
|
|
width: 100%;
|
|
|
|
padding: 1em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
#sidebar {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 1em;
|
|
|
|
border-left: solid 1px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
#sidebar-content {
|
|
|
|
width: 180px;
|
2018-06-18 06:26:08 +08:00
|
|
|
padding-bottom: 10%;
|
2018-03-10 15:47:00 +08:00
|
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
|
|
.messages {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
#messages {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
.message {
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
.nick {
|
|
|
|
margin: 0;
|
|
|
|
float: none;
|
|
|
|
text-align: left;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.text {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
#sidebar {
|
|
|
|
top: 0.5em;
|
|
|
|
bottom: auto;
|
|
|
|
right: 0.5em;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|