Permalink
Browse files

add: variable for opacity 局部透明度

  • Loading branch information...
MOxFIVE committed Mar 2, 2016
1 parent 6cdbfca commit 472df0576a6554b026a102e6d61923fb4655fae0
@@ -331,7 +331,7 @@
font-size: .9em;
line-height: 1em;
transition: background 0.3s;
opacity: 0.6;
opacity: i-opacity;
&:hover {
background: hover-color;
opacity: 1;
@@ -350,7 +350,7 @@
width: 100%;
height: 2.5em;
margin: 1em auto;
background: rgba(158, 188, 226, .6);
background: rgba(158, 188, 226, i-opacity);
&:hover {
background: #93b5e0;
}
@@ -9,7 +9,7 @@
margin 0 2px 6px
font 23px FontAwesome
background #6f7170
opacity .58
opacity i-opacity
text-align center
box-shadow 1px 2px 2px rgba(0,0,0, .1), 1px 1px 3px rgba(0,0,0, .3)
a
@@ -239,7 +239,7 @@
position:relative;
border-radius:0 5px 5px 0;
margin: 5px 9px 5px 8px;
opacity: 0.8;
opacity: i-opacity;
font-family: inherit;
&:hover{
opacity: 1;
@@ -69,4 +69,5 @@ mid-col-color = rgba(255,255,255,.8)
article-color = rgba(255,255,255,.45)
archives-color = rgba(255,255,255,.4)
root-url = hexo-config("root_url")
root-url = hexo-config("root_url")
i-opacity = .75

0 comments on commit 472df05

Please sign in to comment.