2351c526bcceb9ae0786e40c40d93d01041a5ce9
[mudsync.git] / data / web-static / css / main.css
1 @font-face {
2     font-family: 'Inconsolata';
3     font-style: normal;
4     font-weight: 400;
5     src: local('Inconsolata-Regular'), local('Inconsolata'), local('Inconsolata Regular'), url('../fonts/inconsolata/Inconsolata-Regular.ttf');
6 }
7
8 @font-face {
9     font-family: 'Inconsolata';
10     font-style: normal;
11     font-weight: 700;
12     src: local('Inconsolata-Bold'), local('Inconsolata Bold'), url('../fonts/inconsolata/Inconsolata-Bold.ttf');
13 }
14
15 *, *:before, *:after {
16     box-sizing: border-box;
17 }
18
19 body {
20     height: 100%;
21     display: flex;
22     flex-direction: column;
23     border: 0px;
24     margin: 0px;
25     font-family: 'Inconsolata', monospace;
26     font-size: 12pt;
27 }
28
29 span.pre-ish {
30     font-size: 12pt;
31     white-space: pre-wrap;
32 }
33
34 ul {
35     margin-top: .25em;
36     margin-bottom: .25em;
37     padding: 0px;
38     list-style: none;
39 }
40
41 ul li:before {
42     content: "*";
43     margin-right: 1ch;
44     margin-left: 1ch;
45     font-weight: bold;
46 }
47
48
49 #stream-metabox {
50     flex-direction: column;
51     display: flex;
52     min-height: 85vh;
53     max-height: 85vh;
54     background-color: #d5d5d5;
55     padding-left: 15px;
56     padding-right: 15px;
57     padding-bottom: 0px;
58     padding-top: 0px;
59     overflow-y: auto;
60 }
61
62 /*
63  Alignment hack:
64    http://stackoverflow.com/a/37515194
65 */
66 #stream-metabox > :first-child {
67     margin-top: auto !important;
68 }
69
70 #stream {
71     background-color: #fbfbfb;
72     padding-bottom: .25em;
73 }
74
75
76 .stream-entry {
77     background-color: #fdfdfd;
78     padding-left: 5px;
79     padding-right: 5px;
80     padding-top: 0px;
81     padding-bottom: 0px;
82     border-left-style: solid;
83     border-left-width: 2px;
84     border-left-color: #7b7b7b;
85     margin-top: .5em;
86     margin-bottom: 0px;
87     margin-left: -2px;
88     margin-right: 0px;
89 }
90
91 .stream-entry p {
92     margin-top: .25em;
93     margin-bottom: 0px;
94 }
95
96
97 .self-sent {
98     color: #494949;
99     border-left-color: #b4b4b4;
100 }
101
102 \f
103
104 #input-metabox {
105     flex: 1;
106     min-height: 15vh;
107     max-height: 15vh;
108     background-color: #414141;
109     color: #d5d5d5;
110     padding: 15px;
111 }
112
113 #input-metabox input {
114     border-top-left-radius: 8px;
115     border-top-right-radius: 8px;
116     border-bottom-left-radius: 8px;
117     border-bottom-right-radius: 8px;
118     border: 3px solid #e6e6e6;
119     background-color: #ffffff;
120     padding: 5px;
121     width: 75%;
122     font-family: 'Inconsolata', monospace;
123     font-size: 12pt;
124 }