Skip to content

Commit 5e7a452

Browse files
committed
style: enhance social links layout and button styles for better alignment and appearance
1 parent 5219482 commit 5e7a452

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

_layouts/default.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,26 +154,27 @@
154154

155155
.social-links {
156156
display: flex;
157-
justify-content: start;
158-
gap: 0.5rem;
157+
justify-content: space-around;
159158
margin-top: 1.5rem;
160-
padding: 0 0.5rem;
159+
padding: 0.5rem;
160+
border-top: 1px solid rgba(0,0,0,0.1);
161161
}
162162

163163
.social-links a {
164164
color: var(--text-color);
165-
font-size: 1rem;
166-
padding: 0.25rem;
165+
font-size: 0.9rem;
166+
width: 28px;
167+
height: 28px;
167168
display: flex;
168169
align-items: center;
169170
justify-content: center;
170-
transition: color 0.3s ease;
171+
border-radius: 50%;
172+
transition: all 0.3s ease;
171173
}
172174

173175
.social-links a:hover {
174176
color: var(--secondary-color);
175-
transform: none;
176-
background: none;
177+
background: rgba(52, 152, 219, 0.1);
177178
}
178179

179180
.button {

0 commit comments

Comments
 (0)