i18n
xaoxuu 5 years ago
parent 94e126241d
commit 504cef8452
  1. 6
      _config.yml
  2. 2
      layout/layout.ejs
  3. 16
      source/less/_base.less

@ -4,10 +4,10 @@ info:
docs: https://xaoxuu.com/wiki/material-x/
cdn: # 把对应的那一行注释掉就使用本地的文件
css:
style: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.10/css/style.css
# style: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.10/css/style.css
js:
app: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.10/js/app.js
search: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.9/js/search.js
# app: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.10/js/app.js
search: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.10/js/search.js
volantis: https://cdn.jsdelivr.net/gh/xaoxuu/volantis@1/js/volantis.min.js

@ -15,7 +15,7 @@
<%- partial('_partial/header', null, {cache: !config.relative_link, path: path}) %>
<% } %>
<div class="l_body">
<div class='body-wrapper clearfix'>
<div class='body-wrapper'>
<%- body %>
<script>setLoadingBarProgress(60);</script>
</div>

@ -78,13 +78,6 @@ fancybox{
line-height: @fontsize_h1*2.2;
}
}
&.half{
height: ~"calc(60vh - @{gap} - @{height_navbar})";
.title, .logo{
margin-top: ~"calc(20vh - 2*@{gap})";
}
}
.m_search{
margin-top: 2vh;
position: relative;
@ -156,6 +149,15 @@ fancybox{
}
}
&.half{
height: ~"calc(60vh - @{gap} - @{height_navbar})";
.title, .logo{
margin-top: ~"calc(20vh - 2*@{gap})";
}
.m_search{
margin-top: 0;
}
}
&, a{
color: @theme_main;
}

Loading…
Cancel
Save