talha2134 commited on
Commit
77397e1
·
verified ·
1 Parent(s): 0692931
Files changed (1) hide show
  1. style.css +215 -0
style.css ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *{
2
+ margin:0;
3
+ padding:0;
4
+ box-sizing:border-box;
5
+ font-family:Poppins,sans-serif;
6
+ }
7
+
8
+ body{
9
+
10
+ min-height:100vh;
11
+
12
+ display:flex;
13
+ justify-content:center;
14
+ align-items:center;
15
+
16
+ background:linear-gradient(135deg,#4facfe,#00f2fe);
17
+
18
+ padding:40px;
19
+
20
+ }
21
+
22
+ .container{
23
+
24
+ width:100%;
25
+ max-width:850px;
26
+
27
+ }
28
+
29
+ .card{
30
+
31
+ background:rgba(255,255,255,.18);
32
+
33
+ backdrop-filter:blur(18px);
34
+
35
+ border-radius:25px;
36
+
37
+ padding:45px;
38
+
39
+ box-shadow:0 20px 50px rgba(0,0,0,.2);
40
+
41
+ color:white;
42
+
43
+ }
44
+
45
+ h1{
46
+
47
+ text-align:center;
48
+
49
+ font-size:38px;
50
+
51
+ margin-bottom:10px;
52
+
53
+ }
54
+
55
+ .subtitle{
56
+
57
+ text-align:center;
58
+
59
+ margin-bottom:35px;
60
+
61
+ opacity:.9;
62
+
63
+ }
64
+
65
+ label{
66
+
67
+ font-weight:600;
68
+
69
+ display:block;
70
+
71
+ margin-bottom:10px;
72
+
73
+ }
74
+
75
+ textarea{
76
+
77
+ width:100%;
78
+
79
+ height:170px;
80
+
81
+ padding:18px;
82
+
83
+ border:none;
84
+
85
+ outline:none;
86
+
87
+ border-radius:15px;
88
+
89
+ resize:none;
90
+
91
+ font-size:18px;
92
+
93
+ }
94
+
95
+ .counter{
96
+
97
+ margin-top:10px;
98
+
99
+ text-align:right;
100
+
101
+ font-size:13px;
102
+
103
+ opacity:.8;
104
+
105
+ }
106
+
107
+ button{
108
+
109
+ width:100%;
110
+
111
+ margin-top:25px;
112
+
113
+ padding:16px;
114
+
115
+ font-size:18px;
116
+
117
+ font-weight:600;
118
+
119
+ border:none;
120
+
121
+ border-radius:15px;
122
+
123
+ cursor:pointer;
124
+
125
+ background:white;
126
+
127
+ color:#2193b0;
128
+
129
+ transition:.3s;
130
+
131
+ }
132
+
133
+ button:hover{
134
+
135
+ transform:translateY(-3px);
136
+
137
+ }
138
+
139
+ .loading{
140
+
141
+ display:none;
142
+
143
+ text-align:center;
144
+
145
+ margin-top:25px;
146
+
147
+ font-size:18px;
148
+
149
+ }
150
+
151
+ .result{
152
+
153
+ margin-top:40px;
154
+
155
+ }
156
+
157
+ .urdu-box{
158
+
159
+ background:white;
160
+
161
+ color:#111;
162
+
163
+ padding:25px;
164
+
165
+ min-height:150px;
166
+
167
+ border-radius:15px;
168
+
169
+ font-size:28px;
170
+
171
+ font-family:"Noto Nastaliq Urdu",serif;
172
+
173
+ direction:rtl;
174
+
175
+ line-height:2.2;
176
+
177
+ }
178
+
179
+ #copyBtn{
180
+
181
+ margin-top:20px;
182
+
183
+ background:#00c853;
184
+
185
+ color:white;
186
+
187
+ }
188
+
189
+ @media(max-width:768px){
190
+
191
+ .card{
192
+
193
+ padding:25px;
194
+
195
+ }
196
+
197
+ h1{
198
+
199
+ font-size:28px;
200
+
201
+ }
202
+
203
+ textarea{
204
+
205
+ height:140px;
206
+
207
+ }
208
+
209
+ .urdu-box{
210
+
211
+ font-size:22px;
212
+
213
+ }
214
+
215
+ }