diff options
author | onefang | 2021-09-09 12:30:24 +1000 |
---|---|---|
committer | onefang | 2021-09-09 12:30:24 +1000 |
commit | 5e05f276c5ea784df0de86d70bf7aab2e5de32d5 (patch) | |
tree | ae0b057c8e50ad486102c2a8dabc293d8a0a9bfd /example/var/www/html/SledjChisl.css | |
parent | Remove various empty example directories that are auto created now. (diff) | |
download | opensim-SC-5e05f276c5ea784df0de86d70bf7aab2e5de32d5.zip opensim-SC-5e05f276c5ea784df0de86d70bf7aab2e5de32d5.tar.gz opensim-SC-5e05f276c5ea784df0de86d70bf7aab2e5de32d5.tar.bz2 opensim-SC-5e05f276c5ea784df0de86d70bf7aab2e5de32d5.tar.xz |
Rejig the web stuff.
Move to examples to example/var/www.
Move the web socket to scRoot/var/run.
Make the name of the web socket configurable.
Populate the scRoot/var/www from exomples if it's empty.
Everyone uses SledjChisl.css now.
Some clean ups.
Comment++
Diffstat (limited to 'example/var/www/html/SledjChisl.css')
-rw-r--r-- | example/var/www/html/SledjChisl.css | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/example/var/www/html/SledjChisl.css b/example/var/www/html/SledjChisl.css new file mode 100644 index 0000000..95b55cb --- /dev/null +++ b/example/var/www/html/SledjChisl.css | |||
@@ -0,0 +1,89 @@ | |||
1 | html, body | ||
2 | { | ||
3 | background-color: black; | ||
4 | color: white; | ||
5 | font-family: 'sans-serif'; | ||
6 | margin: 0; | ||
7 | padding: 0; | ||
8 | } | ||
9 | |||
10 | a {color: aqua;} | ||
11 | a:link {color: aqua;} | ||
12 | a:visited {color: fuchsia;} | ||
13 | a:hover {color: blue;} | ||
14 | a:active {color: red;} | ||
15 | |||
16 | button | ||
17 | { | ||
18 | background-color: darkgreen; | ||
19 | color: white; | ||
20 | font-family: 'sans-serif'; | ||
21 | } | ||
22 | button:hover {color: blue;} | ||
23 | button:active {color: red;} | ||
24 | |||
25 | label | ||
26 | { | ||
27 | background-color:darkgreen; | ||
28 | color: white; | ||
29 | font-family: 'sans-serif'; | ||
30 | font-size: 160%; | ||
31 | } | ||
32 | input | ||
33 | { | ||
34 | background-color:darkblue; | ||
35 | color: white; | ||
36 | font-family: 'sans-serif'; | ||
37 | font-size: 80%; | ||
38 | } | ||
39 | textarea | ||
40 | { | ||
41 | background-color:darkblue; | ||
42 | color: white; | ||
43 | font-family: 'sans-serif'; | ||
44 | font-size: 80%; | ||
45 | /* What idiot thought aligning the label with the bottom of textareas was a good default? */ | ||
46 | vertical-align: top; | ||
47 | } | ||
48 | |||
49 | .container | ||
50 | { | ||
51 | position: relative; | ||
52 | text-align: left; | ||
53 | } | ||
54 | .top-left | ||
55 | { | ||
56 | position: absolute; | ||
57 | top: 8px; | ||
58 | left: 16px; | ||
59 | width: 30%; | ||
60 | } | ||
61 | .top-right | ||
62 | { | ||
63 | position: absolute; | ||
64 | top: 8px; | ||
65 | right: 16px; | ||
66 | width: 30%; | ||
67 | } | ||
68 | .centre | ||
69 | { | ||
70 | position: absolute; | ||
71 | top: 50%; | ||
72 | left: 50%; | ||
73 | width: 30%; | ||
74 | transform: translate(-50%, -50%); | ||
75 | } | ||
76 | .bottom-left | ||
77 | { | ||
78 | position: absolute; | ||
79 | bottom: 8px; | ||
80 | left: 16px; | ||
81 | width: 30%; | ||
82 | } | ||
83 | .bottom-right | ||
84 | { | ||
85 | position: absolute; | ||
86 | bottom: 8px; | ||
87 | right: 16px; | ||
88 | width: 30%; | ||
89 | } | ||