i18n
xaoxuu 6 years ago
parent ac6f50f6a7
commit 0828d5452b
  1. 12
      source/less/_article.less
  2. 39
      source/less/_main.less

@ -177,7 +177,7 @@
margin-right: 7px; margin-right: 7px;
} }
} }
} }
pre { pre {
display: block; display: block;
@ -333,6 +333,12 @@
padding: 1.5em 0; padding: 1.5em 0;
border-radius: 8px; border-radius: 8px;
border: 1px solid transparent;
.enable-trans();
&:hover{
border: 1px solid fade(@theme-bg-quote, 50%);
}
.gutter{ .gutter{
color: #999999; color: #999999;
width: 24px; width: 24px;
@ -341,6 +347,10 @@
text-align: right; text-align: right;
border-width: 0; border-width: 0;
background-color: darken(@theme-bg-main, 5%); background-color: darken(@theme-bg-main, 5%);
&:hover{
}
} }
.code{ .code{
padding-left: 8px; padding-left: 8px;

@ -29,24 +29,21 @@
&:hover{ &:hover{
border: 1px solid fade(@theme-bg-quote, 70%); border: 1px solid fade(@theme-bg-quote, 70%);
} }
.vcontrol{
.col.col-80.text-right{ }
.vsubmit.vbtn{ button{
border: none; border: none;
padding-left: 2.4em; padding-left: 2.4em;
padding-right: 2.4em; padding-right: 2.4em;
background-color: fade(@theme-bg-header, 90%); background-color: fade(@theme-bg-header, 90%);
color: @theme-text-in-header; color: @theme-text-in-header;
border-radius: @border-radius-width/2; border-radius: @border-radius-width/2;
.enable-trans(); .enable-trans();
&:hover { &:hover {
background: darken(@theme-bg-header, 10%); background: darken(@theme-bg-header, 10%);
} }
&:active { &:active {
background: lighten(@theme-bg-header, 20%); background: lighten(@theme-bg-header, 20%);
}
}
}
} }
} }
} }
@ -216,12 +213,8 @@
padding-left: @gap; padding-left: @gap;
padding-right: @gap; padding-right: @gap;
width:~"calc(100% - 0 * @{gap})"; width:~"calc(100% - 0 * @{gap})";
border: 1px solid transparent;
.enable-trans();
&:hover{
border: 1px solid fade(@theme-bg-quote, 50%);
}
} }
img { img {
max-width: 100%; max-width: 100%;
} }

Loading…
Cancel
Save