i18n
xaoxuu 5 years ago
parent 167c26c3bd
commit f11baf42ba
  1. 2
      _config.yml
  2. 16
      source/less/_base.less

@ -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/
############################### 主题样式 ###############################

@ -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;

Loading…
Cancel
Save