i18n
xaoxuu 6 years ago
parent 0828d5452b
commit 0aaec10fce
  1. 11
      source/less/_base.less
  2. 2
      source/less/_toc.less

@ -293,19 +293,26 @@ li {
display: inline-block; display: inline-block;
padding: 0 8px; padding: 0 8px;
color: @black; color: @black;
border-left: 2px solid transparent; border-left: 4px solid transparent;
background: transparent; background: transparent;
border-right: 1px solid transparent;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
border-radius: 4px;
.enable-trans(); .enable-trans();
&:hover { &:hover {
border-left: 4px solid @theme-bg-quote; border-left: 4px solid @theme-bg-quote;
padding: 8px; padding: 8px;
border-radius: 4px;
background: fade(@theme-bg-quote, 10%); background: fade(@theme-bg-quote, 10%);
} }
&:active { &:active {
border-radius: 8px; border-radius: 8px;
border-left: 8px solid @theme-bg-quote; border-left: 8px solid @theme-bg-quote;
border-right: 1px solid fade(@theme-bg-quote, 50%);
border-top: 1px solid fade(@theme-bg-quote, 50%);
border-bottom: 1px solid fade(@theme-bg-quote, 50%);
} }
} }
} }

@ -54,7 +54,7 @@
background: @theme-bg-card; background: @theme-bg-card;
a { a {
padding-left: 8px; padding-left: 8px;
color: fade(@theme-text-main, 60%); color: fade(@theme-text-main, 50%);
font-size: @small-font-size; font-size: @small-font-size;
display: inline-block; display: inline-block;
border-left: 4px solid transparent; border-left: 4px solid transparent;

Loading…
Cancel
Save