Skip to content

Commit 04f124e

Browse files
committed
Small more changes in LinksEffects
1 parent 676a161 commit 04f124e

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

assets/css/linkeffects.css

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
}
1818

1919
.mt-link-effect-s1::before {
20-
margin-right: 10px;
20+
margin-right: 0;
2121
content: '[';
2222
-webkit-transform: translateX(20px);
2323
-moz-transform: translateX(20px);
2424
transform: translateX(20px);
2525
}
2626

2727
.mt-link-effect-s1::after {
28-
margin-left: 10px;
28+
margin-left: 0;
2929
content: ']';
3030
-webkit-transform: translateX(-20px);
3131
-moz-transform: translateX(-20px);
@@ -52,7 +52,7 @@
5252
position: relative;
5353
display: inline-block;
5454
padding: 0 14px;
55-
background: #2195de;
55+
background-color: #2195de;
5656
-webkit-transition: -webkit-transform 0.3s;
5757
-moz-transition: -moz-transform 0.3s;
5858
transition: transform 0.3s;
@@ -71,7 +71,6 @@
7171
width: 100%;
7272
height: 100%;
7373
text-align: center;
74-
background: #0965a0;
7574
content: attr(data-hover);
7675
-webkit-transition: background 0.3s;
7776
-moz-transition: background 0.3s;
@@ -390,7 +389,7 @@
390389
width: 100%;
391390
height: 100%;
392391
background: #fff;
393-
color: #0f7c67;
392+
color: currentColor;
394393
content: attr(data-hover);
395394
-webkit-transition: -webkit-transform 0.3s;
396395
-moz-transition: -moz-transform 0.3s;
@@ -515,12 +514,12 @@
515514
}
516515

517516
.mt-link-effect-s14.mt-link-effect {
518-
padding: 0 20px;
519517
display: initial;
520518
}
521519

522520
.mt-link-effect-s14.mt-link-effect .link-text {
523521
position: relative;
522+
padding: 0 15px;
524523
}
525524

526525
.mt-link-effect-s14.mt-link-effect span::before,
@@ -598,9 +597,9 @@
598597

599598
.mt-link-effect-s15.mt-link-effect:hover span::before,
600599
.mt-link-effect-s15.mt-link-effect:focus span::before {
601-
-webkit-transform: scale(0.9);
602-
-moz-transform: scale(0.9);
603-
transform: scale(0.9);
600+
-webkit-transform: scale(.7);
601+
-moz-transform: scale(.7);
602+
transform: scale(.7);
604603
opacity: 0;
605604
}
606605

0 commit comments

Comments
 (0)