OzoneAsai commited on
Commit
73b5123
·
verified ·
1 Parent(s): 3038601

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +16 -36
static/style.css CHANGED
@@ -6,6 +6,8 @@ body {
6
  height: 100vh;
7
  background-color: #f4f4f9;
8
  margin: 0;
 
 
9
  }
10
 
11
  .flashcard {
@@ -14,7 +16,7 @@ body {
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
  }
@@ -25,53 +27,31 @@ body {
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;
36
  color: #fff;
37
  cursor: pointer;
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
  }
 
6
  height: 100vh;
7
  background-color: #f4f4f9;
8
  margin: 0;
9
+ padding: 10px;
10
+ box-sizing: border-box;
11
  }
12
 
13
  .flashcard {
 
16
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
17
  padding: 20px;
18
  text-align: center;
19
+ width: 90%;
20
  max-width: 400px;
21
  opacity: 1;
22
  }
 
27
 
28
  .navigation {
29
  display: flex;
30
+ justify-content: space-between;
31
  align-items: center;
32
  }
33
 
34
+ .navigation button {
35
+ background: #00CFFF; /* Neon blue color */
36
  border: none;
37
  border-radius: 4px;
38
  color: #fff;
39
  cursor: pointer;
40
+ font-size: 14px; /* Smaller font size for Previous and Next */
41
+ padding: 8px 12px;
42
  margin: 5px;
 
 
 
 
 
 
43
  }
44
 
45
+ #flipBtn {
46
+ font-size: 18px; /* Larger font size for Flip */
47
+ padding: 10px 20px;
48
+ background: #007BFF;
 
 
 
 
 
 
 
49
  }
50
 
51
+ #flipBtn:hover {
52
+ background: #0056b3;
 
53
  }
54
 
55
+ .navigation button:hover {
56
+ background: #0099cc;
 
 
 
 
 
 
 
 
57
  }