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/ docs: https://xaoxuu.com/wiki/material-x/
cdn: # 把对应的那一行注释掉就使用本地的文件 cdn: # 把对应的那一行注释掉就使用本地的文件
css: 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: js:
app: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.10/js/app.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 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 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}) %> <%- partial('_partial/header', null, {cache: !config.relative_link, path: path}) %>
<% } %> <% } %>
<div class="l_body"> <div class="l_body">
<div class='body-wrapper clearfix'> <div class='body-wrapper'>
<%- body %> <%- body %>
<script>setLoadingBarProgress(60);</script> <script>setLoadingBarProgress(60);</script>
</div> </div>

@ -78,13 +78,6 @@ fancybox{
line-height: @fontsize_h1*2.2; line-height: @fontsize_h1*2.2;
} }
} }
&.half{
height: ~"calc(60vh - @{gap} - @{height_navbar})";
.title, .logo{
margin-top: ~"calc(20vh - 2*@{gap})";
}
}
.m_search{ .m_search{
margin-top: 2vh; margin-top: 2vh;
position: relative; 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{ &, a{
color: @theme_main; color: @theme_main;
} }

Loading…
Cancel
Save