Skip to content

Commit 02745a2

Browse files
Copilotmvadari
andcommitted
Match category page headings style to main page with count at bottom
Co-authored-by: mvadari <8029314+mvadari@users.noreply.github.com>
1 parent 2477d72 commit 02745a2

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

site/assets/style.css

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -313,20 +313,6 @@ main { min-height: calc(100vh - 200px); padding: 48px 0; }
313313
font-size: 12px;
314314
}
315315

316-
/* Category header for individual category pages */
317-
.category-header {
318-
display: flex;
319-
align-items: center;
320-
gap: 16px;
321-
margin-bottom: 16px;
322-
}
323-
324-
.category-meta {
325-
display: flex;
326-
align-items: center;
327-
gap: 12px;
328-
}
329-
330316
.category-description {
331317
margin: 16px 0 24px 0;
332318
padding: 16px;

site/templates/category.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@
1313
{% block content %}
1414
<!-- Category introduction section -->
1515
<div class="intro">
16-
<div class="category-header">
17-
<h2>{{ category.title() }} XLS Standards</h2>
18-
<div class="category-meta">
19-
<span class="count">{{ category_docs|length }} standard{{ 's' if category_docs|length != 1 else '' }}</span>
20-
</div>
21-
</div>
16+
<h2>{{ category.title() }} XLS Standards</h2>
2217

2318
<!-- Category description -->
2419
<div class="category-description">
@@ -33,6 +28,8 @@ <h2>{{ category.title() }} XLS Standards</h2>
3328
{% endif %}
3429
</div>
3530

31+
<p>{{ category.title() }} standards: <strong>{{ category_docs|length }}</strong></p>
32+
3633
<!-- Navigation to other categories -->
3734
<div class="category-nav">
3835
<h3>Browse by Category:</h3>

0 commit comments

Comments
 (0)