Line 69: | Line 69: | ||
opacity:0 | opacity:0 | ||
} | } | ||
− | + | #intro>h1,#intro>h1>b{ | |
text-align:left; | text-align:left; | ||
border:none!important; | border:none!important; | ||
Line 79: | Line 79: | ||
transition:color 1s ease-in; | transition:color 1s ease-in; | ||
} | } | ||
− | + | #intro>h1>b{ | |
font-weight:400!important; | font-weight:400!important; | ||
color:#ff6427; | color:#ff6427; | ||
Line 134: | Line 134: | ||
var ch=0; | var ch=0; | ||
function typeIt() { | function typeIt() { | ||
− | if (ch > qs("[data-later]").dataset.later.length){ setTimeout(function(){qs("#intro").style.opacity = "0" | + | if (ch > qs("[data-later]").dataset.later.length){ setTimeout(function(){qs("#intro").style.opacity = "0"; qs("#afterintro").style.opacity="1";setTimeout(function(){qs("#intro").remove(); },500);},1000); return;} |
if (qs("[data-later]").dataset.later[ch] != "<") | if (qs("[data-later]").dataset.later[ch] != "<") | ||
qs("[data-later]").innerHTML = qs("[data-later]").dataset.later.substring(0, ch++); | qs("[data-later]").innerHTML = qs("[data-later]").dataset.later.substring(0, ch++); |
Revision as of 22:52, 31 October 2017