mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-30 09:38:38 -05:00
chore(landing): remove separate layout files in favor of unified light/dark mode
This commit is contained in:
@@ -1,267 +0,0 @@
|
||||
---
|
||||
title: "Machine Learning Systems (Dark)"
|
||||
format:
|
||||
html:
|
||||
toc: false
|
||||
page-layout: full
|
||||
title-block: none
|
||||
css: landing_dark.css
|
||||
---
|
||||
|
||||
::: {.content-visible when-format="html"}
|
||||
|
||||
```{=html}
|
||||
<div id="mls-neural-bg" aria-hidden="true"></div>
|
||||
<div class="mls-landing">
|
||||
|
||||
<!-- Section 1: Textbook -->
|
||||
<section class="mls-section">
|
||||
<div class="mls-landing-grid">
|
||||
<div class="mls-landing-left">
|
||||
<p class="mls-hero-eyebrow">TWO-VOLUME TEXTBOOK</p>
|
||||
<h1 class="mls-hero-title">Machine Learning<br/>Systems.</h1>
|
||||
<p class="mls-hero-tagline">Two volumes. One curriculum.<br/>The physics of AI engineering.</p>
|
||||
<p class="mls-hero-intro">A rigorous, principles-first treatment of how ML systems<br/>are built, optimized, and deployed—from a single<br/>machine to fleet-scale infrastructure.</p>
|
||||
|
||||
<div class="mls-meta">
|
||||
<p class="mls-links"><a href="https://mlsysbook.ai/tinytorch/">TinyTorch</a> · <a href="https://mlsysbook.ai/kits/">Hardware Kits</a> · <a href="https://mlsysbook.ai/labs/">Labs</a></p>
|
||||
<p class="mls-links"><a href="https://github.com/harvard-edge/cs249r_book" target="_blank" rel="noopener">GitHub</a> · <a href="https://opencollective.com/mlsysbook" target="_blank" rel="noopener">Open Collective</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-landing-right">
|
||||
<div class="mls-volumes">
|
||||
<div class="mls-vol-card">
|
||||
<a href="https://mlsysbook.ai/vol1/" class="mls-vol-card-link" title="Open Volume I">
|
||||
<span class="mls-vol-cover-wrap"><img src="covers/cover-hardcover-book-vol1.png" alt="Volume I cover" class="mls-vol-cover" loading="lazy" /></span>
|
||||
<p class="mls-vol-title">Volume I</p>
|
||||
<p class="mls-vol-subtitle">Introduction to Machine Learning Systems</p>
|
||||
</a>
|
||||
<p class="mls-vol-downloads">
|
||||
<a href="https://mlsysbook.ai/vol1/" target="_blank" rel="noopener">HTML</a>
|
||||
<a href="https://mlsysbook.ai/vol1/assets/downloads/Machine-Learning-Systems-Vol1.pdf" target="_blank" rel="noopener">PDF</a>
|
||||
<a href="https://mlsysbook.ai/vol1/assets/downloads/Machine-Learning-Systems-Vol1.epub" target="_blank" rel="noopener">EPUB</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="mls-vol-card">
|
||||
<a href="https://mlsysbook.ai/vol2/" class="mls-vol-card-link" title="Open Volume II">
|
||||
<span class="mls-vol-cover-wrap"><img src="covers/cover-hardcover-book-vol2.png" alt="Volume II cover" class="mls-vol-cover" loading="lazy" /></span>
|
||||
<p class="mls-vol-title">Volume II</p>
|
||||
<p class="mls-vol-subtitle">Machine Learning Systems at Scale</p>
|
||||
</a>
|
||||
<p class="mls-vol-downloads">
|
||||
<a href="https://mlsysbook.ai/vol2/" target="_blank" rel="noopener">HTML</a>
|
||||
<a href="https://mlsysbook.ai/vol2/assets/downloads/Machine-Learning-Systems-Vol2.pdf" target="_blank" rel="noopener">PDF</a>
|
||||
<a href="https://mlsysbook.ai/vol2/assets/downloads/Machine-Learning-Systems-Vol2.epub" target="_blank" rel="noopener">EPUB</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-scroll-indicator">
|
||||
<span>Scroll to Explore</span>
|
||||
<div class="mls-scroll-arrow">↓</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 2: TinyTorch -->
|
||||
<section class="mls-section">
|
||||
<div class="mls-landing-grid">
|
||||
<div class="mls-landing-left">
|
||||
<p class="mls-hero-eyebrow">TINYTORCH</p>
|
||||
<h1 class="mls-hero-title">Build it.<br/>From scratch.</h1>
|
||||
<p class="mls-hero-tagline">20 interactive modules.<br/>Zero magic.</p>
|
||||
<p class="mls-hero-intro">Understand the inner workings of modern ML frameworks by building your own tensor library, automatic differentiation engine, and neural network modules in Python.</p>
|
||||
|
||||
<div class="mls-meta">
|
||||
<p class="mls-links"><a href="https://mlsysbook.ai/tinytorch/">Start Building →</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-landing-right">
|
||||
<div class="mls-feature-card">
|
||||
<div class="css-terminal-wrapper">
|
||||
<div class="css-terminal">
|
||||
<div class="css-terminal-header">
|
||||
<span class="term-dot close"></span>
|
||||
<span class="term-dot min"></span>
|
||||
<span class="term-dot max"></span>
|
||||
</div>
|
||||
<div class="css-terminal-body">
|
||||
<div class="term-line"><span class="term-kw">class</span> <span class="term-def">Tensor</span>:</div>
|
||||
<div class="term-line" style="padding-left: 15px;"><span class="term-kw">def</span> <span class="term-def">__init__</span>(self, data):</div>
|
||||
<div class="term-line" style="padding-left: 30px;">self.data = data</div>
|
||||
<div class="term-line" style="padding-left: 30px;">self.grad = <span class="term-num">0.0</span></div>
|
||||
<div class="term-line" style="padding-left: 30px;">self._backward = <span class="term-kw">lambda</span>: <span class="term-kw">None</span></div>
|
||||
<div class="term-line"><span class="term-cursor"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="term-shadow"></div>
|
||||
</div>
|
||||
<p class="mls-feature-desc">A pedagogical framework for learning ML systems engineering.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 3: Hardware Kits -->
|
||||
<section class="mls-section">
|
||||
<div class="mls-landing-grid">
|
||||
<div class="mls-landing-left">
|
||||
<p class="mls-hero-eyebrow">HARDWARE KITS</p>
|
||||
<h1 class="mls-hero-title">Deploy to<br/>the edge.</h1>
|
||||
<p class="mls-hero-tagline">Real silicon.<br/>Real constraints.</p>
|
||||
<p class="mls-hero-intro">Take your models out of the cloud and into the physical world. Hands-on deployment labs using Arduino, Raspberry Pi, and Seeed Studio hardware.</p>
|
||||
|
||||
<div class="mls-meta">
|
||||
<p class="mls-links"><a href="https://mlsysbook.ai/kits/">Explore Kits →</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-landing-right">
|
||||
<div class="mls-feature-card">
|
||||
<img src="assets/nicla-vision-front.jpeg" alt="Nicla Vision" class="mls-feature-image" style="max-width: 200px; margin-bottom: 2rem;" />
|
||||
<p class="mls-feature-desc">Microcontrollers, single-board computers, and specialized accelerators.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 4: Labs -->
|
||||
<section class="mls-section">
|
||||
<div class="mls-landing-grid">
|
||||
<div class="mls-landing-left">
|
||||
<p class="mls-hero-eyebrow">INTERACTIVE LABS</p>
|
||||
<h1 class="mls-hero-title">Learn by<br/>doing.</h1>
|
||||
<p class="mls-hero-tagline">Jupyter and Marimo.<br/>Coming Summer 2026.</p>
|
||||
<p class="mls-hero-intro">A complete suite of interactive notebooks designed to accompany the textbook. Profile performance, optimize kernels, and simulate distributed training.</p>
|
||||
|
||||
<div class="mls-meta">
|
||||
<p class="mls-links"><a href="https://mlsysbook.ai/labs/">View Labs →</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-landing-right">
|
||||
<div class="mls-feature-card">
|
||||
<div class="css-sliders-wrapper">
|
||||
<div class="css-slider">
|
||||
<div class="slider-label">Compute</div>
|
||||
<div class="slider-track"><div class="slider-fill fill1"></div><div class="slider-thumb thumb1"></div></div>
|
||||
</div>
|
||||
<div class="css-slider">
|
||||
<div class="slider-label">Memory</div>
|
||||
<div class="slider-track"><div class="slider-fill fill2"></div><div class="slider-thumb thumb2"></div></div>
|
||||
</div>
|
||||
<div class="css-slider">
|
||||
<div class="slider-label">Latency</div>
|
||||
<div class="slider-track"><div class="slider-fill fill3"></div><div class="slider-thumb thumb3"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mls-feature-desc">Hands-on exercises for performance engineering and scaling.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="mls-footer" style="margin-top: 6rem;">
|
||||
<span>Vijay Janapa Reddi, Harvard University · MIT Press 2026</span>
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function(){
|
||||
var container = document.getElementById('mls-neural-bg');
|
||||
if (!container) return;
|
||||
var canvas = document.createElement('canvas');
|
||||
var ctx = canvas.getContext('2d');
|
||||
container.appendChild(canvas);
|
||||
|
||||
var nodes = [];
|
||||
var numNodes = 100;
|
||||
|
||||
function resize() {
|
||||
var dpr = Math.min(window.devicePixelRatio || 1, 2);
|
||||
var w = window.innerWidth || 1000;
|
||||
var h = window.innerHeight || 800;
|
||||
canvas.width = w * dpr;
|
||||
canvas.height = h * dpr;
|
||||
canvas.style.width = w + 'px';
|
||||
canvas.style.height = h + 'px';
|
||||
ctx.setTransform(1, 0, 0, 1, 0, 0);
|
||||
ctx.scale(dpr, dpr);
|
||||
initNodes(w, h);
|
||||
}
|
||||
|
||||
function initNodes(w, h) {
|
||||
nodes = [];
|
||||
for (var i = 0; i < numNodes; i++) {
|
||||
nodes.push({
|
||||
x: Math.random() * w,
|
||||
y: Math.random() * h,
|
||||
vx: (Math.random() - 0.5) * 0.5,
|
||||
vy: (Math.random() - 0.5) * 0.5,
|
||||
radius: Math.random() * 2 + 1
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function draw() {
|
||||
var w = window.innerWidth || 1000;
|
||||
var h = window.innerHeight || 800;
|
||||
ctx.clearRect(0, 0, w, h);
|
||||
|
||||
ctx.fillStyle = '#00e5ff';
|
||||
ctx.strokeStyle = 'rgba(0, 229, 255, 0.15)';
|
||||
|
||||
for (var i = 0; i < nodes.length; i++) {
|
||||
var n = nodes[i];
|
||||
n.x += n.vx;
|
||||
n.y += n.vy;
|
||||
|
||||
if (n.x < 0 || n.x > w) n.vx *= -1;
|
||||
if (n.y < 0 || n.y > h) n.vy *= -1;
|
||||
|
||||
ctx.beginPath();
|
||||
ctx.arc(n.x, n.y, n.radius, 0, Math.PI * 2);
|
||||
ctx.fill();
|
||||
|
||||
for (var j = i + 1; j < nodes.length; j++) {
|
||||
var n2 = nodes[j];
|
||||
var dx = n.x - n2.x;
|
||||
var dy = n.y - n2.y;
|
||||
var dist = Math.sqrt(dx*dx + dy*dy);
|
||||
if (dist < 150) {
|
||||
ctx.beginPath();
|
||||
ctx.moveTo(n.x, n.y);
|
||||
ctx.lineTo(n2.x, n2.y);
|
||||
ctx.globalAlpha = 1 - (dist / 150);
|
||||
ctx.stroke();
|
||||
ctx.globalAlpha = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var lastTime = 0;
|
||||
function tick(timestamp) {
|
||||
requestAnimationFrame(tick);
|
||||
if (timestamp - lastTime < 33) return;
|
||||
lastTime = timestamp;
|
||||
draw();
|
||||
}
|
||||
resize();
|
||||
requestAnimationFrame(tick);
|
||||
|
||||
var resizeTimeout;
|
||||
window.addEventListener('resize', function() {
|
||||
clearTimeout(resizeTimeout);
|
||||
resizeTimeout = setTimeout(resize, 200);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
```
|
||||
@@ -1,174 +0,0 @@
|
||||
---
|
||||
title: "Machine Learning Systems (Minimal)"
|
||||
format:
|
||||
html:
|
||||
toc: false
|
||||
page-layout: full
|
||||
title-block: none
|
||||
css: landing_minimal.css
|
||||
---
|
||||
|
||||
::: {.content-visible when-format="html"}
|
||||
|
||||
```{=html}
|
||||
<div class="mls-landing">
|
||||
|
||||
<!-- Section 1: Textbook -->
|
||||
<section class="mls-section">
|
||||
<div class="mls-landing-grid">
|
||||
<div class="mls-landing-left">
|
||||
<p class="mls-hero-eyebrow">TWO-VOLUME TEXTBOOK</p>
|
||||
<h1 class="mls-hero-title">Machine Learning<br/>Systems.</h1>
|
||||
<p class="mls-hero-tagline">Two volumes. One curriculum.<br/>The physics of AI engineering.</p>
|
||||
<p class="mls-hero-intro">A rigorous, principles-first treatment of how ML systems<br/>are built, optimized, and deployed—from a single<br/>machine to fleet-scale infrastructure.</p>
|
||||
|
||||
<div class="mls-meta">
|
||||
<p class="mls-links"><a href="https://mlsysbook.ai/tinytorch/">TinyTorch</a> · <a href="https://mlsysbook.ai/kits/">Hardware Kits</a> · <a href="https://mlsysbook.ai/labs/">Labs</a></p>
|
||||
<p class="mls-links"><a href="https://github.com/harvard-edge/cs249r_book" target="_blank" rel="noopener">GitHub</a> · <a href="https://opencollective.com/mlsysbook" target="_blank" rel="noopener">Open Collective</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-landing-right">
|
||||
<div class="mls-volumes">
|
||||
<div class="mls-vol-card">
|
||||
<a href="https://mlsysbook.ai/vol1/" class="mls-vol-card-link" title="Open Volume I">
|
||||
<span class="mls-vol-cover-wrap"><img src="covers/cover-hardcover-book-vol1.png" alt="Volume I cover" class="mls-vol-cover" loading="lazy" /></span>
|
||||
<p class="mls-vol-title">Volume I</p>
|
||||
<p class="mls-vol-subtitle">Introduction to Machine Learning Systems</p>
|
||||
</a>
|
||||
<p class="mls-vol-downloads">
|
||||
<a href="https://mlsysbook.ai/vol1/" target="_blank" rel="noopener">HTML</a>
|
||||
<a href="https://mlsysbook.ai/vol1/assets/downloads/Machine-Learning-Systems-Vol1.pdf" target="_blank" rel="noopener">PDF</a>
|
||||
<a href="https://mlsysbook.ai/vol1/assets/downloads/Machine-Learning-Systems-Vol1.epub" target="_blank" rel="noopener">EPUB</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="mls-vol-card">
|
||||
<a href="https://mlsysbook.ai/vol2/" class="mls-vol-card-link" title="Open Volume II">
|
||||
<span class="mls-vol-cover-wrap"><img src="covers/cover-hardcover-book-vol2.png" alt="Volume II cover" class="mls-vol-cover" loading="lazy" /></span>
|
||||
<p class="mls-vol-title">Volume II</p>
|
||||
<p class="mls-vol-subtitle">Machine Learning Systems at Scale</p>
|
||||
</a>
|
||||
<p class="mls-vol-downloads">
|
||||
<a href="https://mlsysbook.ai/vol2/" target="_blank" rel="noopener">HTML</a>
|
||||
<a href="https://mlsysbook.ai/vol2/assets/downloads/Machine-Learning-Systems-Vol2.pdf" target="_blank" rel="noopener">PDF</a>
|
||||
<a href="https://mlsysbook.ai/vol2/assets/downloads/Machine-Learning-Systems-Vol2.epub" target="_blank" rel="noopener">EPUB</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-scroll-indicator">
|
||||
<span>Scroll to Explore</span>
|
||||
<div class="mls-scroll-arrow">↓</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 2: TinyTorch -->
|
||||
<section class="mls-section">
|
||||
<div class="mls-landing-grid">
|
||||
<div class="mls-landing-left">
|
||||
<p class="mls-hero-eyebrow">TINYTORCH</p>
|
||||
<h1 class="mls-hero-title">Build it.<br/>From scratch.</h1>
|
||||
<p class="mls-hero-tagline">20 interactive modules.<br/>Zero magic.</p>
|
||||
<p class="mls-hero-intro">Understand the inner workings of modern ML frameworks by building your own tensor library, automatic differentiation engine, and neural network modules in Python.</p>
|
||||
|
||||
<div class="mls-meta">
|
||||
<p class="mls-links"><a href="https://mlsysbook.ai/tinytorch/">Start Building →</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-landing-right">
|
||||
<div class="mls-feature-card">
|
||||
<div class="css-terminal-wrapper">
|
||||
<div class="css-terminal">
|
||||
<div class="css-terminal-header">
|
||||
<span class="term-dot close"></span>
|
||||
<span class="term-dot min"></span>
|
||||
<span class="term-dot max"></span>
|
||||
</div>
|
||||
<div class="css-terminal-body">
|
||||
<div class="term-line"><span class="term-kw">class</span> <span class="term-def">Tensor</span>:</div>
|
||||
<div class="term-line" style="padding-left: 15px;"><span class="term-kw">def</span> <span class="term-def">__init__</span>(self, data):</div>
|
||||
<div class="term-line" style="padding-left: 30px;">self.data = data</div>
|
||||
<div class="term-line" style="padding-left: 30px;">self.grad = <span class="term-num">0.0</span></div>
|
||||
<div class="term-line" style="padding-left: 30px;">self._backward = <span class="term-kw">lambda</span>: <span class="term-kw">None</span></div>
|
||||
<div class="term-line"><span class="term-cursor"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="term-shadow"></div>
|
||||
</div>
|
||||
<p class="mls-feature-desc">A pedagogical framework for learning ML systems engineering.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 3: Hardware Kits -->
|
||||
<section class="mls-section">
|
||||
<div class="mls-landing-grid">
|
||||
<div class="mls-landing-left">
|
||||
<p class="mls-hero-eyebrow">HARDWARE KITS</p>
|
||||
<h1 class="mls-hero-title">Deploy to<br/>the edge.</h1>
|
||||
<p class="mls-hero-tagline">Real silicon.<br/>Real constraints.</p>
|
||||
<p class="mls-hero-intro">Take your models out of the cloud and into the physical world. Hands-on deployment labs using Arduino, Raspberry Pi, and Seeed Studio hardware.</p>
|
||||
|
||||
<div class="mls-meta">
|
||||
<p class="mls-links"><a href="https://mlsysbook.ai/kits/">Explore Kits →</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-landing-right">
|
||||
<div class="mls-feature-card">
|
||||
<img src="assets/nicla-vision-front.jpeg" alt="Nicla Vision" class="mls-feature-image" style="max-width: 200px; margin-bottom: 2rem;" />
|
||||
<p class="mls-feature-desc">Microcontrollers, single-board computers, and specialized accelerators.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 4: Labs -->
|
||||
<section class="mls-section">
|
||||
<div class="mls-landing-grid">
|
||||
<div class="mls-landing-left">
|
||||
<p class="mls-hero-eyebrow">INTERACTIVE LABS</p>
|
||||
<h1 class="mls-hero-title">Learn by<br/>doing.</h1>
|
||||
<p class="mls-hero-tagline">Jupyter and Marimo.<br/>Coming Summer 2026.</p>
|
||||
<p class="mls-hero-intro">A complete suite of interactive notebooks designed to accompany the textbook. Profile performance, optimize kernels, and simulate distributed training.</p>
|
||||
|
||||
<div class="mls-meta">
|
||||
<p class="mls-links"><a href="https://mlsysbook.ai/labs/">View Labs →</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mls-landing-right">
|
||||
<div class="mls-feature-card">
|
||||
<div class="css-sliders-wrapper">
|
||||
<div class="css-slider">
|
||||
<div class="slider-label">Compute</div>
|
||||
<div class="slider-track"><div class="slider-fill fill1"></div><div class="slider-thumb thumb1"></div></div>
|
||||
</div>
|
||||
<div class="css-slider">
|
||||
<div class="slider-label">Memory</div>
|
||||
<div class="slider-track"><div class="slider-fill fill2"></div><div class="slider-thumb thumb2"></div></div>
|
||||
</div>
|
||||
<div class="css-slider">
|
||||
<div class="slider-label">Latency</div>
|
||||
<div class="slider-track"><div class="slider-fill fill3"></div><div class="slider-thumb thumb3"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mls-feature-desc">Hands-on exercises for performance engineering and scaling.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="mls-footer" style="margin-top: 6rem;">
|
||||
<span>Vijay Janapa Reddi, Harvard University · MIT Press 2026</span>
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
@@ -1,396 +0,0 @@
|
||||
/*
|
||||
DARK / CYBERPUNK VARIATION
|
||||
*/
|
||||
:root {
|
||||
--mls-accent: #00e5ff;
|
||||
--mls-accent-glow: rgba(0, 229, 255, 0.4);
|
||||
--mls-bg: #0a0a0c;
|
||||
--mls-text: #e0e0e0;
|
||||
--mls-muted: #888;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: var(--mls-bg);
|
||||
color: var(--mls-text);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
#mls-neural-bg {
|
||||
position: fixed;
|
||||
top: 0; left: 0; width: 100vw; height: 100vh;
|
||||
z-index: -1;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.mls-landing {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
height: 100vh;
|
||||
overflow-y: scroll;
|
||||
scroll-snap-type: y mandatory;
|
||||
scroll-padding-top: 60px; /* Adjust for navbar */
|
||||
}
|
||||
|
||||
.mls-section {
|
||||
min-height: 100vh;
|
||||
scroll-snap-align: start;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
padding: 4rem 2rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mls-landing-grid {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4rem;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.mls-landing-grid {
|
||||
grid-template-columns: 1fr;
|
||||
text-align: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.mls-landing-left {
|
||||
background: rgba(15, 15, 20, 0.6);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
padding: 3rem;
|
||||
border-radius: 16px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
|
||||
}
|
||||
|
||||
.mls-hero-eyebrow {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
color: var(--mls-accent);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.15em;
|
||||
margin-bottom: 1rem;
|
||||
text-shadow: 0 0 10px var(--mls-accent-glow);
|
||||
}
|
||||
|
||||
.mls-hero-title {
|
||||
font-size: clamp(3rem, 6vw, 4.5rem);
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
line-height: 1.05;
|
||||
margin: 0 0 1.5rem 0;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
.mls-hero-tagline {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: #ccc;
|
||||
margin-bottom: 1.5rem;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.mls-hero-intro {
|
||||
font-size: 1.15rem;
|
||||
color: var(--mls-muted);
|
||||
line-height: 1.6;
|
||||
margin-bottom: 2rem;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.mls-meta {
|
||||
margin-top: 2rem;
|
||||
padding-top: 2rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.mls-links {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.mls-links a {
|
||||
color: var(--mls-accent);
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.mls-links a:hover {
|
||||
color: #fff;
|
||||
text-shadow: 0 0 8px var(--mls-accent-glow);
|
||||
}
|
||||
|
||||
/* Volumes */
|
||||
.mls-volumes {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.mls-vol-card {
|
||||
flex: 1;
|
||||
max-width: 280px;
|
||||
background: rgba(20, 20, 25, 0.8);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-radius: 12px;
|
||||
padding: 1.5rem;
|
||||
text-align: center;
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.mls-vol-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 15px 30px rgba(0, 229, 255, 0.15);
|
||||
border-color: rgba(0, 229, 255, 0.3);
|
||||
}
|
||||
|
||||
.mls-vol-card-link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mls-vol-cover-wrap {
|
||||
display: block;
|
||||
margin: 0 auto 1.5rem auto;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 10px 20px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.mls-vol-cover {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mls-vol-title {
|
||||
font-weight: 800;
|
||||
font-size: 1.25rem;
|
||||
color: #fff;
|
||||
margin: 0 0 0.5rem 0;
|
||||
}
|
||||
|
||||
.mls-vol-subtitle {
|
||||
font-size: 0.85rem;
|
||||
color: var(--mls-muted);
|
||||
margin: 0 0 1.5rem 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.mls-vol-downloads {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.mls-vol-downloads a {
|
||||
color: var(--mls-muted);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mls-vol-downloads a:hover {
|
||||
color: var(--mls-accent);
|
||||
}
|
||||
|
||||
.mls-footer {
|
||||
margin-top: 4rem;
|
||||
text-align: center;
|
||||
font-size: 0.85rem;
|
||||
color: var(--mls-muted);
|
||||
}
|
||||
|
||||
.mls-scroll-indicator {
|
||||
position: absolute;
|
||||
bottom: 2rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
text-align: center;
|
||||
color: var(--mls-muted);
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
animation: bounce 2s infinite;
|
||||
pointer-events: none;
|
||||
}
|
||||
.mls-scroll-arrow {
|
||||
font-size: 1.5rem;
|
||||
margin-top: 0.25rem;
|
||||
color: var(--mls-accent);
|
||||
}
|
||||
@keyframes bounce {
|
||||
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
|
||||
40% { transform: translateY(-10px); }
|
||||
60% { transform: translateY(-5px); }
|
||||
}
|
||||
|
||||
/* Feature Sections */
|
||||
.mls-feature-card {
|
||||
background: rgba(20, 20, 25, 0.8);
|
||||
border: 1px solid rgba(255,255,255,0.05);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
||||
padding: 4rem 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.mls-feature-desc {
|
||||
font-size: 1.25rem;
|
||||
color: #aaa;
|
||||
max-width: 420px;
|
||||
margin: 0 auto;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* Terminal Animation */
|
||||
.css-terminal-wrapper {
|
||||
position: relative;
|
||||
width: 280px;
|
||||
margin: 0 auto 2rem auto;
|
||||
animation: floatTerminal 6s ease-in-out infinite;
|
||||
}
|
||||
.css-terminal {
|
||||
background: rgba(10, 10, 12, 0.95);
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(0, 229, 255, 0.2);
|
||||
box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0, 229, 255, 0.1);
|
||||
overflow: hidden;
|
||||
}
|
||||
.css-terminal-header {
|
||||
background: rgba(20, 20, 25, 0.9);
|
||||
padding: 10px 12px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
border-bottom: 1px solid rgba(255,255,255,0.05);
|
||||
}
|
||||
.term-dot { width: 12px; height: 12px; border-radius: 50%; }
|
||||
.term-dot.close { background: #ff5f56; }
|
||||
.term-dot.min { background: #ffbd2e; }
|
||||
.term-dot.max { background: #27c93f; }
|
||||
.css-terminal-body {
|
||||
padding: 16px;
|
||||
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
||||
font-size: 0.75rem;
|
||||
color: #e6e6e6;
|
||||
text-align: left;
|
||||
min-height: 100px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.term-line { display: flex; gap: 10px; white-space: nowrap; }
|
||||
.term-kw { color: #ff7b72; }
|
||||
.term-def { color: #d2a8ff; }
|
||||
.term-var { color: #79c0ff; }
|
||||
.term-num { color: #79c0ff; }
|
||||
.term-cursor {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 16px;
|
||||
background: var(--mls-accent);
|
||||
animation: blink 1s step-end infinite;
|
||||
}
|
||||
.term-shadow {
|
||||
position: absolute;
|
||||
bottom: -20px;
|
||||
left: 10%;
|
||||
width: 80%;
|
||||
height: 15px;
|
||||
background: rgba(0, 229, 255, 0.1);
|
||||
border-radius: 50%;
|
||||
filter: blur(10px);
|
||||
animation: shadowTerminal 6s ease-in-out infinite;
|
||||
}
|
||||
@keyframes floatTerminal {
|
||||
0%, 100% { transform: translateY(0); }
|
||||
50% { transform: translateY(-10px); }
|
||||
}
|
||||
@keyframes shadowTerminal {
|
||||
0%, 100% { transform: scale(1); opacity: 0.5; }
|
||||
50% { transform: scale(0.85); opacity: 0.2; }
|
||||
}
|
||||
@keyframes blink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0; }
|
||||
}
|
||||
|
||||
/* Sliders Animation */
|
||||
.css-sliders-wrapper {
|
||||
position: relative;
|
||||
width: 220px;
|
||||
background: rgba(20, 20, 25, 0.8);
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
||||
border: 1px solid rgba(255,255,255,0.05);
|
||||
margin: 0 auto 2rem auto;
|
||||
}
|
||||
.css-slider { margin-bottom: 15px; }
|
||||
.css-slider:last-child { margin-bottom: 0; }
|
||||
.slider-label {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: #aaa;
|
||||
margin-bottom: 5px;
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
.slider-track {
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
background: rgba(255,255,255,0.1);
|
||||
border-radius: 3px;
|
||||
position: relative;
|
||||
}
|
||||
.slider-fill {
|
||||
position: absolute;
|
||||
top: 0; left: 0; bottom: 0;
|
||||
background: var(--mls-accent);
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 10px var(--mls-accent-glow);
|
||||
}
|
||||
.slider-thumb {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
background: #fff;
|
||||
border: 2px solid var(--mls-accent);
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
box-shadow: 0 0 10px var(--mls-accent-glow);
|
||||
}
|
||||
|
||||
.fill1 { animation: slideFill1 4s infinite alternate ease-in-out; }
|
||||
.thumb1 { animation: slideThumb1 4s infinite alternate ease-in-out; }
|
||||
.fill2 { animation: slideFill2 5s infinite alternate ease-in-out; background: #b388ff; box-shadow: 0 0 10px rgba(179, 136, 255, 0.4); }
|
||||
.thumb2 { animation: slideThumb2 5s infinite alternate ease-in-out; border-color: #b388ff; box-shadow: 0 0 10px rgba(179, 136, 255, 0.4); }
|
||||
.fill3 { animation: slideFill3 3.5s infinite alternate ease-in-out; background: #ff4081; box-shadow: 0 0 10px rgba(255, 64, 129, 0.4); }
|
||||
.thumb3 { animation: slideThumb3 3.5s infinite alternate ease-in-out; border-color: #ff4081; box-shadow: 0 0 10px rgba(255, 64, 129, 0.4); }
|
||||
|
||||
@keyframes slideFill1 { 0% { width: 20%; } 100% { width: 80%; } }
|
||||
@keyframes slideThumb1 { 0% { left: 20%; } 100% { left: 80%; } }
|
||||
@keyframes slideFill2 { 0% { width: 70%; } 100% { width: 30%; } }
|
||||
@keyframes slideThumb2 { 0% { left: 70%; } 100% { left: 30%; } }
|
||||
@keyframes slideFill3 { 0% { width: 40%; } 100% { width: 90%; } }
|
||||
@keyframes slideThumb3 { 0% { left: 40%; } 100% { left: 90%; } }
|
||||
@@ -1,381 +0,0 @@
|
||||
/*
|
||||
MINIMALIST / BRUTALIST VARIATION
|
||||
*/
|
||||
:root {
|
||||
--mls-accent: #A51C30; /* Harvard Crimson */
|
||||
--mls-bg: #ffffff;
|
||||
--mls-text: #000000;
|
||||
--mls-muted: #666;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: var(--mls-bg);
|
||||
color: var(--mls-text);
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
background-image: radial-gradient(#000 1px, transparent 1px);
|
||||
background-size: 30px 30px;
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
#mls-neural-bg {
|
||||
display: none; /* No canvas background */
|
||||
}
|
||||
|
||||
.mls-landing {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
height: 100vh;
|
||||
overflow-y: scroll;
|
||||
scroll-snap-type: y mandatory;
|
||||
scroll-padding-top: 60px;
|
||||
}
|
||||
|
||||
.mls-section {
|
||||
min-height: 100vh;
|
||||
scroll-snap-align: start;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
padding: 4rem 2rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mls-landing-grid {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4rem;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.mls-landing-grid {
|
||||
grid-template-columns: 1fr;
|
||||
text-align: left;
|
||||
gap: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.mls-landing-left {
|
||||
background: #fff;
|
||||
padding: 3rem;
|
||||
border: 3px solid #000;
|
||||
box-shadow: 12px 12px 0px var(--mls-accent);
|
||||
}
|
||||
|
||||
.mls-hero-eyebrow {
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
color: var(--mls-accent);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
margin-bottom: 1rem;
|
||||
border-bottom: 2px solid #000;
|
||||
display: inline-block;
|
||||
padding-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.mls-hero-title {
|
||||
font-size: clamp(3.5rem, 7vw, 5.5rem);
|
||||
font-weight: 900;
|
||||
color: #000;
|
||||
line-height: 0.95;
|
||||
margin: 0 0 1.5rem 0;
|
||||
letter-spacing: -0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mls-hero-tagline {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #000;
|
||||
margin-bottom: 1.5rem;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.mls-hero-intro {
|
||||
font-size: 1.2rem;
|
||||
color: #333;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 2rem;
|
||||
max-width: 500px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.mls-meta {
|
||||
margin-top: 2rem;
|
||||
padding-top: 2rem;
|
||||
border-top: 3px solid #000;
|
||||
}
|
||||
|
||||
.mls-links {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mls-links a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
background: #fff;
|
||||
padding: 0.2rem 0.5rem;
|
||||
border: 2px solid #000;
|
||||
transition: all 0.2s ease;
|
||||
display: inline-block;
|
||||
margin-right: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.mls-links a:hover {
|
||||
background: var(--mls-accent);
|
||||
color: #fff;
|
||||
transform: translate(-2px, -2px);
|
||||
box-shadow: 4px 4px 0px #000;
|
||||
}
|
||||
|
||||
/* Volumes */
|
||||
.mls-volumes {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.mls-vol-card {
|
||||
flex: 1;
|
||||
max-width: 280px;
|
||||
background: #fff;
|
||||
border: 3px solid #000;
|
||||
padding: 1.5rem;
|
||||
text-align: center;
|
||||
transition: transform 0.2s ease;
|
||||
box-shadow: 8px 8px 0px #000;
|
||||
}
|
||||
|
||||
.mls-vol-card:hover {
|
||||
transform: translate(-4px, -4px);
|
||||
box-shadow: 12px 12px 0px var(--mls-accent);
|
||||
}
|
||||
|
||||
.mls-vol-card-link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mls-vol-cover-wrap {
|
||||
display: block;
|
||||
margin: 0 auto 1.5rem auto;
|
||||
border: 2px solid #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mls-vol-cover {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mls-vol-title {
|
||||
font-weight: 900;
|
||||
font-size: 1.5rem;
|
||||
color: #000;
|
||||
margin: 0 0 0.5rem 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mls-vol-subtitle {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin: 0 0 1.5rem 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.mls-vol-downloads {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 800;
|
||||
margin: 0;
|
||||
padding-top: 1rem;
|
||||
border-top: 2px solid #000;
|
||||
}
|
||||
|
||||
.mls-vol-downloads a {
|
||||
color: #000;
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.mls-vol-downloads a:hover {
|
||||
color: var(--mls-accent);
|
||||
}
|
||||
|
||||
.mls-footer {
|
||||
margin-top: 4rem;
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 700;
|
||||
color: #000;
|
||||
background: #fff;
|
||||
padding: 0.5rem;
|
||||
border: 2px solid #000;
|
||||
display: inline-block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.mls-scroll-indicator {
|
||||
position: absolute;
|
||||
bottom: 2rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
text-align: center;
|
||||
color: #000;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
background: #fff;
|
||||
padding: 0.5rem 1rem;
|
||||
border: 2px solid #000;
|
||||
box-shadow: 4px 4px 0px var(--mls-accent);
|
||||
}
|
||||
.mls-scroll-arrow {
|
||||
font-size: 1.5rem;
|
||||
margin-top: 0.25rem;
|
||||
color: var(--mls-accent);
|
||||
}
|
||||
|
||||
/* Feature Sections */
|
||||
.mls-feature-card {
|
||||
background: #fff;
|
||||
border: 3px solid #000;
|
||||
box-shadow: 12px 12px 0px #000;
|
||||
padding: 4rem 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.mls-feature-desc {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #000;
|
||||
max-width: 420px;
|
||||
margin: 0 auto;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* Terminal Animation - Brutalist */
|
||||
.css-terminal-wrapper {
|
||||
position: relative;
|
||||
width: 280px;
|
||||
margin: 0 auto 2rem auto;
|
||||
}
|
||||
.css-terminal {
|
||||
background: #000;
|
||||
border: 3px solid #000;
|
||||
box-shadow: 8px 8px 0px var(--mls-accent);
|
||||
}
|
||||
.css-terminal-header {
|
||||
background: #fff;
|
||||
padding: 10px 12px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
border-bottom: 3px solid #000;
|
||||
}
|
||||
.term-dot { width: 12px; height: 12px; border-radius: 0; border: 2px solid #000; }
|
||||
.term-dot.close { background: #ff5f56; }
|
||||
.term-dot.min { background: #ffbd2e; }
|
||||
.term-dot.max { background: #27c93f; }
|
||||
.css-terminal-body {
|
||||
padding: 16px;
|
||||
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
||||
font-size: 0.75rem;
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
min-height: 100px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.term-line { display: flex; gap: 10px; white-space: nowrap; }
|
||||
.term-kw { color: #ff7b72; }
|
||||
.term-def { color: #d2a8ff; }
|
||||
.term-var { color: #79c0ff; }
|
||||
.term-num { color: #79c0ff; }
|
||||
.term-cursor {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 16px;
|
||||
background: #fff;
|
||||
animation: blink 1s step-end infinite;
|
||||
}
|
||||
.term-shadow { display: none; }
|
||||
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
|
||||
|
||||
/* Sliders Animation - Brutalist */
|
||||
.css-sliders-wrapper {
|
||||
position: relative;
|
||||
width: 220px;
|
||||
background: #fff;
|
||||
border: 3px solid #000;
|
||||
padding: 20px;
|
||||
box-shadow: 8px 8px 0px var(--mls-accent);
|
||||
margin: 0 auto 2rem auto;
|
||||
}
|
||||
.css-slider { margin-bottom: 15px; }
|
||||
.css-slider:last-child { margin-bottom: 0; }
|
||||
.slider-label {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 800;
|
||||
color: #000;
|
||||
margin-bottom: 5px;
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.slider-track {
|
||||
width: 100%;
|
||||
height: 12px;
|
||||
background: #fff;
|
||||
border: 2px solid #000;
|
||||
position: relative;
|
||||
}
|
||||
.slider-fill {
|
||||
position: absolute;
|
||||
top: 0; left: 0; bottom: 0;
|
||||
background: #000;
|
||||
border-right: 2px solid #000;
|
||||
}
|
||||
.slider-thumb {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 16px;
|
||||
height: 24px;
|
||||
background: var(--mls-accent);
|
||||
border: 2px solid #000;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.fill1 { animation: slideFill1 4s infinite alternate ease-in-out; }
|
||||
.thumb1 { animation: slideThumb1 4s infinite alternate ease-in-out; }
|
||||
.fill2 { animation: slideFill2 5s infinite alternate ease-in-out; }
|
||||
.thumb2 { animation: slideThumb2 5s infinite alternate ease-in-out; background: #4285F4; }
|
||||
.fill3 { animation: slideFill3 3.5s infinite alternate ease-in-out; }
|
||||
.thumb3 { animation: slideThumb3 3.5s infinite alternate ease-in-out; background: #34A853; }
|
||||
|
||||
@keyframes slideFill1 { 0% { width: 20%; } 100% { width: 80%; } }
|
||||
@keyframes slideThumb1 { 0% { left: 20%; } 100% { left: 80%; } }
|
||||
@keyframes slideFill2 { 0% { width: 70%; } 100% { width: 30%; } }
|
||||
@keyframes slideThumb2 { 0% { left: 70%; } 100% { left: 30%; } }
|
||||
@keyframes slideFill3 { 0% { width: 40%; } 100% { width: 90%; } }
|
||||
@keyframes slideThumb3 { 0% { left: 40%; } 100% { left: 90%; } }
|
||||
Reference in New Issue
Block a user