ayush2917 commited on
Commit
0ae3137
·
verified ·
1 Parent(s): 7b8f72b

Create adventure.css

Browse files
Files changed (1) hide show
  1. static/css/adventure.css +56 -0
static/css/adventure.css ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* static/css/adventure.css */
2
+ .adventure-container {
3
+ background: rgba(255, 255, 255, 0.9);
4
+ padding: 20px;
5
+ border-radius: 10px;
6
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
7
+ animation: fadeIn 2s ease-in-out;
8
+ }
9
+
10
+ .adventure-container h1 {
11
+ font-size: 2.5em;
12
+ color: #FF4500;
13
+ text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
14
+ }
15
+
16
+ .adventure-scene {
17
+ background: rgba(255, 255, 255, 0.9);
18
+ padding: 20px;
19
+ border-radius: 10px;
20
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
21
+ margin: 20px 0;
22
+ animation: fadeIn 2s ease-in-out 0.5s;
23
+ }
24
+
25
+ .adventure-scene p {
26
+ font-size: 1.2em;
27
+ color: #333;
28
+ margin: 0;
29
+ }
30
+
31
+ .adventure-choices {
32
+ margin: 20px 0;
33
+ }
34
+
35
+ .adventure-choices button {
36
+ background: #FF69B4;
37
+ color: white;
38
+ border: none;
39
+ padding: 10px 20px;
40
+ margin: 5px;
41
+ border-radius: 5px;
42
+ cursor: pointer;
43
+ font-size: 1.1em;
44
+ transition: background 0.3s, transform 0.2s;
45
+ }
46
+
47
+ .adventure-choices button:hover {
48
+ background: #FF1493;
49
+ transform: scale(1.05);
50
+ }
51
+
52
+ .adventure-error {
53
+ color: #FF4500;
54
+ font-weight: bold;
55
+ margin: 10px 0;
56
+ }