Changes to marquee.scroll.pub

root
root
6 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://marquee.scroll.pub
+ metaTags
+ viewport width=device-width,initial-scale=1
+ editButton /edit.html
+ title Modern Marquee Effects | Marquee.scroll.pub
+ style.css
+ header
+ class hero
+ div
+ class marquee-container
+ div
+ class marquee-track
+ div
+ class marquee-content
+ span Scroll Horizons
+ class gradient-text
+ div
+ class marquee-divider
+ span Craft Digital Motion
+ class gradient-text
+ div
+ class marquee-divider
+ span Web Design Evolved
+ class gradient-text
+ main
+ section
+ class features
+ div
+ class section-header
+ h2 Modern Marquee Features
+ p Experience next-generation scrolling effects
+ div
+ class feature-grid
+ div
+ class feature-card
+ div
+ class feature-icon animate
+ div
+ class css-logo
+ div
+ class bar1
+ div
+ class bar2
+ div
+ class bar3
+ h3 Pure CSS Magic
+ p Hardware-accelerated animations powered entirely by modern CSS
+ div
+ class feature-card
+ div
+ class feature-icon animate
+ div
+ class mobile-icon
+ div
+ class screen
+ div
+ class wave
+ h3 Mobile Optimized
+ p Responsive design that adapts to any screen size or orientation
+ div
+ class feature-card
+ div
+ class feature-icon animate
+ div
+ class accessibility-icon
+ div
+ class person
+ div
+ class wave
+ h3 Accessible Motion
+ p Respects reduced motion preferences while maintaining elegance
+ footer
+ div
+ class footer-content
+ div
+ class footer-grid
+ div
+ class footer-section
+ h4 Navigation
+ a Home
+ href #
+ a Features
+ href #features
+ a Contact
+ href #contact
+ div
+ class footer-section
+ h4 Resources
+ a Documentation
+ href /docs
+ a Tutorials
+ href /tutorials
+ a Examples
+ href /examples
+ div
+ class footer-credits
+ p Crafted with ❤️ by Scroll Community
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "a900ccd2-968a-4f27-9dc4-d0aa5aeca097",
+ "object": "chat.completion",
+ "created": 1744635831,
+ "model": "deepseek-reasoner",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nmarquee.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://marquee.scroll.pub\nmetaTags\n viewport width=device-width,initial-scale=1\neditButton /edit.html\ntitle Modern Marquee Effects | Marquee.scroll.pub\nstyle.css\nheader\n class hero\n div\n class marquee-container\n div\n class marquee-track\n div\n class marquee-content\n span Scroll Horizons\n class gradient-text\n div\n class marquee-divider\n span Craft Digital Motion\n class gradient-text\n div\n class marquee-divider\n span Web Design Evolved\n class gradient-text\nmain\n section\n class features\n div\n class section-header\n h2 Modern Marquee Features\n p Experience next-generation scrolling effects\n div\n class feature-grid\n div\n class feature-card\n div\n class feature-icon animate\n div\n class css-logo\n div\n class bar1\n div\n class bar2\n div\n class bar3\n h3 Pure CSS Magic\n p Hardware-accelerated animations powered entirely by modern CSS\n div\n class feature-card\n div\n class feature-icon animate\n div\n class mobile-icon\n div\n class screen\n div\n class wave\n h3 Mobile Optimized\n p Responsive design that adapts to any screen size or orientation\n div\n class feature-card\n div\n class feature-icon animate\n div\n class accessibility-icon\n div\n class person\n div\n class wave\n h3 Accessible Motion\n p Respects reduced motion preferences while maintaining elegance\nfooter\n div\n class footer-content\n div\n class footer-grid\n div\n class footer-section\n h4 Navigation\n a Home\n href #\n a Features\n href #features\n a Contact\n href #contact\n div\n class footer-section\n h4 Resources\n a Documentation\n href /docs\n a Tutorials\n href /tutorials\n a Examples\n href /examples\n div\n class footer-credits\n p Crafted with ❤️ by Scroll Community\n\nscript.js\n\n---style.css---\n:root {\n --primary: #2A2B2E;\n --secondary: #5C6B73;\n --accent: #C2D3CD;\n --text: #F0F7F4;\n --gradient-1: linear-gradient(45deg, #FF6B6B, #4ECDC4);\n --gradient-2: linear-gradient(45deg, #45B7D1, #4ECDC4);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nhtml {\n scroll-behavior: smooth;\n font-size: 62.5%;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n background: var(--primary);\n color: var(--text);\n overflow-x: hidden;\n}\n\n.hero {\n height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n}\n\n.marquee-container {\n width: 100%;\n overflow: hidden;\n position: relative;\n padding: 4rem 0;\n}\n\n.marquee-track {\n display: flex;\n width: max-content;\n animation: marquee 30s linear infinite;\n}\n\n.marquee-content {\n display: flex;\n align-items: center;\n gap: 8rem;\n padding: 0 8rem;\n}\n\n.gradient-text {\n font-size: 8rem;\n font-weight: 700;\n background: var(--gradient-1);\n -webkit-background-clip: text;\n background-clip: text;\n color: transparent;\n white-space: nowrap;\n}\n\n.marquee-divider {\n width: 4px;\n height: 8rem;\n background: var(--accent);\n transform: rotate(15deg);\n}\n\n@keyframes marquee {\n 0% { transform: translateX(0); }\n 100% { transform: translateX(-50%); }\n}\n\n.features {\n padding: 8rem 2rem;\n}\n\n.section-header {\n text-align: center;\n margin-bottom: 6rem;\n}\n\n.section-header h2 {\n font-size: 4rem;\n margin-bottom: 2rem;\n background: var(--gradient-2);\n -webkit-background-clip: text;\n background-clip: text;\n color: transparent;\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 4rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.feature-card {\n background: rgba(255,255,255,0.05);\n padding: 4rem;\n border-radius: 2rem;\n backdrop-filter: blur(10px);\n transition: transform 0.3s ease;\n}\n\n.feature-card:hover {\n transform: translateY(-1rem);\n}\n\n.feature-icon {\n width: 8rem;\n height: 8rem;\n margin: 0 auto 3rem;\n position: relative;\n}\n\n.css-logo, .mobile-icon, .accessibility-icon {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n@media (max-width: 768px) {\n .gradient-text {\n font-size: 4rem;\n }\n \n .marquee-content {\n gap: 4rem;\n padding: 0 4rem;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .marquee-track {\n animation: none;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Marquee hover interaction\n const marquee = document.querySelector('.marquee-track');\n const container = document.querySelector('.marquee-container');\n\n container.addEventListener('mouseenter', () => {\n marquee.style.animationPlayState = 'paused';\n });\n\n container.addEventListener('mouseleave', () => {\n marquee.style.animationPlayState = 'running';\n });\n\n // Dynamic edit button handler\n document.querySelectorAll('[data-edit]').forEach(button => {\n button.addEventListener('click', () => {\n const path = button.dataset.edit;\n window.location.href = `/edit?path=${encodeURIComponent(path)}`;\n });\n });\n\n // Smooth scroll for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n});\n\n---end---",
+ "reasoning_content": "Okay, let's tackle this request. The user wants a website based on \"marquee\" using Scroll, CSS, and JavaScript without any frameworks. The requirements include mobile responsiveness, semantic HTML5, accessibility, and a professional yet dazzling design.\n\nFirst, I need to come up with a domain name ending in scroll.pub. Since the main feature is a marquee, something like \"marquee.scroll.pub\" makes sense—it's direct and memorable.\n\nNext, the structure. The header should have a hero section with the marquee effect. Using CSS animations for the marquee seems appropriate. I'll need to create a scrolling text that loops smoothly. For accessibility, I'll ensure the animation can be paused, maybe with JavaScript.\n\nThe main content will have features presented in a grid. Each feature card needs to be responsive, so CSS Grid with auto-fit columns will handle that. Hover effects on the cards will add interactivity without compromising performance.\n\nThe footer should have links and follow the no-copyright requirement. Using a simple flex layout for footer links and centering the text.\n\nFor the CSS, I'll use modern techniques like CSS variables for colors, ensuring consistency. The marquee animation will use keyframes with a translateX transformation. To make it responsive, media queries will adjust font sizes and grid layouts on smaller screens.\n\nJavaScript is needed for the marquee pause on hover and the edit button functionality. Also, smooth scrolling for anchor links would enhance user experience. I'll use event listeners for mouseenter and mouseleave on the marquee container to toggle the animation play state.\n\nAccessibility considerations: semantic tags like header, main, section, footer. ARIA labels where necessary, and ensuring all interactive elements are keyboard-navigable. Also, prefers-reduced-motion media query to respect user settings.\n\nTesting the design across different screen sizes to ensure responsiveness. Using relative units like rem and percentages for spacing and sizing. The color scheme should be vibrant but professional, with gradients and subtle shadows for depth.\n\nFinally, putting it all together in Scroll syntax, making sure the indentation is correct for subparticles. Linking the CSS and JS files properly, and using relative URLs as specified."
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 723,
+ "completion_tokens": 1996,
+ "total_tokens": 2719,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "completion_tokens_details": {
+ "reasoning_tokens": 445
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 723
+ },
+ "system_fingerprint": "fp_5417b77867_prod0225"
+ }
readme.scroll
Changed around line 1
+ # marquee.scroll.pub
+
+ Prompt: website
+ Agent: deepseekreasoner
+ Model: deepseek-reasoner
+
+ ## User prompt
+ marquee
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "marquee"
+
+ Requirements:
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ As a refresher, for doing the html body, Scroll is a whitespace based language that uses a single indented space to mark a line (aka particle) as a subparticle of a parent line.
+
+ For example:
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/scroll
+ div
+ class hero-content
+ h1 Write Better with Scroll
+ p The extendible markup language that makes source beautiful and compiles to anything
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple Syntax
+ p Like Markdown, but more powerful. No parentheses needed.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extendible
+ p Build your own custom parsers.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful Output
+ p Create stunning documents with minimal effort.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast & Light
+ p Built on the efficient PPS Stack.
+ section
+ id examples
+ class code-demo
+ h2 See It In Action
+ div
+ class code-container
+ pre
+ class code-example
+ div
+ class code-output
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/tutorial.html
+ a Community
+ href https://www.reddit.com/r/WorldWideScroll/
+ a Blog
+ href https://scroll.pub/blog
+ p Started by Breck Yunits. Evolved by a community.
+ https://twitter.com/breckyunits Breck Yunits
+ https://github.com/breck7/scroll/graphs/contributors community
+
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---index.scroll---
+ buildHtml
+ baseUrl https://(domainscroll.pub here)
+ metaTags
+ editButton /edit.html
+ title (Title here)
+ style.css
+
+ (body content here. no blank lines please.)
+
+ script.js
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', () => {
+ // Marquee hover interaction
+ const marquee = document.querySelector('.marquee-track');
+ const container = document.querySelector('.marquee-container');
+
+ container.addEventListener('mouseenter', () => {
+ marquee.style.animationPlayState = 'paused';
+ });
+
+ container.addEventListener('mouseleave', () => {
+ marquee.style.animationPlayState = 'running';
+ });
+
+ // Dynamic edit button handler
+ document.querySelectorAll('[data-edit]').forEach(button => {
+ button.addEventListener('click', () => {
+ const path = button.dataset.edit;
+ window.location.href = `/edit?path=${encodeURIComponent(path)}`;
+ });
+ });
+
+ // Smooth scroll for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #2A2B2E;
+ --secondary: #5C6B73;
+ --accent: #C2D3CD;
+ --text: #F0F7F4;
+ --gradient-1: linear-gradient(45deg, #FF6B6B, #4ECDC4);
+ --gradient-2: linear-gradient(45deg, #45B7D1, #4ECDC4);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html {
+ scroll-behavior: smooth;
+ font-size: 62.5%;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ background: var(--primary);
+ color: var(--text);
+ overflow-x: hidden;
+ }
+
+ .hero {
+ height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .marquee-container {
+ width: 100%;
+ overflow: hidden;
+ position: relative;
+ padding: 4rem 0;
+ }
+
+ .marquee-track {
+ display: flex;
+ width: max-content;
+ animation: marquee 30s linear infinite;
+ }
+
+ .marquee-content {
+ display: flex;
+ align-items: center;
+ gap: 8rem;
+ padding: 0 8rem;
+ }
+
+ .gradient-text {
+ font-size: 8rem;
+ font-weight: 700;
+ background: var(--gradient-1);
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+ white-space: nowrap;
+ }
+
+ .marquee-divider {
+ width: 4px;
+ height: 8rem;
+ background: var(--accent);
+ transform: rotate(15deg);
+ }
+
+ @keyframes marquee {
+ 0% { transform: translateX(0); }
+ 100% { transform: translateX(-50%); }
+ }
+
+ .features {
+ padding: 8rem 2rem;
+ }
+
+ .section-header {
+ text-align: center;
+ margin-bottom: 6rem;
+ }
+
+ .section-header h2 {
+ font-size: 4rem;
+ margin-bottom: 2rem;
+ background: var(--gradient-2);
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 4rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .feature-card {
+ background: rgba(255,255,255,0.05);
+ padding: 4rem;
+ border-radius: 2rem;
+ backdrop-filter: blur(10px);
+ transition: transform 0.3s ease;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-1rem);
+ }
+
+ .feature-icon {
+ width: 8rem;
+ height: 8rem;
+ margin: 0 auto 3rem;
+ position: relative;
+ }
+
+ .css-logo, .mobile-icon, .accessibility-icon {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ }
+
+ @media (max-width: 768px) {
+ .gradient-text {
+ font-size: 4rem;
+ }
+
+ .marquee-content {
+ gap: 4rem;
+ padding: 0 4rem;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+ }
+
+ @media (prefers-reduced-motion: reduce) {
+ .marquee-track {
+ animation: none;
+ }
+ }