Changes to searchly.scroll.pub

root
root
23 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+
+
+
+
+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://searchly.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Searchly - Simple & Powerful Search
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "24d2bbff-0b11-4b00-9b9a-0ba7a13de431",
+ "object": "chat.completion",
+ "created": 1735521105,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nsearchly.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://searchly.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Searchly - Simple & Powerful Search\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n
\n \n \n
\n
\n---style.css---\n:root {\n --primary-color: #1a73e8;\n --hover-color: #1557b0;\n --shadow-color: rgba(0, 0, 0, 0.1);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);\n min-height: 100vh;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.search-container {\n width: 90%;\n max-width: 600px;\n padding: 20px;\n}\n\n.search-box {\n display: flex;\n align-items: center;\n background: white;\n border-radius: 30px;\n box-shadow: 0 4px 6px var(--shadow-color);\n padding: 10px 20px;\n transition: all 0.3s ease;\n}\n\n.search-box:hover {\n box-shadow: 0 6px 12px var(--shadow-color);\n}\n\n#search-input {\n flex: 1;\n border: none;\n outline: none;\n font-size: 18px;\n padding: 10px;\n background: transparent;\n}\n\n#search-button {\n background: var(--primary-color);\n border: none;\n border-radius: 50%;\n width: 40px;\n height: 40px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\n#search-button:hover {\n background: var(--hover-color);\n}\n\n#search-button svg {\n fill: white;\n width: 20px;\n height: 20px;\n}\n\n@media (max-width: 480px) {\n #search-input {\n font-size: 16px;\n }\n \n .search-box {\n padding: 8px 16px;\n }\n}\n---script.js---\ndocument.getElementById('search-button').addEventListener('click', function() {\n const query = document.getElementById('search-input').value.trim();\n if (query) {\n // Implement search functionality here\n alert(`Searching for: ${query}`);\n }\n});\n\ndocument.getElementById('search-input').addEventListener('keypress', function(e) {\n if (e.key === 'Enter') {\n document.getElementById('search-button').click();\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 242,
+ "completion_tokens": 973,
+ "total_tokens": 1215,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 242
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # searchly.scroll.pub
+ Website generated by DeepSeek from prompt: 创建一个搜索首页,只包含搜索框
script.js
Changed around line 1
+ document.getElementById('search-button').addEventListener('click', function() {
+ const query = document.getElementById('search-input').value.trim();
+ if (query) {
+ // Implement search functionality here
+ alert(`Searching for: ${query}`);
+ }
+ });
+
+ document.getElementById('search-input').addEventListener('keypress', function(e) {
+ if (e.key === 'Enter') {
+ document.getElementById('search-button').click();
+ }
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #1a73e8;
+ --hover-color: #1557b0;
+ --shadow-color: rgba(0, 0, 0, 0.1);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
+ min-height: 100vh;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+
+ .search-container {
+ width: 90%;
+ max-width: 600px;
+ padding: 20px;
+ }
+
+ .search-box {
+ display: flex;
+ align-items: center;
+ background: white;
+ border-radius: 30px;
+ box-shadow: 0 4px 6px var(--shadow-color);
+ padding: 10px 20px;
+ transition: all 0.3s ease;
+ }
+
+ .search-box:hover {
+ box-shadow: 0 6px 12px var(--shadow-color);
+ }
+
+ #search-input {
+ flex: 1;
+ border: none;
+ outline: none;
+ font-size: 18px;
+ padding: 10px;
+ background: transparent;
+ }
+
+ #search-button {
+ background: var(--primary-color);
+ border: none;
+ border-radius: 50%;
+ width: 40px;
+ height: 40px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+ transition: background 0.3s ease;
+ }
+
+ #search-button:hover {
+ background: var(--hover-color);
+ }
+
+ #search-button svg {
+ fill: white;
+ width: 20px;
+ height: 20px;
+ }
+
+ @media (max-width: 480px) {
+ #search-input {
+ font-size: 16px;
+ }
+
+ .search-box {
+ padding: 8px 16px;
+ }
+ }