clem HF Staff commited on
Commit
027e7ee
·
verified ·
1 Parent(s): 8db481f

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +228 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Askmesomething
3
- emoji: 📚
4
- colorFrom: gray
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: askmesomething
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,228 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Ask Me Something</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <style>
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ box-sizing: border-box;
13
+ font-family: 'Arial', sans-serif;
14
+ }
15
+
16
+ body {
17
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
18
+ height: 100vh;
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+ perspective: 1000px;
23
+ overflow: hidden;
24
+ }
25
+
26
+ .container {
27
+ text-align: center;
28
+ position: relative;
29
+ }
30
+
31
+ .question-box {
32
+ background: white;
33
+ padding: 40px;
34
+ border-radius: 20px;
35
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
36
+ width: 400px;
37
+ max-width: 90vw;
38
+ position: relative;
39
+ transform-style: preserve-3d;
40
+ transition: all 0.5s ease;
41
+ }
42
+
43
+ .question-box:hover {
44
+ transform: translateY(-5px) rotateX(5deg);
45
+ box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
46
+ }
47
+
48
+ h1 {
49
+ font-size: 2.5rem;
50
+ color: #333;
51
+ margin-bottom: 30px;
52
+ background: linear-gradient(to right, #3498db, #9b59b6);
53
+ -webkit-background-clip: text;
54
+ -webkit-text-fill-color: transparent;
55
+ position: relative;
56
+ display: inline-block;
57
+ }
58
+
59
+ h1::after {
60
+ content: '';
61
+ position: absolute;
62
+ bottom: -10px;
63
+ left: 0;
64
+ width: 100%;
65
+ height: 3px;
66
+ background: linear-gradient(to right, #3498db, #9b59b6);
67
+ border-radius: 3px;
68
+ }
69
+
70
+ .question-mark {
71
+ font-size: 3rem;
72
+ color: #3498db;
73
+ margin-bottom: 20px;
74
+ display: inline-block;
75
+ animation: pulse 2s infinite;
76
+ transform-origin: center;
77
+ }
78
+
79
+ .input-container {
80
+ margin-top: 20px;
81
+ position: relative;
82
+ }
83
+
84
+ input {
85
+ width: 100%;
86
+ padding: 15px 20px;
87
+ border: 2px solid #eee;
88
+ border-radius: 50px;
89
+ font-size: 1rem;
90
+ transition: all 0.3s;
91
+ outline: none;
92
+ }
93
+
94
+ input:focus {
95
+ border-color: #9b59b6;
96
+ box-shadow: 0 5px 15px rgba(155, 89, 182, 0.2);
97
+ }
98
+
99
+ button {
100
+ background: linear-gradient(to right, #3498db, #9b59b6);
101
+ color: white;
102
+ border: none;
103
+ padding: 15px 30px;
104
+ border-radius: 50px;
105
+ font-size: 1rem;
106
+ font-weight: bold;
107
+ margin-top: 20px;
108
+ cursor: pointer;
109
+ transition: all 0.3s;
110
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
111
+ }
112
+
113
+ button:hover {
114
+ transform: translateY(-2px);
115
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
116
+ }
117
+
118
+ .decoration {
119
+ position: absolute;
120
+ width: 100px;
121
+ height: 100px;
122
+ background: rgba(155, 89, 182, 0.1);
123
+ border-radius: 20px;
124
+ z-index: -1;
125
+ animation: float 15s infinite linear;
126
+ }
127
+
128
+ .decoration:nth-child(1) {
129
+ top: 10%;
130
+ left: 10%;
131
+ }
132
+
133
+ .decoration:nth-child(2) {
134
+ bottom: 15%;
135
+ right: 10%;
136
+ animation-delay: 3s;
137
+ background: rgba(52, 152, 219, 0.1);
138
+ }
139
+
140
+ .decoration:nth-child(3) {
141
+ top: 50%;
142
+ right: 20%;
143
+ width: 60px;
144
+ height: 60px;
145
+ animation-delay: 6s;
146
+ background: rgba(231, 76, 60, 0.1);
147
+ }
148
+
149
+ .decoration:nth-child(4) {
150
+ bottom: 25%;
151
+ left: 20%;
152
+ width: 80px;
153
+ height: 80px;
154
+ animation-delay: 9s;
155
+ }
156
+
157
+ @keyframes pulse {
158
+ 0% { transform: scale(1); }
159
+ 50% { transform: scale(1.1); }
160
+ 100% { transform: scale(1); }
161
+ }
162
+
163
+ @keyframes float {
164
+ 0% { transform: translateY(0) rotate(0deg); }
165
+ 50% { transform: translateY(-20px) rotate(180deg); }
166
+ 100% { transform: translateY(0) rotate(360deg); }
167
+ }
168
+
169
+ .typing-text {
170
+ border-right: 2px solid #3498db;
171
+ animation: blink 0.7s infinite;
172
+ }
173
+
174
+ @keyframes blink {
175
+ 0%, 100% { border-color: transparent; }
176
+ 50% { border-color: #3498db; }
177
+ }
178
+ </style>
179
+ </head>
180
+ <body>
181
+ <div class="decoration"></div>
182
+ <div class="decoration"></div>
183
+ <div class="decoration"></div>
184
+ <div class="decoration"></div>
185
+
186
+ <div class="container">
187
+ <div class="question-box">
188
+ <div class="question-mark">
189
+ <i class="fas fa-question-circle"></i>
190
+ </div>
191
+ <h1 id="typing-text"></h1>
192
+ <div class="input-container">
193
+ <input type="text" placeholder="Type your question here...">
194
+ <button>Ask Me <i class="fas fa-paper-plane"></i></button>
195
+ </div>
196
+ </div>
197
+ </div>
198
+
199
+ <script>
200
+ document.addEventListener('DOMContentLoaded', function() {
201
+ const text = "Ask me something";
202
+ const typingText = document.getElementById('typing-text');
203
+ let i = 0;
204
+
205
+ function typeWriter() {
206
+ if (i < text.length) {
207
+ typingText.innerHTML += text.charAt(i);
208
+ i++;
209
+ setTimeout(typeWriter, 100);
210
+ } else {
211
+ typingText.classList.add('typing-text');
212
+ }
213
+ }
214
+
215
+ typeWriter();
216
+
217
+ // Add click animation to the question box
218
+ const questionBox = document.querySelector('.question-box');
219
+ questionBox.addEventListener('click', function() {
220
+ this.style.transform = 'translateY(-5px) rotateX(10deg)';
221
+ setTimeout(() => {
222
+ this.style.transform = 'translateY(-5px) rotateX(5deg)';
223
+ }, 300);
224
+ });
225
+ });
226
+ </script>
227
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <a href="https://enzostvs-deepsite.hf.space" style="color: #fff;" target="_blank" >DeepSite</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body>
228
+ </html>