Soltane777 commited on
Commit
c6107da
·
verified ·
1 Parent(s): ab17da2

Update frontend/style.css

Browse files
Files changed (1) hide show
  1. frontend/style.css +74 -26
frontend/style.css CHANGED
@@ -1,26 +1,74 @@
1
- body {
2
- font-family: Arial, sans-serif;
3
- text-align: center;
4
- background-color: #f4f4f4;
5
- margin: 20px;
6
- }
7
-
8
- h1 {
9
- color: #333;
10
- }
11
-
12
- input, button {
13
- padding: 10px;
14
- margin: 10px;
15
- font-size: 16px;
16
- }
17
-
18
- pre {
19
- background: white;
20
- padding: 10px;
21
- border-radius: 5px;
22
- text-align: left;
23
- max-width: 600px;
24
- margin: 20px auto;
25
- box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
2
+
3
+ body {
4
+ font-family: "Poppins", Arial, sans-serif;
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ .tab-button.active {
10
+ color: #7c3aed;
11
+ border-bottom: 2px solid #7c3aed;
12
+ }
13
+
14
+ .tab-button:not(.active) {
15
+ border-bottom: 2px solid transparent;
16
+ }
17
+
18
+ #output {
19
+ font-family: monospace;
20
+ }
21
+
22
+ /* Custom scrollbar */
23
+ ::-webkit-scrollbar {
24
+ width: 8px;
25
+ height: 8px;
26
+ }
27
+
28
+ ::-webkit-scrollbar-track {
29
+ background: #f1f1f1;
30
+ border-radius: 10px;
31
+ }
32
+
33
+ ::-webkit-scrollbar-thumb {
34
+ background: #c4b5fd;
35
+ border-radius: 10px;
36
+ }
37
+
38
+ ::-webkit-scrollbar-thumb:hover {
39
+ background: #a78bfa;
40
+ }
41
+
42
+ /* Animation for notifications */
43
+ @keyframes fadeIn {
44
+ from {
45
+ opacity: 0;
46
+ transform: translateY(-10px);
47
+ }
48
+ to {
49
+ opacity: 1;
50
+ transform: translateY(0);
51
+ }
52
+ }
53
+
54
+ .notification {
55
+ animation: fadeIn 0.3s ease-out forwards;
56
+ }
57
+
58
+ /* Language selection styles */
59
+ #translationOptions {
60
+ transition: all 0.3s ease;
61
+ }
62
+
63
+ #translationOptions.hidden {
64
+ display: none;
65
+ }
66
+
67
+ select {
68
+ appearance: none;
69
+ background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
70
+ background-repeat: no-repeat;
71
+ background-position: right 0.7rem center;
72
+ background-size: 1em;
73
+ padding-right: 2.5rem;
74
+ }