OzoneAsai commited on
Commit
6619fd0
1 Parent(s): b708972

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +42 -3
static/style.css CHANGED
@@ -14,7 +14,8 @@ body {
14
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
15
  padding: 20px;
16
  text-align: center;
17
- width: 300px;
 
18
  opacity: 1;
19
  }
20
 
@@ -22,7 +23,13 @@ body {
22
  margin-bottom: 20px;
23
  }
24
 
25
- .navigation button {
 
 
 
 
 
 
26
  background: #007BFF;
27
  border: none;
28
  border-radius: 4px;
@@ -31,8 +38,40 @@ body {
31
  font-size: 16px;
32
  padding: 10px 20px;
33
  margin: 5px;
 
 
34
  }
35
 
36
- .navigation button:hover {
37
  background: #0056b3;
38
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
15
  padding: 20px;
16
  text-align: center;
17
+ width: 80%;
18
+ max-width: 400px;
19
  opacity: 1;
20
  }
21
 
 
23
  margin-bottom: 20px;
24
  }
25
 
26
+ .navigation {
27
+ display: flex;
28
+ justify-content: space-around;
29
+ align-items: center;
30
+ }
31
+
32
+ .nav-button {
33
  background: #007BFF;
34
  border: none;
35
  border-radius: 4px;
 
38
  font-size: 16px;
39
  padding: 10px 20px;
40
  margin: 5px;
41
+ flex: 1;
42
+ transition: background 0.3s;
43
  }
44
 
45
+ .nav-button:hover {
46
  background: #0056b3;
47
  }
48
+
49
+ .flip-button {
50
+ background: #28a745;
51
+ border: none;
52
+ border-radius: 50%;
53
+ color: #fff;
54
+ cursor: pointer;
55
+ font-size: 20px;
56
+ padding: 15px;
57
+ margin: 5px;
58
+ transition: transform 0.3s, background 0.3s;
59
+ animation: pulse 2s infinite;
60
+ }
61
+
62
+ .flip-button:hover {
63
+ background: #218838;
64
+ transform: scale(1.1);
65
+ }
66
+
67
+ @keyframes pulse {
68
+ 0% {
69
+ transform: scale(1);
70
+ }
71
+ 50% {
72
+ transform: scale(1.1);
73
+ }
74
+ 100% {
75
+ transform: scale(1);
76
+ }
77
+ }