-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
126 lines (113 loc) · 2.57 KB
/
style.css
File metadata and controls
126 lines (113 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
}
.container {
width: 700px;
height: 650px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 15px;
padding: 20px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.container {
background: rgba(15, 32, 39, 0.8);
backdrop-filter: blur(10px);
border: 1px solid #6DD5FA;
}
#Translate {
background: linear-gradient(to right, #6DD5FA, #FF758C);
box-shadow: 0 0 10px #6DD5FA;
}
#Translate:hover {
background: linear-gradient(to right, #5CC5EA, #FF647A);
box-shadow: 0 0 15px #6DD5FA;
}
.selectionArea {
background: linear-gradient(to right, #654EA3, #EAAFC8);
}
.Text {
width: 100%;
height: 300px;
display: flex;
gap: 20px;
margin-bottom: 20px;
}
#inputText, #outputText {
width: 100%;
height: 100%;
padding: 20px;
font-size: 18px;
border-radius: 10px;
background-color: #f8f9fa;
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
#inputText:focus, #outputText:focus {
outline: none;
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(0, 149, 255, 0.2);
}
.selectionArea {
width: 100%;
height: 70px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 10px;
padding: 0 10px;
margin: 20px 0;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.select1, .select2 {
width: 48%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#selected1, #selected2 {
width: 100%;
padding: 12px;
font-size: 16px;
border: none;
border-radius: 8px;
background-color: #f8f9fa;
color: #333;
cursor: pointer;
transition: all 0.3s ease;
}
#selected1:hover, #selected2:hover {
background-color: #e9ecef;
}
#Translate {
width: 220px;
height: 55px;
color: white;
font-size: 18px;
font-weight: 600;
border: none;
border-radius: 10px;
cursor: pointer;
margin-top: 30px;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
#Translate:hover {
transform: translateY(-2px);
}