aboutsummaryrefslogtreecommitdiffstats
path: root/client/structure.css
blob: 18abc335d0a4a938400590f03d25625d3ad2f463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
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;
}
.container {
  max-width: 600px;
  margin: 0 auto;
}
.messages {
  border-left: 1px solid;
}
#messages {
  padding-top: 2em;
}
.message {
  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;
}
@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;
  }
}