Changes to worldtime1.scroll.pub

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

World Time

+

Your global clock at a glance

+
+
+
+
+

New York

+
00:00:00
+
+
+

London

+
00:00:00
+
+
+

Tokyo

+
00:00:00
+
+
+

Sydney

+
00:00:00
+
+
+
+
+

Stay connected with the world

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://worldtime.scroll.pub
+ metaTags
+ editButton /edit.html
+ title World Time - Global Clock
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "008b0d26-49cf-4947-9e27-62c6d89660aa",
+ "object": "chat.completion",
+ "created": 1735406791,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nworldtime.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://worldtime.scroll.pub\nmetaTags\neditButton /edit.html\ntitle World Time - Global Clock\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

World Time

\n

Your global clock at a glance

\n
\n
\n
\n
\n

New York

\n
00:00:00
\n
\n
\n

London

\n
00:00:00
\n
\n
\n

Tokyo

\n
00:00:00
\n
\n
\n

Sydney

\n
00:00:00
\n
\n
\n
\n
\n

Stay connected with the world

\n
\n---style.css---\n:root {\n --primary-color: #1a73e8;\n --secondary-color: #202124;\n --background-color: #f8f9fa;\n --text-color: #202124;\n --clock-bg: #ffffff;\n --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n line-height: 1.6;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background-color: var(--primary-color);\n color: white;\n}\n\nh1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\np {\n margin: 0.5rem 0 0;\n font-size: 1.2rem;\n}\n\n.clock-container {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.clock {\n background-color: var(--clock-bg);\n padding: 2rem;\n border-radius: 12px;\n box-shadow: var(--shadow);\n text-align: center;\n transition: transform 0.3s ease;\n}\n\n.clock:hover {\n transform: translateY(-5px);\n}\n\nh2 {\n margin: 0 0 1rem;\n font-size: 1.5rem;\n color: var(--primary-color);\n}\n\n.time {\n font-size: 2rem;\n font-weight: bold;\n color: var(--secondary-color);\n}\n\nfooter {\n text-align: center;\n padding: 1.5rem;\n background-color: var(--primary-color);\n color: white;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n .clock-container {\n grid-template-columns: 1fr;\n padding: 1rem;\n }\n\n .clock {\n padding: 1.5rem;\n }\n\n h1 {\n font-size: 2rem;\n }\n\n .time {\n font-size: 1.5rem;\n }\n}\n---script.js---\nfunction updateTime() {\n const now = new Date();\n\n // New York\n const newYorkTime = now.toLocaleTimeString('en-US', {\n timeZone: 'America/New_York',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n });\n document.getElementById('new-york').textContent = newYorkTime;\n\n // London\n const londonTime = now.toLocaleTimeString('en-GB', {\n timeZone: 'Europe/London',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n });\n document.getElementById('london').textContent = londonTime;\n\n // Tokyo\n const tokyoTime = now.toLocaleTimeString('ja-JP', {\n timeZone: 'Asia/Tokyo',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n });\n document.getElementById('tokyo').textContent = tokyoTime;\n\n // Sydney\n const sydneyTime = now.toLocaleTimeString('en-AU', {\n timeZone: 'Australia/Sydney',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n });\n document.getElementById('sydney').textContent = sydneyTime;\n}\n\nsetInterval(updateTime, 1000);\nupdateTime();\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 243,
+ "completion_tokens": 1121,
+ "total_tokens": 1364,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 243
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # worldtime1.scroll.pub
+ Website generated by DeepSeek from prompt: create a fully functional world clock web app.
script.js
Changed around line 1
+ function updateTime() {
+ const now = new Date();
+
+ // New York
+ const newYorkTime = now.toLocaleTimeString('en-US', {
+ timeZone: 'America/New_York',
+ hour: '2-digit',
+ minute: '2-digit',
+ second: '2-digit',
+ });
+ document.getElementById('new-york').textContent = newYorkTime;
+
+ // London
+ const londonTime = now.toLocaleTimeString('en-GB', {
+ timeZone: 'Europe/London',
+ hour: '2-digit',
+ minute: '2-digit',
+ second: '2-digit',
+ });
+ document.getElementById('london').textContent = londonTime;
+
+ // Tokyo
+ const tokyoTime = now.toLocaleTimeString('ja-JP', {
+ timeZone: 'Asia/Tokyo',
+ hour: '2-digit',
+ minute: '2-digit',
+ second: '2-digit',
+ });
+ document.getElementById('tokyo').textContent = tokyoTime;
+
+ // Sydney
+ const sydneyTime = now.toLocaleTimeString('en-AU', {
+ timeZone: 'Australia/Sydney',
+ hour: '2-digit',
+ minute: '2-digit',
+ second: '2-digit',
+ });
+ document.getElementById('sydney').textContent = sydneyTime;
+ }
+
+ setInterval(updateTime, 1000);
+ updateTime();
style.css
Changed around line 1
+ :root {
+ --primary-color: #1a73e8;
+ --secondary-color: #202124;
+ --background-color: #f8f9fa;
+ --text-color: #202124;
+ --clock-bg: #ffffff;
+ --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ text-align: center;
+ padding: 2rem;
+ background-color: var(--primary-color);
+ color: white;
+ }
+
+ h1 {
+ margin: 0;
+ font-size: 2.5rem;
+ }
+
+ p {
+ margin: 0.5rem 0 0;
+ font-size: 1.2rem;
+ }
+
+ .clock-container {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .clock {
+ background-color: var(--clock-bg);
+ padding: 2rem;
+ border-radius: 12px;
+ box-shadow: var(--shadow);
+ text-align: center;
+ transition: transform 0.3s ease;
+ }
+
+ .clock:hover {
+ transform: translateY(-5px);
+ }
+
+ h2 {
+ margin: 0 0 1rem;
+ font-size: 1.5rem;
+ color: var(--primary-color);
+ }
+
+ .time {
+ font-size: 2rem;
+ font-weight: bold;
+ color: var(--secondary-color);
+ }
+
+ footer {
+ text-align: center;
+ padding: 1.5rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 768px) {
+ .clock-container {
+ grid-template-columns: 1fr;
+ padding: 1rem;
+ }
+
+ .clock {
+ padding: 1.5rem;
+ }
+
+ h1 {
+ font-size: 2rem;
+ }
+
+ .time {
+ font-size: 1.5rem;
+ }
+ }