theWitcher commited on
Commit
91a1ccb
·
1 Parent(s): 8bf6976

update style

Browse files
Files changed (2) hide show
  1. index.html +4 -0
  2. style.css +45 -0
index.html CHANGED
@@ -811,6 +811,10 @@ https://chatgpt.com/c/67efa5ae-ab80-8005-a7d4-de3ced6ccec4
811
 
812
  toolsContainer.appendChild(toolCard);
813
  });
 
 
 
 
814
 
815
  // הוספת סגנון CSS לכפתור הקראה פעיל
816
  if (!document.getElementById('speakButtonStyle')) {
 
811
 
812
  toolsContainer.appendChild(toolCard);
813
  });
814
+ // אנימציה של הופעה חלקה
815
+ requestAnimationFrame(() => {
816
+ toolCard.classList.add('visible');
817
+ });
818
 
819
  // הוספת סגנון CSS לכפתור הקראה פעיל
820
  if (!document.getElementById('speakButtonStyle')) {
style.css CHANGED
@@ -1,7 +1,15 @@
 
 
 
 
1
  body {
2
  padding: 2rem;
3
  font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
 
 
 
 
5
 
6
  h1 {
7
  font-size: 16px;
@@ -31,6 +39,43 @@ p {
31
  overflow-y: auto;
32
  padding-bottom: 80px; /* כדי לא להיתקע מאחורי הפוטר */
33
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  /* Chat animations and effects */
35
  @keyframes pulse {
36
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
 
1
+ html {
2
+ scroll-behavior: smooth;
3
+ }
4
+
5
  body {
6
  padding: 2rem;
7
  font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
8
  }
9
+ button:hover, a.button:hover {
10
+ transform: scale(1.02);
11
+ transition: transform 0.2s ease-in-out;
12
+ }
13
 
14
  h1 {
15
  font-size: 16px;
 
39
  overflow-y: auto;
40
  padding-bottom: 80px; /* כדי לא להיתקע מאחורי הפוטר */
41
  }
42
+ .tool-card {
43
+ opacity: 0;
44
+ transform: translateY(20px);
45
+ transition: all 0.5s ease;
46
+ }
47
+ .tool-card.visible {
48
+ opacity: 1;
49
+ transform: translateY(0);
50
+ }
51
+ .accessibility-mode {
52
+ font-size: 18px;
53
+ line-height: 1.8;
54
+ background-color: #000 !important;
55
+ color: #fff !important;
56
+ }
57
+
58
+ .accessibility-mode .tool-card {
59
+ background-color: #111 !important;
60
+ color: #fff !important;
61
+ border-color: #555 !important;
62
+ }
63
+
64
+ .accessibility-mode a,
65
+ .accessibility-mode button {
66
+ font-size: 18px !important;
67
+ color: #fff !important;
68
+ background-color: #333 !important;
69
+ }
70
+
71
+ .accessibility-mode input,
72
+ .accessibility-mode textarea {
73
+ font-size: 16px;
74
+ background-color: #222;
75
+ color: white;
76
+ border-color: #666;
77
+ }
78
+
79
  /* Chat animations and effects */
80
  @keyframes pulse {
81
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }