37
|
1 body {
|
|
2 position: fixed;
|
|
3 top: 0;
|
|
4 bottom: 0;
|
|
5 left: 0;
|
|
6 right: 0;
|
|
7 }
|
|
8
|
10
|
9 div[content] {
|
|
10 margin-bottom: 0;
|
|
11 display: flex;
|
37
|
12 height: calc(100% - 32px);
|
10
|
13 }
|
|
14
|
|
15 div[chats] {
|
|
16 overflow-y: auto;
|
|
17 }
|
|
18
|
|
19 div[chats] > div {
|
|
20 margin-top: 2px;
|
|
21 margin-bottom: 2px;
|
|
22 padding-top: 16px;
|
|
23 padding-bottom: 16px;
|
|
24 padding-left: 8px;
|
|
25 padding-right: 8px;
|
|
26 border-radius: 4px;
|
11
|
27 cursor: pointer;
|
10
|
28 }
|
|
29
|
|
30 div[chats] > div:hover,
|
|
31 div[chats] > div[selected] {
|
|
32 background-color: LightBlue;
|
|
33 }
|
|
34
|
|
35 div[posts] {
|
|
36 width: 100%;
|
|
37 display: flex;
|
|
38 flex-direction: column;
|
34
|
39 justify-content: space-between;
|
10
|
40 }
|
|
41
|
|
42 div[posts] > * {
|
|
43 padding-right: 3vw;
|
|
44 }
|
|
45
|
|
46 div[top] {
|
|
47 display: flex;
|
|
48 justify-content: space-between;
|
|
49 align-items: center;
|
|
50 }
|
|
51
|
41
|
52 div[top] h3 a {
|
|
53 display: inline-block;
|
|
54 margin-bottom: -5px;
|
|
55 }
|
|
56 div[top] h3 a img {
|
|
57 display: block;
|
|
58 }
|
|
59
|
10
|
60 div[main] {
|
|
61 overflow-y: auto;
|
|
62 }
|
|
63
|
|
64 div[post] {
|
|
65 margin-top: 16px;
|
|
66 margin-bottom: 16px;
|
|
67 }
|
|
68
|
34
|
69 [intro] {
|
|
70 text-align: center;
|
|
71 }
|
|
72
|
|
73 div[who] {
|
|
74 display: flex;
|
|
75 justify-content: space-between;
|
|
76 }
|
|
77
|
41
|
78 div[content] span[right] {
|
34
|
79 font-size: 12px;
|
|
80 color: grey;
|
|
81 }
|
|
82
|
22
|
83 span[pulldown] {
|
|
84 position: relative;
|
35
|
85 width: 16px;
|
|
86 display: inline-block;
|
36
|
87 vertical-align: middle;
|
22
|
88 }
|
|
89
|
|
90 span[pulldown] > div {
|
|
91 display: none;
|
|
92 top: 0;
|
34
|
93 right: 100%;
|
22
|
94 z-index: 2;
|
|
95 position: absolute;
|
|
96 border: 1px solid #cccccc;
|
|
97 border-radius: 4px;
|
|
98 text-align: left;
|
|
99 background-color: #eeeeee;
|
|
100 padding: 5px 0;
|
|
101 }
|
|
102
|
|
103 span[pulldown] > div > span {
|
|
104 white-space: nowrap;
|
|
105 display: block;
|
|
106 padding: 3px 16px;
|
|
107 xcolor: #333333;
|
|
108 cursor: pointer;
|
|
109 }
|
|
110
|
|
111 span[pulldown] > div > span:hover {
|
|
112 color: #ffffff;
|
|
113 background-color: #428bca;
|
|
114 }
|
|
115
|
10
|
116 div[text] {
|
34
|
117 white-space: pre-wrap;
|
10
|
118 }
|
|
119
|
|
120 div[input] {
|
|
121 padding-top: 1em;
|
|
122 padding-bottom: 1em;
|
|
123 display: flex;
|
|
124 gap: 8px;
|
|
125 align-items: flex-end;
|
|
126 }
|
|
127
|
|
128 div[input] textarea {
|
|
129 flex-grow: 1;
|
|
130 max-height: 150px;
|
|
131 resize: none;
|
|
132 }
|
24
|
133
|
|
134 dialog textarea {
|
|
135 width: 600px;
|
|
136 max-width: 80vw;
|
|
137 }
|
27
|
138
|
33
|
139 span[online] {
|
|
140 display: inline-block;
|
|
141 aspect-ratio: 1;
|
|
142 background-color: grey;
|
34
|
143 height: 0.6em;
|
33
|
144 border-radius: 50%;
|
|
145 margin-left: 4px;
|
|
146 }
|
|
147
|
27
|
148
|
|
149 @media (min-width: 700px) {
|
|
150 div[content] {
|
|
151 margin-left: calc(3% - 8px);
|
|
152 margin-right: 0;
|
|
153 }
|
|
154
|
|
155 div[chats] {
|
|
156 width: 250px;
|
|
157 padding-right: 8px;
|
|
158 flex-shrink: 0;
|
|
159 }
|
|
160
|
|
161 div[posts] {
|
|
162 padding-left: 8px;
|
34
|
163 border-left: 1px solid grey;
|
27
|
164 }
|
|
165
|
41
|
166 div[top] img[back] {
|
27
|
167 display: none;
|
|
168 }
|
|
169 }
|
|
170
|
|
171 @media (max-width: 699px) {
|
|
172 div[content][show="chats"] div[posts],
|
|
173 div[content][show="posts"] div[chats] {
|
|
174 display: none;
|
|
175 }
|
|
176
|
|
177 div[chats] {
|
|
178 width: 100%;
|
|
179 }
|
|
180
|
|
181 div[content][show="posts"] {
|
|
182 margin-right: 0;
|
|
183 }
|
|
184
|
|
185 div[top] h3 {
|
|
186 display: flex;
|
|
187 gap: 6px;
|
|
188 }
|
|
189 }
|