Skip to content

Commit 3edefdb

Browse files
committed
flowers
1 parent 45350ef commit 3edefdb

File tree

2 files changed

+62
-7
lines changed

2 files changed

+62
-7
lines changed

css/nyc.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,48 @@
1313
padding: 0 0.2em;
1414
}
1515

16+
/* Table of Contents */
17+
.toc {
18+
margin-bottom: 2rem;
19+
}
20+
.toc h2 {
21+
font-size: 18px;
22+
font-weight: 600;
23+
text-transform: lowercase;
24+
letter-spacing: 3px;
25+
color: #f8f8f6;
26+
margin-bottom: 0.5rem;
27+
}
28+
.toc ul {
29+
list-style: none;
30+
padding: 0;
31+
}
32+
.toc li {
33+
margin-bottom: 0.25rem;
34+
position: relative;
35+
padding-left: 2em;
36+
}
37+
.toc li::before {
38+
content: "✿";
39+
position: absolute;
40+
left: 0;
41+
}
42+
.toc li:nth-child(2)::before { content: "❀"; }
43+
.toc li:nth-child(3)::before { content: "✾"; }
44+
.toc li:nth-child(4)::before { content: "❁"; }
45+
.toc li:nth-child(5)::before { content: "✽"; }
46+
.toc li:nth-child(6)::before { content: "✻"; }
47+
.toc li:nth-child(7)::before { content: "❋"; }
48+
.toc a {
49+
color: #dbeafe;
50+
text-decoration: none;
51+
text-transform: lowercase;
52+
letter-spacing: 2px;
53+
}
54+
.toc a:hover {
55+
text-decoration: underline;
56+
}
57+
1658
/* ── Layout ── */
1759
.page {
1860
max-width: 960px;

nyc.html

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ <h1>nyc weekend guide <img class="header-img" src="assets/images/flower.svg" alt
1616
<p>A personal guide to Brooklyn and Manhattan — food, nightlife, parks, and where to stay.</p>
1717
</header>
1818

19+
<nav class="toc">
20+
<h2>Table of Contents</h2>
21+
<ul>
22+
<li><a href="#where-to-stay">Where to stay</a></li>
23+
<li><a href="#williamsburg-greenpoint">Williamsburg / Greenpoint</a></li>
24+
<li><a href="#downtown-brooklyn">Downtown Brooklyn / Brooklyn Heights / Fort Greene</a></li>
25+
<li><a href="#bushwick">Bushwick</a></li>
26+
<li><a href="#manhattan-east-chinatown">Manhattan — East Chinatown / LES</a></li>
27+
<li><a href="#manhattan-koreatown">Manhattan — Koreatown</a></li>
28+
<li><a href="#manhattan-anywhere">Wherever you happen to be in Manhattan</a></li>
29+
</ul>
30+
</nav>
31+
1932

2033

2134
<div class="intro-note">
@@ -28,7 +41,7 @@ <h1>nyc weekend guide <img class="header-img" src="assets/images/flower.svg" alt
2841
<!-- ══ WHERE TO STAY ══ -->
2942
<div class="section">
3043
<div class="section-header">
31-
<h2>Where to stay</h2>
44+
<h2 id="where-to-stay">Where to stay</h2>
3245
<span class="section-tag tag-stay">Neighborhoods</span>
3346
</div>
3447
<div class="cards">
@@ -59,7 +72,7 @@ <h2>Where to stay</h2>
5972
<!-- ══ WILLIAMSBURG / GREENPOINT ══ -->
6073
<div class="section">
6174
<div class="section-header">
62-
<h2>Williamsburg / Greenpoint</h2>
75+
<h2 id="williamsburg-greenpoint">Williamsburg / Greenpoint</h2>
6376
<span class="section-tag tag-gp">Brooklyn</span>
6477
</div>
6578

@@ -184,7 +197,7 @@ <h2>Williamsburg / Greenpoint</h2>
184197
<!-- ══ DOWNTOWN BROOKLYN ══ -->
185198
<div class="section">
186199
<div class="section-header">
187-
<h2>Downtown Brooklyn / Brooklyn Heights / Fort Greene</h2>
200+
<h2 id="downtown-brooklyn">Downtown Brooklyn / Brooklyn Heights / Fort Greene</h2>
188201
<span class="section-tag tag-dtbk">Brooklyn</span>
189202
</div>
190203
<div class="cards">
@@ -234,7 +247,7 @@ <h2>Downtown Brooklyn / Brooklyn Heights / Fort Greene</h2>
234247
<!-- ══ BUSHWICK ══ -->
235248
<div class="section">
236249
<div class="section-header">
237-
<h2>Bushwick</h2>
250+
<h2 id="bushwick">Bushwick</h2>
238251
<span class="section-tag tag-bush">All the nightlife is here</span>
239252
</div>
240253

@@ -330,7 +343,7 @@ <h2>Bushwick</h2>
330343
<!-- ══ MANHATTAN — CHINATOWN / LES ══ -->
331344
<div class="section">
332345
<div class="section-header">
333-
<h2>Manhattan — East Chinatown / LES</h2>
346+
<h2 id="manhattan-east-chinatown">Manhattan — East Chinatown / LES</h2>
334347
<span class="section-tag tag-mht">Manhattan</span>
335348
</div>
336349
<div class="cards">
@@ -433,7 +446,7 @@ <h2>Manhattan — East Chinatown / LES</h2>
433446
<!-- ══ K-TOWN ══ -->
434447
<div class="section">
435448
<div class="section-header">
436-
<h2>Manhattan — Koreatown night</h2>
449+
<h2 id="manhattan-koreatown">Manhattan — Koreatown night</h2>
437450
<span class="section-tag tag-ktown">K-Town · Midtown</span>
438451
</div>
439452
<div class="cards">
@@ -467,7 +480,7 @@ <h2>Manhattan — Koreatown night</h2>
467480
<!-- ══ ELSEWHERE IN MANHATTAN ══ -->
468481
<div class="section">
469482
<div class="section-header">
470-
<h2>Manhattan extras</h2>
483+
<h2 id="manhattan-anywhere">Wherever you happen to be in Manhattan</h2>
471484
<span class="section-tag tag-xtra">Convenient spots</span>
472485
</div>
473486
<div class="cards">

0 commit comments

Comments
 (0)