Skip to content

Commit acb595f

Browse files
committed
Update archive and tags styles for improved consistency and visual appeal
1 parent ef38cba commit acb595f

2 files changed

Lines changed: 28 additions & 23 deletions

File tree

archive.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,28 @@ permalink: /archive/
3131
padding: 1rem;
3232
background: linear-gradient(135deg, #fef7f9 0%, #fdf2f5 100%);
3333
border-radius: 0.5rem;
34-
border-left: 4px solid #de5684;
35-
box-shadow: 0 2px 4px rgba(222, 86, 132, 0.1);
34+
border-left: 4px solid #c94570;
35+
box-shadow: 0 2px 4px rgba(201, 69, 112, 0.1);
3636
transition: all 0.3s ease;
3737
}
3838

3939
.archive-item:hover {
4040
background: linear-gradient(135deg, #fdf2f5 0%, #fcecf1 100%);
41-
box-shadow: 0 4px 8px rgba(222, 86, 132, 0.15);
41+
box-shadow: 0 4px 8px rgba(201, 69, 112, 0.15);
4242
transform: translateY(-1px);
43+
border-left: 4px solid #b83d64;
4344
}
4445

4546
.archive-link {
46-
color: #de5684;
47+
color: #c94570;
4748
text-decoration: none;
4849
font-weight: 600;
4950
font-size: 1.1rem;
5051
transition: color 0.3s ease;
5152
}
5253

5354
.archive-link:hover {
54-
color: #c94570;
55+
color: #b83d64;
5556
text-decoration: underline;
5657
}
5758

@@ -64,8 +65,8 @@ permalink: /archive/
6465
}
6566

6667
h2 {
67-
color: #de5684;
68-
border-bottom: 3px solid #de5684;
68+
color: #c94570;
69+
border-bottom: 3px solid #c94570;
6970
padding-bottom: 0.75rem;
7071
margin: 2.5rem 0 1.5rem 0;
7172
font-weight: 700;
@@ -79,13 +80,13 @@ h2::after {
7980
left: 0;
8081
width: 50px;
8182
height: 3px;
82-
background: linear-gradient(90deg, #de5684 0%, #f8b2cc 100%);
83+
background: linear-gradient(90deg, #c94570 0%, #f8b2cc 100%);
8384
}
8485

8586
/* Add subtle pink accent to the page */
8687
#markdown-toc {
8788
background: linear-gradient(135deg, #fef7f9 0%, #fdf2f5 100%);
88-
border: 1px solid #de5684;
89+
border: 1px solid #c94570;
8990
border-radius: 0.5rem;
9091
padding: 1rem;
9192
}

tags.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,21 @@ permalink: /tags/
3939
{% endfor %}
4040

4141
<style>
42+
/* Tag cloud styling - matches home page exactly with important overrides */
4243
.tag-cloud {
43-
margin: 20px 0;
44-
line-height: 2;
44+
margin: 20px 0 !important;
45+
line-height: 2 !important;
4546
}
4647

4748
.tag-item {
48-
display: inline-block;
49-
margin: 5px;
49+
display: inline-block !important;
50+
margin: 5px !important;
5051
}
5152

52-
.tag-cloud .tag {
53+
/* Use exact same styling as home page post-tags - override theme completely */
54+
.tag-cloud .tag,
55+
.tag-cloud a,
56+
.tag-cloud a.tag {
5357
display: inline-block !important;
5458
background-color: #f1f3f4 !important;
5559
color: #5f6368 !important;
@@ -61,20 +65,20 @@ permalink: /tags/
6165
border: none !important;
6266
}
6367

64-
.tag-cloud .tag:hover {
68+
.tag-cloud .tag:hover,
69+
.tag-cloud a:hover,
70+
.tag-cloud a.tag:hover {
6571
background-color: #e8eaed !important;
6672
color: #202124 !important;
6773
text-decoration: none !important;
6874
}
6975

70-
/* Override theme's default tag styling */
76+
/* Remove any theme icons or decorations */
77+
.tag-cloud .tag:before,
78+
.tag-cloud a:before,
7179
.tag-cloud a.tag:before {
7280
display: none !important;
73-
}
74-
75-
.tag-cloud a.tag {
76-
background-color: #f1f3f4 !important;
77-
color: #5f6368 !important;
81+
content: none !important;
7882
}
7983

8084
.tag-posts {
@@ -88,11 +92,11 @@ permalink: /tags/
8892
padding: 0.75rem;
8993
background-color: #f8f9fa;
9094
border-radius: 0.25rem;
91-
border-left: 3px solid #de5684;
95+
border-left: 3px solid #c94570;
9296
}
9397

9498
.tag-posts li a {
95-
color: #de5684;
99+
color: #c94570;
96100
text-decoration: none;
97101
font-weight: 500;
98102
}

0 commit comments

Comments
 (0)