Changes to newyearwishes.scroll.pub

root
root
21 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+

新年快乐

+

Happy New Year

+
+
+
+

愿新的一年带给你健康、幸福和成功。

+

May the new year bring you health, happiness, and success.

+
+
+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://newyearwishes.scroll.pub
+ metaTags
+ editButton /edit.html
+ title New Year Greetings in Chinese and English
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "4f046d60-f9b0-4dab-bed1-c407ff4810a2",
+ "object": "chat.completion",
+ "created": 1735673699,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nnewyearwishes.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://newyearwishes.scroll.pub\nmetaTags\neditButton /edit.html\ntitle New Year Greetings in Chinese and English\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n
\n
\n

新年快乐

\n

Happy New Year

\n \n
\n
\n

愿新的一年带给你健康、幸福和成功。

\n

May the new year bring you health, happiness, and success.

\n \n
\n
\n
\n---style.css---\nbody {\n margin: 0;\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);\n font-family: 'Arial', sans-serif;\n}\n\n.container {\n perspective: 1000px;\n}\n\n.card {\n width: 300px;\n height: 400px;\n position: relative;\n transform-style: preserve-3d;\n transition: transform 0.6s;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n}\n\n.card .front, .card .back {\n position: absolute;\n width: 100%;\n height: 100%;\n backface-visibility: hidden;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background: white;\n border-radius: 10px;\n padding: 20px;\n text-align: center;\n}\n\n.card .back {\n transform: rotateY(180deg);\n}\n\n.card.flipped {\n transform: rotateY(180deg);\n}\n\nh1, h2 {\n margin: 0;\n color: #333;\n}\n\nh1 {\n font-size: 2.5em;\n color: #ff6f61;\n}\n\nh2 {\n font-size: 1.5em;\n color: #333;\n}\n\np {\n font-size: 1.2em;\n color: #555;\n}\n\nbutton {\n margin-top: 20px;\n padding: 10px 20px;\n font-size: 1em;\n color: white;\n background: #ff6f61;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: background 0.3s;\n}\n\nbutton:hover {\n background: #ff3b2f;\n}\n\n@media (max-width: 600px) {\n .card {\n width: 250px;\n height: 350px;\n }\n\n h1 {\n font-size: 2em;\n }\n\n h2 {\n font-size: 1.2em;\n }\n\n p {\n font-size: 1em;\n }\n\n button {\n font-size: 0.9em;\n }\n}\n---script.js---\nfunction flipCard() {\n const card = document.querySelector('.card');\n card.classList.toggle('flipped');\n}\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 255,
+ "completion_tokens": 756,
+ "total_tokens": 1011,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 255
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # newyearwishes.scroll.pub
+ Website generated by DeepSeek from prompt: I want a New Year greeting card shown words in Chinese and English. Should have interactivity. Be creative.
script.js
Changed around line 1
+ function flipCard() {
+ const card = document.querySelector('.card');
+ card.classList.toggle('flipped');
+ }
style.css
Changed around line 1
+ body {
+ margin: 0;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100vh;
+ background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
+ font-family: 'Arial', sans-serif;
+ }
+
+ .container {
+ perspective: 1000px;
+ }
+
+ .card {
+ width: 300px;
+ height: 400px;
+ position: relative;
+ transform-style: preserve-3d;
+ transition: transform 0.6s;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
+ }
+
+ .card .front, .card .back {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ backface-visibility: hidden;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ background: white;
+ border-radius: 10px;
+ padding: 20px;
+ text-align: center;
+ }
+
+ .card .back {
+ transform: rotateY(180deg);
+ }
+
+ .card.flipped {
+ transform: rotateY(180deg);
+ }
+
+ h1, h2 {
+ margin: 0;
+ color: #333;
+ }
+
+ h1 {
+ font-size: 2.5em;
+ color: #ff6f61;
+ }
+
+ h2 {
+ font-size: 1.5em;
+ color: #333;
+ }
+
+ p {
+ font-size: 1.2em;
+ color: #555;
+ }
+
+ button {
+ margin-top: 20px;
+ padding: 10px 20px;
+ font-size: 1em;
+ color: white;
+ background: #ff6f61;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+ transition: background 0.3s;
+ }
+
+ button:hover {
+ background: #ff3b2f;
+ }
+
+ @media (max-width: 600px) {
+ .card {
+ width: 250px;
+ height: 350px;
+ }
+
+ h1 {
+ font-size: 2em;
+ }
+
+ h2 {
+ font-size: 1.2em;
+ }
+
+ p {
+ font-size: 1em;
+ }
+
+ button {
+ font-size: 0.9em;
+ }
+ }