button color

i18n
xaoxuu 6 years ago
parent a7339d62ab
commit 25540b4b8d
  1. 10
      source/less/_article.less
  2. 4
      source/less/_main.less

@ -184,10 +184,9 @@
margin: 0px 2px; margin: 0px 2px;
vertical-align: center; vertical-align: center;
border-radius: 2px; border-radius: 2px;
border: 1px solid fade(@theme_bg_code, 30%); border: 1px solid fade(@theme_bg_code, 50%);
font-size: @fontsize_base * .8; font-size: @fontsize_base * .8;
background: @theme_bg_code;
background: fade(@theme_bg_code, 10%);
@media(max-width: @on_phone){ @media(max-width: @on_phone){
font-size: @fontsize_base * .8 * .95; font-size: @fontsize_base * .8 * .95;
} }
@ -210,10 +209,10 @@
border-radius: @border_radius/2; border-radius: @border_radius/2;
.enable-trans(); .enable-trans();
&:hover { &:hover {
background: darken(@theme_bg_navbar, 10%); background: darken(@theme_bg_quote, 10%);
} }
&:active { &:active {
// background: darken(@theme_bg_navbar, 20%); // background: darken(@theme_bg_quote, 20%);
} }
} }
@ -227,6 +226,7 @@
margin-top: @gap; margin-top: @gap;
background: darken(fade(@theme_bg_main, 50%), 5%); background: darken(fade(@theme_bg_main, 50%), 5%);
&.article-tags { &.article-tags {
padding-top: 2*@gap;
background: transparent; background: transparent;
} }
word-spacing: @gap; word-spacing: @gap;

@ -47,10 +47,10 @@
border-radius: @border_radius/2; border-radius: @border_radius/2;
.enable-trans(); .enable-trans();
&:hover { &:hover {
background: darken(@theme_bg_navbar, 10%); background: darken(@theme_bg_quote, 10%);
} }
&:active { &:active {
// background: lighten(@theme_bg_navbar, 20%); // background: lighten(@theme_bg_quote, 20%);
} }
} }
blockquote{ blockquote{

Loading…
Cancel
Save