Summary Files Commits Branches @commit @diff @stats
path: root / src / parallax.less
diff options
context:
space:
mode:
Commitc9e625c9dd8f1628c58b10bb165961eae068002f (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 16:30:05 +0800
Committer
 GitHub <noreply@github.com>
2017-08-15 16:30:05 +0800
Files9031e1df36c23e49deecad79df2a272b0d076270 /src/parallax.less
Spectre-Dark-Gruvbox-0.2.15.tar
Spectre-Dark-Gruvbox-0.2.15.tar.gz
Spectre-Dark-Gruvbox-0.2.15.zip
Parent846353cb40512404c5b8d27084a6fbe7b4a47d23 (diff)
Parentd6b5a13424cb56db116483f79d6253205e26757c (diff)
Merge pull request #249 from picturepan2/0.2.15 v0.2.15
0.2.15
1 files changed, 5 insertions, 5 deletions
-rw-r--r--src/parallax.less10
diff --git a/src/parallax.less b/src/parallax.less
index 9886206..e353fd4 100644
--- a/src/parallax.less
+++ b/src/parallax.less
@@ -1,8 +1,8 @@
// Parallax
@parallax-deg: 3deg;
-@parallax-offset: .65rem;
-@parallax-offset-z: 10rem;
-@parallax-perspective: 100rem;
+@parallax-offset: 6.5px;
+@parallax-offset-z: 100px;
+@parallax-perspective: 1000px;
@parallax-scale: 1 - unit(@parallax-offset-z / @parallax-perspective);
.parallax {
@@ -13,7 +13,7 @@
.parallax-content {
height: auto;
- .shadow-variant(2rem);
+ .shadow-variant(1rem);
transform: perspective(@parallax-perspective);
transform-style: preserve-3d;
transition: all .4s ease;
@@ -39,7 +39,7 @@
left: 0;
position: absolute;
text-align: center;
- text-shadow: 0 0 3rem fade(@dark-color, 95%);
+ text-shadow: 0 0 20px fade(@dark-color, 50%);
top: 0;
transform: translateZ(@parallax-offset-z) scale(@parallax-scale);
transition: all .4s ease;