broadfield-dev commited on
Commit
cacdf35
·
verified ·
1 Parent(s): e054af9

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +61 -5
templates/index.html CHANGED
@@ -4,11 +4,67 @@
4
  <meta charset="UTF-8">
5
  <title>TribeForge</title>
6
  <style>
7
- canvas { border: 1px solid black; }
8
- #ui { font-family: Arial, sans-serif; position: absolute; top: 10px; }
9
- button { padding: 5px 10px; background: #4CAF50; color: white; border: none; border-radius: 5px; cursor: pointer; }
10
- button:hover { background: #45a049; }
11
- #editor { display: none; position: absolute; top: 50px; left: 10px; background: #fff; padding: 10px; border: 1px solid #000; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  </style>
13
  </head>
14
  <body>
 
4
  <meta charset="UTF-8">
5
  <title>TribeForge</title>
6
  <style>
7
+ body {
8
+ background: #87CEEB; /* Light sky blue, like Spore's vibrant palette */
9
+ margin: 0;
10
+ overflow: hidden;
11
+ font-family: 'Eurostile', Arial, sans-serif; /* Spore-like font */
12
+ }
13
+ canvas { border: 2px solid #4682B4; border-radius: 10px; margin: 10px; }
14
+ #ui {
15
+ position: absolute;
16
+ top: 10px;
17
+ left: 10px;
18
+ background: rgba(255, 255, 255, 0.8);
19
+ padding: 10px;
20
+ border-radius: 15px;
21
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
22
+ }
23
+ #ui span {
24
+ color: #2F4F4F; /* Dark slate gray for text */
25
+ font-size: 16px;
26
+ margin-right: 20px;
27
+ }
28
+ button {
29
+ padding: 8px 16px;
30
+ background: #4CAF50; /* Bright green like Spore buttons */
31
+ color: white;
32
+ border: none;
33
+ border-radius: 20px; /* Rounded, Spore-like buttons */
34
+ cursor: pointer;
35
+ margin-right: 10px;
36
+ font-size: 14px;
37
+ transition: background 0.3s;
38
+ }
39
+ button:hover {
40
+ background: #45a049; /* Slightly darker green on hover */
41
+ }
42
+ button:disabled {
43
+ background: #A9A9A9; /* Gray for disabled state */
44
+ cursor: not-allowed;
45
+ }
46
+ #editor {
47
+ display: none;
48
+ position: absolute;
49
+ top: 50px;
50
+ left: 10px;
51
+ background: rgba(255, 255, 255, 0.9);
52
+ padding: 15px;
53
+ border-radius: 15px;
54
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
55
+ border: 2px solid #4682B4;
56
+ }
57
+ #editor h3 {
58
+ color: #2F4F4F;
59
+ margin-top: 0;
60
+ }
61
+ #editor label {
62
+ display: block;
63
+ margin: 5px 0;
64
+ color: #2F4F4F;
65
+ }
66
+ #editor input[type="color"] { vertical-align: middle; }
67
+ #editor input[type="range"] { width: 100px; vertical-align: middle; }
68
  </style>
69
  </head>
70
  <body>