aboutsummaryrefslogtreecommitdiffstats
path: root/client/style.css
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2018-03-10 08:47:00 +0100
committermarzavec <admin@marzavec.com>2018-03-10 08:47:00 +0100
commitfde6895720a4f417283b9e375583967b504de2f3 (patch)
treef5c8d9a188572d759456831d574bef9881d5c0be /client/style.css
downloadhackchat-fde6895720a4f417283b9e375583967b504de2f3.tar.gz
hackchat-fde6895720a4f417283b9e375583967b504de2f3.zip
initial commit
Diffstat (limited to 'client/style.css')
-rw-r--r--client/style.css137
1 files changed, 137 insertions, 0 deletions
diff --git a/client/style.css b/client/style.css
new file mode 100644
index 0000000..18abc33
--- /dev/null
+++ b/client/style.css
@@ -0,0 +1,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;
+ }
+}