diff --git a/_config.yml b/_config.yml index e5e1a27..324af01 100755 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ info: name: Material X docs: https://xaoxuu.com/wiki/material-x/ - cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.3/ + cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.6/ ############################### 主题样式 ############################### diff --git a/source/less/_base.less b/source/less/_base.less index f6d90c7..a10c5f3 100755 --- a/source/less/_base.less +++ b/source/less/_base.less @@ -45,13 +45,11 @@ body { .home-cover{ top: 0; left: 0; - width: 100%; - // height: 100vh - @height_navbar - @gap; + max-width: 100%; height: ~"calc(100vh - @{gap} - @{height_navbar})"; display: flex; - flex-wrap: wrap; + flex-wrap: nowrap; flex-direction: column; - // background: white; margin-bottom: 2*@gap; align-items: center; align-self: center; @@ -59,9 +57,9 @@ body { padding: @gap; .title, .logo{ font-size: @fontsize_h1*3; - line-height: @fontsize_h1*3.2; - margin-top: 30vh; - align-self: center; + line-height: @fontsize_h1*3.3; + margin-top: 28vh; + text-align: center; font-weight: bold; } .logo{ @@ -70,14 +68,14 @@ body { } @media(max-width: @on_phone){ .title, .logo { - margin-top: 24vh; + margin-top: 20vh; font-size: @fontsize_h1*2; line-height: @fontsize_h1*2.2; } } .m_search{ - margin-top: 5vh; + margin-top: 2vh; position: relative; height: @height_navbar - @gap; width: 1.1*@width_sidebar;