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
|
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Legend CSS from https://codesandbox.io/s/how-to-add-a-legend-to-the-map-using-react-leaflet-6yqs5 */
.leaflet-container {
height: 90vh;
width: 100%;
}
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255, 255, 255, 0.8);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
.info h4 {
margin: 0 0 5px;
color: #777;
}
.legend {
text-align: left;
line-height: 18px;
color: #555;
}
.legend i {
width: 18px;
height: 18px;
float: left;
margin-right: 8px;
opacity: 0.7;
}
/* CSS from https://github.com/USUFSLC/sochat ( I made it :) ) */
body {
font-family: Consolas, monaco, monospace;
color: #fbf1c7;
margin: 0;
background-color: #3c3836;
}
.container {
max-width: 900px;
width: 80%;
border: 1px solid #b16286;
border-radius: 8px;
margin: 0;
padding: 24px;
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
background-color: #282828;
box-shadow: rgb( 0, 0, 0, 0.6) 6px 45px 45px -12px;
}
.chat {
border-bottom: 1px solid #d65d0e;
height: 200px;
overflow-y: scroll;
padding-bottom: 12px;
}
* {
scrollbar-width: thin;
scrollbar-color: #d5c4a1 rgba(0,0,0,0);
}
*::-webkit-scrollbar {
width: 4px;
}
*::-webkit-scrollbar-track {
background: rgba(0,0,0,0);
}
*::-webkit-scrollbar-thumb {
background-color: #d5c4a1;
border-radius: 12px;
}
.input {
font-size: 16px;
font-size: max(16px, 1em);
font-family: inherit;
padding: 0.25em 0.5em;
background-color: rgba(0,0,0,0);
border: none;
border-bottom: 1px solid #83a598;
color: #d5c4a1;
margin-top: 12px;
margin-bottom: 12px;
display: block;
}
.input:focus {
outline: none;
}
.button {
padding: 12px;
cursor: pointer;
border: 1px solid #8ec07c;
color: #8ec07c;
border-radius: 8px;
display: inline-block;
}
|