mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-03 00:07:08 -05:00
style: apply consistent whitespace and formatting across codebase
This commit is contained in:
45
.github/dev-landing/index.html
vendored
45
.github/dev-landing/index.html
vendored
@@ -11,7 +11,7 @@
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
||||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
|
||||
@@ -23,12 +23,12 @@
|
||||
color: #e4e4e4;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
|
||||
.container {
|
||||
max-width: 800px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.badge {
|
||||
display: inline-block;
|
||||
background: #e94560;
|
||||
@@ -41,7 +41,7 @@
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
@@ -50,20 +50,20 @@
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
|
||||
.subtitle {
|
||||
color: #a4a4a4;
|
||||
margin-bottom: 3rem;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
|
||||
.cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
|
||||
.card {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
@@ -73,49 +73,49 @@
|
||||
color: inherit;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-5px);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
|
||||
.card-icon {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.card h2 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.card p {
|
||||
color: #a4a4a4;
|
||||
font-size: 0.95rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.card-link {
|
||||
color: #e94560;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
.footer {
|
||||
color: #666;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
|
||||
.footer a {
|
||||
color: #888;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.footer a:hover {
|
||||
color: #e94560;
|
||||
}
|
||||
|
||||
|
||||
.commit-info {
|
||||
margin-top: 0.5rem;
|
||||
font-family: monospace;
|
||||
@@ -127,10 +127,10 @@
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="badge">🚧 Development Preview</div>
|
||||
|
||||
|
||||
<h1>MLSysBook</h1>
|
||||
<p class="subtitle">Machine Learning Systems • Development Environment</p>
|
||||
|
||||
|
||||
<div class="cards">
|
||||
<a href="./book/" class="card">
|
||||
<div class="card-icon">📖</div>
|
||||
@@ -138,7 +138,7 @@
|
||||
<p>Machine Learning Systems: Principles and Practices of Engineering Artificially Intelligent Systems</p>
|
||||
<span class="card-link">Open Book Preview →</span>
|
||||
</a>
|
||||
|
||||
|
||||
<a href="./tinytorch/" class="card">
|
||||
<div class="card-icon">🔥</div>
|
||||
<h2>Tiny🔥Torch</h2>
|
||||
@@ -146,11 +146,11 @@
|
||||
<span class="card-link">Open TinyTorch Preview →</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
<p>
|
||||
<a href="https://github.com/harvard-edge/cs249r_book">GitHub</a> •
|
||||
<a href="https://mlsysbook.ai">Live Site</a> •
|
||||
<a href="https://github.com/harvard-edge/cs249r_book">GitHub</a> •
|
||||
<a href="https://mlsysbook.ai">Live Site</a> •
|
||||
<a href="https://github.com/harvard-edge/cs249r_book/tree/dev">dev branch</a>
|
||||
</p>
|
||||
<p class="commit-info">
|
||||
@@ -160,4 +160,3 @@
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user