nick5363 commited on
Commit
a7bc4d5
·
verified ·
1 Parent(s): 6e509e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
app.py CHANGED
@@ -29,16 +29,21 @@ body {
29
  text-decoration: none;
30
  font-size: 16px;
31
  margin-top: 16px;
32
- transition: background-color 0.3s ease, transform 0.2s ease;
33
  }
34
 
35
  .button-link:hover {
36
  background-color: #0056b3;
37
- transform: translateY(-2px);
38
  }
39
 
40
- .button-link:active {
41
- transform: translateY(0);
 
 
 
 
 
 
42
  }
43
 
44
  h2 {
 
29
  text-decoration: none;
30
  font-size: 16px;
31
  margin-top: 16px;
32
+ transition: background-color 0.3s ease;
33
  }
34
 
35
  .button-link:hover {
36
  background-color: #0056b3;
 
37
  }
38
 
39
+ /* Remove transform effects for touch devices */
40
+ @media (hover: none) {
41
+ .button-link:hover {
42
+ transform: none;
43
+ }
44
+ .button-link:active {
45
+ transform: none;
46
+ }
47
  }
48
 
49
  h2 {