File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,3 +24,8 @@ Thumbs.db
2424.vscode
2525.vs
2626.idea
27+
28+ # Extras
29+ .log
30+ temp. *
31+ tmp. *
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ li.tab {
8181}
8282
8383.tabs .tab a {
84- color : # b71c1c ;
84+ color : # B71C1C ;
8585}
8686
8787.tab a .active {
@@ -90,11 +90,11 @@ li.tab {
9090
9191.tabs .tab a : focus .active {
9292 font-weight : bold;
93- background-color : # f3e5f5 ;
93+ background-color : # F3E5F5 ;
9494}
9595
9696.tabs .indicator {
97- background-color : # b71c1c ;
97+ background-color : # B71C1C ;
9898 padding : 2px ;
9999 border-radius : 2px ;
100100}
@@ -104,7 +104,7 @@ ul.collapsible {
104104}
105105
106106ul .collapsible .collapsible-body {
107- background : # eeeeee ;
107+ background : # EEE ;
108108}
109109
110110.scale-card {
@@ -170,15 +170,27 @@ h1, h2 {
170170
171171h1 {
172172 font-size : 3.5rem ;
173- color : # eee ;
173+ color : # EEE ;
174174}
175175
176176h2 {
177177 font-size : 2rem ;
178- color : # ccc ;
178+ color : # CCC ;
179+ }
180+
181+ .txt-type {
182+ color : # FF5722 ;
179183}
180184
181185/* Cursor */
182- .txt-type > .txt {
183- border-right : 0.1rem solid # ccc ;
186+ .txt-type ::after {
187+ color : # FF5722 ;
188+ content : "_" ;
189+ animation : animate-cursor 1s infinite;
190+ }
191+
192+ @keyframes animate-cursor {
193+ 75% {
194+ content : "" ;
195+ }
184196}
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ class TypeWriter {
215215 }
216216
217217 // Insert text into element
218- this . textElement . innerHTML = `<span class="txt"> ${ this . text } </span` ;
218+ this . textElement . innerHTML = this . text ;
219219
220220 // Initial type Speed
221221 let typeSpeed = 250 ;
You can’t perform that action at this time.
0 commit comments