Permalink
Browse files

style: hover font-weight, color and scale

  • Loading branch information...
MOxFIVE committed Dec 27, 2015
1 parent 34ba468 commit 5db4784afd5e5068f7d4ed3f40101a8276eb80f4
@@ -127,9 +127,6 @@
li:hover {
background: none;
}
a:hover {
font-weight: bold;
}
}
.article-info-index.article-info{
padding-top: 20px;
@@ -340,13 +337,16 @@ line-height: 1.65em;
transition: background 0.3s;
opacity: 0.6;
&:hover {
background: #9c9;
background: hover-color;
opacity: 1;
}
&.hidden {
visibility: hidden;
}
}
&:hover {
transform: scale(1.06);
}
}
#article-nav {
@@ -355,6 +355,9 @@ line-height: 1.65em;
height: 2.5em;
margin: 1em auto;
background: rgba(158, 188, 226, .6);
&:hover {
background: #93b5e0;
}
}
.article-nav-title {
@@ -364,8 +367,7 @@ line-height: 1.65em;
color: white;
}
a:hover {
font-weight: bold;
color: #4d4d4d;
font-style: italic;
}
}
@@ -509,17 +511,13 @@ li:hover {
a {
color: gray;
&:hover {
font-weight: bold;
color: #a3d2a3;
text-decoration: underline;
}
}
&:hover p .copy-path::after {
content: "复制";
}
.post-url:hover {
font-weight: normal;
}
.copy-path {
margin-left: 1em;
&:hover {
@@ -199,7 +199,7 @@
border-radius:50%;
margin-right: 3px;
margin-bottom: 6px;
font: 21px FontAwesome;
font: 23px FontAwesome;
background: #6f7170;
opacity: .58;
text-align: center;
@@ -208,8 +208,8 @@
color: white;
}
&:hover {
font-size: 23px;
opacity: 1;
transform: scale(1.08);
}
&:nth-child(5n), &:last-child {
margin-right: 0;
@@ -243,6 +243,7 @@
font-family: inherit;
&:hover{
opacity: 1;
transform: scale(1.06);
}
&:before{
content: " ";
@@ -295,6 +296,13 @@
border-right-color:#88acdb;
}
}
a:hover {
background-color: hover-color;
border-color: hover-color;
&::before {
border-right-color: hover-color;
}
}
}
.article-tag {
&::before {
@@ -58,4 +58,6 @@ columns = main-column + _sidebar-column
// Media queries
mq-mobile = "screen and (max-width: 479px)"
mq-tablet = "screen and (min-width: 480px) and (max-width: 767px)"
mq-normal = "screen and (min-width: 768px)"
mq-normal = "screen and (min-width: 768px)"
hover-color = #9c9

0 comments on commit 5db4784

Please sign in to comment.