|
| 1 | +@charset "utf-8"; |
| 2 | + |
| 3 | +* { margin: 0; padding: 0; font-weight: 300; } |
| 4 | +body { |
| 5 | + position: relative; height: 100%; |
| 6 | + margin: 0; padding: 1em; word-break: break-word; |
| 7 | + font-family: Malgun Gothic, Dotum, AppleGothic, Arial, Sans-serif; font-size: 16px; |
| 8 | +} |
| 9 | +footer { margin: 30px 0; padding: 20px 0; text-align: center; border-top: solid 1px #ebebeb; } |
| 10 | +footer a { color: #000; } |
| 11 | +footer a:hover { text-decoration: underline; } |
| 12 | + |
| 13 | +.hidden { display: none } |
| 14 | +a { color: #6fa8dc; font-weight: 300; text-decoration: none; } |
| 15 | +.btn, |
| 16 | +button { |
| 17 | + background-color: #d84a38; border: none; border-radius: 2px; color: white; |
| 18 | + font-size: 0.8em; margin: 0 0 1em 0; padding: 0.6em 0.7em 0.6em 0.7em; cursor: pointer; |
| 19 | +} |
| 20 | +.btn:active, |
| 21 | +.btn:hover, |
| 22 | +button:active, |
| 23 | +button:hover { background-color: #cf402f; } |
| 24 | +.btn[disabled], |
| 25 | +button[disabled] { color: #ccc; cursor: default; } |
| 26 | +.btn[disabled]:hover, |
| 27 | +button[disabled]:hover { background-color: #d84a38 } |
| 28 | +h1 { |
| 29 | + border-bottom: 1px solid #ccc; height: 50px; line-height: 50px; |
| 30 | + font-weight: bold; margin: 0; padding: 0 0 0.2em 0; |
| 31 | +} |
| 32 | +h1 a { font-weight: 300; margin: 0 10px 0 0; white-space: nowrap; } |
| 33 | + |
| 34 | +#wrap { |
| 35 | + position: relative; width: 600px; margin: 200px auto; font-size: 1.2em; text-align: center; |
| 36 | +} |
| 37 | +input[type="text"] { padding: 2px 5px; border: solid 1px #bbb; font-size: 1.3em; width: 120px; } |
| 38 | +#your-name { width: 250px; } |
| 39 | +#wrap button { vertical-align: top; min-width: 80px; } |
| 40 | +#wrap p { margin: 10px 0; } |
| 41 | + |
| 42 | +header { position: relative; margin-bottom: 10px; } |
| 43 | + |
| 44 | +/* chat */ |
| 45 | +#chat-wrap { margin: 0 auto; width: 300px; } |
| 46 | +#chat-wrap input[type="text"] { |
| 47 | + width: 200px; font-size: 14px; padding: 6px; background: rgba(255,255,255,0.8); font-family: inherit; |
| 48 | +} |
| 49 | +#chat-content { |
| 50 | + padding: 10px; margin-bottom: 5px; height: 300px; |
| 51 | + overflow-y: auto; border: solid 1px #ccc; background: rgba(255,255,255,0.8); |
| 52 | +} |
| 53 | + |
| 54 | +#chat-content li { clear: both; margin-bottom: 8px; padding-bottom: 1px; height: auto; overflow: hidden; } |
| 55 | +#chat-content li * { padding: 2px 5px; font-size: 10px; display: inline-block; } |
| 56 | +#chat-content .name { background: #333; color: #fff; border-radius: 3px; vertical-align: top; } |
| 57 | +#chat-content .message { |
| 58 | + max-width: 170px; font-size: 12px; background: #E5F1FB; border-radius: 3px; color: #000; |
| 59 | + box-shadow: 1px 1px 0 rgba(80, 80, 80, 0.3); |
| 60 | +} |
| 61 | +#chat-content .message .date { |
| 62 | + padding: 2px 0; margin-top: 5px; border-top: dotted 1px #fff; color: #666; font-size: 10px; |
| 63 | +} |
| 64 | +#chat-content .me * { float: right; } |
| 65 | +#chat-content .me .name { margin-left: 5px; } |
| 66 | +#chat-content .me .message { background-color: rgba(243, 178, 176, 0.3); } |
| 67 | +#chat-content .notice { margin: 0 0 8px; font-size: 0.8em; } |
| 68 | + |
0 commit comments