Update README.md
Browse files
README.md
CHANGED
|
@@ -17,20 +17,32 @@ tags:
|
|
| 17 |
- [ ] 12M million dataset finetune (planned)
|
| 18 |
|
| 19 |
<style>
|
| 20 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
font-family: 'Arial Black', 'Helvetica', sans-serif;
|
| 22 |
font-size: 72px;
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
| 34 |
}
|
| 35 |
|
| 36 |
.sigma {
|
|
@@ -61,9 +73,41 @@ tags:
|
|
| 61 |
}
|
| 62 |
</style>
|
| 63 |
|
| 64 |
-
<
|
| 65 |
-
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
|
| 68 |
|
| 69 |
## Example Outputs
|
|
|
|
| 17 |
- [ ] 12M million dataset finetune (planned)
|
| 18 |
|
| 19 |
<style>
|
| 20 |
+
.parallax-container {
|
| 21 |
+
position: relative;
|
| 22 |
+
overflow: hidden;
|
| 23 |
+
height: 120px;
|
| 24 |
+
margin: 20px 0;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.text-layer {
|
| 28 |
+
position: absolute;
|
| 29 |
+
width: 100%;
|
| 30 |
+
text-align: center;
|
| 31 |
font-family: 'Arial Black', 'Helvetica', sans-serif;
|
| 32 |
font-size: 72px;
|
| 33 |
+
font-weight: bold;
|
| 34 |
+
transition: transform 0.1s ease-out;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.text-base {
|
| 38 |
+
color: #ff71ce;
|
| 39 |
+
text-shadow: 2px 2px 0 #ff00ff;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.text-overlay {
|
| 43 |
+
color: #01cdfe;
|
| 44 |
+
text-shadow: -2px -2px 0 #00ffff;
|
| 45 |
+
opacity: 0.8;
|
| 46 |
}
|
| 47 |
|
| 48 |
.sigma {
|
|
|
|
| 73 |
}
|
| 74 |
</style>
|
| 75 |
|
| 76 |
+
<div class="parallax-container">
|
| 77 |
+
<div class="text-layer text-base">
|
| 78 |
+
Proteus<span class="sigma">Σ</span>
|
| 79 |
+
</div>
|
| 80 |
+
<div class="text-layer text-overlay">
|
| 81 |
+
Proteus<span class="sigma">Σ</span>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
|
| 85 |
+
<script>
|
| 86 |
+
document.addEventListener('scroll', function() {
|
| 87 |
+
const scrolled = window.pageYOffset || document.documentElement.scrollTop;
|
| 88 |
+
const overlay = document.querySelector('.text-overlay');
|
| 89 |
+
const base = document.querySelector('.text-base');
|
| 90 |
+
|
| 91 |
+
// Create parallax effect
|
| 92 |
+
const moveX = scrolled * 0.1;
|
| 93 |
+
const moveY = scrolled * 0.05;
|
| 94 |
+
|
| 95 |
+
overlay.style.transform = `translate(${moveX}px, ${moveY}px)`;
|
| 96 |
+
base.style.transform = `translate(${-moveX * 0.5}px, ${-moveY * 0.5}px)`;
|
| 97 |
+
});
|
| 98 |
+
|
| 99 |
+
// Add mouse movement effect
|
| 100 |
+
document.addEventListener('mousemove', function(e) {
|
| 101 |
+
const overlay = document.querySelector('.text-overlay');
|
| 102 |
+
const base = document.querySelector('.text-base');
|
| 103 |
+
|
| 104 |
+
const moveX = (e.clientX - window.innerWidth/2) * 0.01;
|
| 105 |
+
const moveY = (e.clientY - window.innerHeight/2) * 0.01;
|
| 106 |
+
|
| 107 |
+
overlay.style.transform = `translate(${moveX}px, ${moveY}px)`;
|
| 108 |
+
base.style.transform = `translate(${-moveX * 0.5}px, ${-moveY * 0.5}px)`;
|
| 109 |
+
});
|
| 110 |
+
</script>
|
| 111 |
|
| 112 |
|
| 113 |
## Example Outputs
|