i18n
xaoxuu 5 years ago
parent 5f80611c80
commit 354b9082e4
  1. 2
      _config.yml
  2. 3
      layout/_partial/meta.ejs
  3. 10
      source/less/_main.less
  4. 1
      source/less/_normalize.less

@ -8,7 +8,7 @@ info:
name: Material X
docs: https://xaoxuu.com/wiki/material-x/
# 主题的CDN地址。如需启用CDN,请在主目录的config中设置,详见文档。
cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.2.23/
cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.2.24/
############################### 主题样式 ###############################

@ -10,6 +10,9 @@
aplayer_server: post.music.server, aplayer_type: post.music.type, aplayer_id: post.music.id,
aplayer_volume: '0.7', aplayer_autoplay: false }) %>
<% } %>
<% if(post.logo && post.logo.length){ %>
<a title='<%- post.title %>' href='<%- url_for(post.path) %>'><img class='logo' src='<%- post.logo %>'></a>
<% } %>
<div class="meta" id="header-meta">
<% if(isPostList){ %>
<h2 class="title">

@ -292,7 +292,7 @@
margin-bottom: 0.5*@gap;
}
font-size: @fontsize_small * .95;
.aplayer{
.aplayer,.logo{
.enable-trans();
width: 65px;
height: 65px;
@ -313,7 +313,13 @@
}
}
}
.logo{
border-radius: 4px;
&:hover {
border-radius: 4px;
transform: scale(1.1) rotate(4deg);
}
}
.title {
// left: 0;
text-align: @text_align_h1;

@ -427,6 +427,7 @@ table {
}
td,
th {
text-align: justify;
padding: 4px 8px;
border: 1px solid @theme_background;
}

Loading…
Cancel
Save