feat: make header of sidebar centered

This commit is contained in:
adolphlwq 2022-05-28 19:20:02 +08:00
parent c1fcec95a6
commit 2b093af6c5
2 changed files with 5 additions and 4 deletions

View File

@ -213,7 +213,7 @@
.social-menu {
list-style: none;
padding: 0;
margin: 0;
margin: 0 auto;
display: flex;
flex-direction: row;
gap: 10px;

View File

@ -95,7 +95,7 @@
.site-avatar {
position: relative;
margin: 0;
margin: 0 auto;
width: var(--sidebar-avatar-size);
height: var(--sidebar-avatar-size);
flex-shrink: 0;
@ -131,7 +131,7 @@
.site-name {
color: var(--accent-color);
margin: 0;
margin: 0 auto;
font-size: 1.6rem;
@include respond(2xl) {
@ -142,7 +142,8 @@
.site-description {
color: var(--body-text-color);
font-weight: normal;
margin: 0;
margin: 0 auto;
text-align: center;
font-size: 1.4rem;
@include respond(2xl) {