dataautogpt3 commited on
Commit
787e177
·
verified ·
1 Parent(s): 288ccd9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -31
README.md CHANGED
@@ -17,36 +17,34 @@ tags:
17
  - [ ] 12M million dataset finetune (planned)
18
 
19
  <style>
20
- .parallax-container {
21
  position: relative;
22
- overflow: visible;
23
- height: 120px;
24
- margin: 20px 0;
25
- perspective: 100px;
26
  }
27
 
28
  .text-layer {
29
- position: absolute;
30
- width: 100%;
31
- text-align: center;
32
  font-family: 'Arial Black', 'Helvetica', sans-serif;
33
  font-size: 72px;
34
  font-weight: bold;
35
  white-space: nowrap;
36
- will-change: transform;
37
  }
38
 
39
  .text-base {
 
40
  color: #ff71ce;
41
  text-shadow: 2px 2px 0 #ff00ff;
42
- z-index: 1;
43
  }
44
 
45
  .text-overlay {
 
 
 
 
46
  color: #01cdfe;
47
  text-shadow: -2px -2px 0 #00ffff;
48
  opacity: 0.8;
49
- z-index: 2;
50
  }
51
 
52
  .sigma {
@@ -57,32 +55,15 @@ tags:
57
  }
58
  </style>
59
 
60
- <div class="parallax-container" id="parallax">
61
- <div class="text-layer text-base">
62
  Proteus<span class="sigma">Σ</span>
63
  </div>
64
- <div class="text-layer text-overlay">
65
  Proteus<span class="sigma">Σ</span>
66
  </div>
67
  </div>
68
 
69
- <script>
70
- const parallax = document.getElementById('parallax');
71
- const textBase = parallax.querySelector('.text-base');
72
- const textOverlay = parallax.querySelector('.text-overlay');
73
-
74
- window.addEventListener('scroll', () => {
75
- requestAnimationFrame(() => {
76
- const scrolled = window.pageYOffset;
77
- const baseOffset = scrolled * -0.2;
78
- const overlayOffset = scrolled * 0.2;
79
-
80
- textBase.style.transform = `translateY(${baseOffset}px)`;
81
- textOverlay.style.transform = `translateY(${overlayOffset}px)`;
82
- });
83
- });
84
-
85
-
86
  ## Example Outputs
87
 
88
  <style>
 
17
  - [ ] 12M million dataset finetune (planned)
18
 
19
  <style>
20
+ .logo-container {
21
  position: relative;
22
+ text-align: center;
23
+ margin: 40px 0;
 
 
24
  }
25
 
26
  .text-layer {
 
 
 
27
  font-family: 'Arial Black', 'Helvetica', sans-serif;
28
  font-size: 72px;
29
  font-weight: bold;
30
  white-space: nowrap;
 
31
  }
32
 
33
  .text-base {
34
+ position: relative;
35
  color: #ff71ce;
36
  text-shadow: 2px 2px 0 #ff00ff;
 
37
  }
38
 
39
  .text-overlay {
40
+ position: absolute;
41
+ left: 50%;
42
+ top: 50%;
43
+ transform: translate(-49%, -47%); /* Slightly offset */
44
  color: #01cdfe;
45
  text-shadow: -2px -2px 0 #00ffff;
46
  opacity: 0.8;
47
+ mix-blend-mode: screen;
48
  }
49
 
50
  .sigma {
 
55
  }
56
  </style>
57
 
58
+ <div class="logo-container">
59
+ <div class="text-layer text-overlay">
60
  Proteus<span class="sigma">Σ</span>
61
  </div>
62
+ <div class="text-layer text-base">
63
  Proteus<span class="sigma">Σ</span>
64
  </div>
65
  </div>
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  ## Example Outputs
68
 
69
  <style>