Skip to content

Commit d80df42

Browse files
committed
Make h2 piss yellow
1 parent 4596ed7 commit d80df42

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

gettingstarted/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
#site-sidebar a:hover { color: #111; }
1717
#site-sidebar a.active { color: #111; font-weight: 500; }
1818
.content { flex: 1; padding: 4rem; max-width: 880px; }
19-
.content h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
19+
.content h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: #e8b400;}
2020
.content .subtitle { color: #888; font-size: 0.95rem; margin-bottom: 2.5rem; }
21-
.content h2 { font-size: 1.3rem; font-weight: 600; margin-top: 3rem; margin-bottom: 0.5rem; }
21+
.content h2 { font-size: 1.3rem; font-weight: 600; margin-top: 3rem; margin-bottom: 0.5rem; color: #b8860b;}
2222
.content h3 { font-size: 1rem; font-weight: 600; margin-top: 1.75rem; margin-bottom: 0.75rem; }
2323
.content p { color: #444; line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
2424
.content code { font-family: "SF Mono","Fira Code",monospace; font-size: 13px; background: #f4f4f4; padding: 2px 6px; border-radius: 4px; color: #111; }

libraries/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#site-sidebar a:hover { color: #111; }
1717
#site-sidebar a.active { color: #111; font-weight: 500; }
1818
.content { flex: 1; padding: 4rem; max-width: 820px; }
19-
.content h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
20-
.content h2 { font-size: 1.1rem; font-weight: 600; margin-top: 3rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #e0e0e0; }
19+
.content h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: #e8b400; }
20+
.content h2 { font-size: 1.1rem; font-weight: 600; margin-top: 3rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #e0e0e0; color: #b8860b; }
2121
.content p { color: #444; line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
2222
.content .subtitle { color: #888; font-size: 0.95rem; margin-bottom: 3rem; }
2323
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: #e0e0e0; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; margin-bottom: 2rem; }
@@ -232,4 +232,4 @@ <h2>Math</h2>
232232
<footer><p>C++ Mode for Processing</p></footer>
233233
<script src="../assets/nav.js"></script>
234234
</body>
235-
</html>
235+
</html>

regen.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def build_page_sidebar(active_id=""):
151151
.category a:hover { color: #111; background: #f8f8f8; }
152152
.category a.active { color: #111; font-weight: 500; background: #f4f4f4; }
153153
.content { flex: 1; padding: 3rem 4rem; max-width: 900px; }
154-
.content h1 { font-size: 1.8rem; font-weight: 600; margin-bottom: 0.75rem; }
154+
.content h1 { font-size: 1.8rem; font-weight: 600; margin-bottom: 0.75rem; color: #e8b400; }
155155
.preview-wrap { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; margin-bottom: 2rem; display: inline-block; }
156156
.preview-wrap iframe { display: block; border: none; }
157157
.code-block { background: #f8f8f8; border-radius: 8px; overflow: hidden; }
@@ -322,12 +322,12 @@ def build_examples_gallery(manifest, sections):
322322

323323
gallery_css = '''
324324
.gallery-intro { margin-bottom: 2.5rem; }
325-
.gallery-intro h1 { font-size: 1.8rem; font-weight: 600; margin-bottom: 0.5rem; }
325+
.gallery-intro h1 { font-size: 1.8rem; font-weight: 600; margin-bottom: 0.5rem; color: #e8b400; }
326326
.gallery-intro p { color: #555; }
327327
.gallery-section-group { margin-bottom: 2rem; }
328-
.gallery-section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid #111; }
328+
.gallery-section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid #111; color: #e8b400; }
329329
.gallery-section { margin-bottom: 3rem; }
330-
.gallery-section h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #e0e0e0; }
330+
.gallery-section h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #e0e0e0; color: #b8860b; }
331331
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem; }
332332
.gallery-card { display: block; }
333333
.gallery-thumb { width: 100%; background: #111; border-radius: 6px; overflow: hidden; border: 1px solid #e0e0e0; line-height: 0; }

whats-new/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
#site-sidebar a:hover { color: #111; }
1717
#site-sidebar a.active { color: #111; font-weight: 500; }
1818
.content { flex: 1; padding: 3rem 4rem; max-width: 900px; }
19-
.content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
19+
.content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; color: #e8b400; }
20+
.content h2 { color: #b8860b; }
2021
.prelude { font-size: 1rem; color: #555; line-height: 1.8; margin-bottom: 3rem; max-width: 640px; }
2122
.prelude strong { color: #111; }
2223
.prelude code { font-family: "SF Mono","Fira Code",monospace; background: #f4f4f4; padding: 1px 5px; border-radius: 3px; font-size: 13px; }

0 commit comments

Comments
 (0)