Skip to content

Commit c5a685b

Browse files
committed
Center project titles in cards
1 parent 5aff00e commit c5a685b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

layouts/project/list.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ <h3 class="project-title">{{ .Title }}</h3>
102102
padding: 1.5rem 1.25rem 1rem;
103103
background: linear-gradient(135deg, rgba(134, 31, 65, 0.04), rgba(229, 117, 31, 0.04));
104104
border-bottom: 1px solid rgba(134, 31, 65, 0.1);
105+
text-align: center;
105106
}
106107

107108
.project-title {
@@ -111,6 +112,7 @@ <h3 class="project-title">{{ .Title }}</h3>
111112
margin: 0;
112113
line-height: 1.3;
113114
transition: color 0.3s ease;
115+
text-align: center;
114116
}
115117

116118
.project-card:hover .project-title {

0 commit comments

Comments
 (0)