i18n
xaoxuu 6 years ago
parent 89714e1974
commit 5046a8b339
  1. 4
      _config.yml
  2. 12
      source/less/_article.less
  3. 2
      source/less/_footer.less
  4. 11
      source/less/_main.less

@ -35,8 +35,8 @@ widgets:
musicid: 746319661 # 歌单id
# 显示友链
links:
- name: xaoxuu
url: https://xaoxuu.com
- name: xaoxuu's blog
url: https://blog.xaoxuu.com
# 显示目录(在文章中设置toc:false可以隐藏单篇文章的目录)
toc: true

@ -4,18 +4,6 @@
line-height: @lineheight_base;
word-break: break-all;
word-wrap: break-word;
em {
position: relative;
&:before {
position: absolute;
top: 0.65em;
left: 0;
width: 100%;
overflow: hidden;
white-space: nowrap;
content: "・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・";
}
}
img {
position: relative;
margin: 0 auto;

@ -13,7 +13,7 @@
text-decoration: underline;
}
.codename {
color: @color_vue;
// color: @color_vue;
text-decoration: underline;
}
.social-wrapper {

@ -146,14 +146,8 @@
}
img,
.highlight {
width:~"calc(100% + 2 * @{gap})";
// margin-left: -@gap;
// margin-right: -@gap;
// max-width: none;
// @media(max-width:@on_phone) {
// padding-left: @gap;
// padding-right: @gap;
// }
// width:~"calc(100% + 2 * @{gap})";
// display: block;
}
.highlight{
margin-left: 0*@gap;
@ -281,6 +275,7 @@
}
img {
display: block;
max-width: 100%;
}
}

Loading…
Cancel
Save