MedhaCodes commited on
Commit
faa58c7
·
verified ·
1 Parent(s): 5f2e12b

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +23 -11
static/style.css CHANGED
@@ -1,15 +1,15 @@
1
  /* QA Answer Card */
2
  #answer-box div {
3
- background-color: #eef2ff; /* Light indigo */
4
  padding: 15px 20px;
5
  border-radius: 15px;
6
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
7
  margin-bottom: 12px;
8
  transition: background 0.3s, transform 0.2s;
9
  }
10
 
11
  #answer-box div:hover {
12
- background-color: #e0e7ff; /* Slightly darker on hover */
13
  transform: translateY(-2px);
14
  }
15
 
@@ -18,22 +18,22 @@
18
  }
19
 
20
  #answer-box strong {
21
- color: #4f46e5; /* Indigo for labels */
22
  }
23
 
24
  /* Dark mode adjustments */
25
  .dark-mode #answer-box div {
26
- background-color: #1f2937; /* dark card */
27
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
28
  }
29
 
30
  .dark-mode #answer-box strong {
31
- color: #93c5fd; /* lighter indigo in dark mode */
32
  }
33
 
34
  /* History List Items */
35
  #history-list li {
36
- background-color: #f3f4f6; /* light gray */
37
  padding: 10px 15px;
38
  border-radius: 12px;
39
  margin-bottom: 8px;
@@ -45,7 +45,7 @@
45
  }
46
 
47
  #history-list li:hover {
48
- background-color: #e0e7ff; /* light indigo on hover */
49
  transform: translateX(2px);
50
  }
51
 
@@ -56,9 +56,21 @@
56
  /* Dark mode for history items */
57
  .dark-mode #history-list li {
58
  background-color: #1f2937;
59
- color: #d1d5db; /* lighter gray text */
60
  }
61
 
62
  .dark-mode #history-list li:hover {
63
- background-color: #374151; /* darker hover effect */
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
 
1
  /* QA Answer Card */
2
  #answer-box div {
3
+ background: linear-gradient(135deg, #c3dafe, #e0e7ff);
4
  padding: 15px 20px;
5
  border-radius: 15px;
6
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
7
  margin-bottom: 12px;
8
  transition: background 0.3s, transform 0.2s;
9
  }
10
 
11
  #answer-box div:hover {
12
+ background: linear-gradient(135deg, #a5b4fc, #c7d2fe);
13
  transform: translateY(-2px);
14
  }
15
 
 
18
  }
19
 
20
  #answer-box strong {
21
+ color: #4338ca;
22
  }
23
 
24
  /* Dark mode adjustments */
25
  .dark-mode #answer-box div {
26
+ background-color: #1f2937;
27
+ box-shadow: 0 4px 10px rgba(0,0,0,0.3);
28
  }
29
 
30
  .dark-mode #answer-box strong {
31
+ color: #93c5fd;
32
  }
33
 
34
  /* History List Items */
35
  #history-list li {
36
+ background: linear-gradient(135deg, #fce7f3, #fbcfe8);
37
  padding: 10px 15px;
38
  border-radius: 12px;
39
  margin-bottom: 8px;
 
45
  }
46
 
47
  #history-list li:hover {
48
+ background: linear-gradient(135deg, #f9a8d4, #f472b6);
49
  transform: translateX(2px);
50
  }
51
 
 
56
  /* Dark mode for history items */
57
  .dark-mode #history-list li {
58
  background-color: #1f2937;
59
+ color: #d1d5db;
60
  }
61
 
62
  .dark-mode #history-list li:hover {
63
+ background-color: #374151;
64
+ }
65
+
66
+ /* Scrollbar styling */
67
+ #answer-box::-webkit-scrollbar,
68
+ #history-list::-webkit-scrollbar {
69
+ width: 8px;
70
+ }
71
+
72
+ #answer-box::-webkit-scrollbar-thumb,
73
+ #history-list::-webkit-scrollbar-thumb {
74
+ background-color: rgba(99,102,241,0.6);
75
+ border-radius: 4px;
76
  }