mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
feat: make header of sidebar centered
This commit is contained in:
parent
c1fcec95a6
commit
2b093af6c5
@ -213,7 +213,7 @@
|
|||||||
.social-menu {
|
.social-menu {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
|
|
||||||
.site-avatar {
|
.site-avatar {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0;
|
margin: 0 auto;
|
||||||
width: var(--sidebar-avatar-size);
|
width: var(--sidebar-avatar-size);
|
||||||
height: var(--sidebar-avatar-size);
|
height: var(--sidebar-avatar-size);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
@ -131,7 +131,7 @@
|
|||||||
|
|
||||||
.site-name {
|
.site-name {
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
margin: 0;
|
margin: 0 auto;
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
|
|
||||||
@include respond(2xl) {
|
@include respond(2xl) {
|
||||||
@ -142,7 +142,8 @@
|
|||||||
.site-description {
|
.site-description {
|
||||||
color: var(--body-text-color);
|
color: var(--body-text-color);
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin: 0;
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
|
|
||||||
@include respond(2xl) {
|
@include respond(2xl) {
|
||||||
|
Loading…
Reference in New Issue
Block a user