-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 2.48 KB
/
index.html
1
<!doctype html><html lang=en><meta charset=UTF-8><title>Elone Unshrugged</title><style>body{background-color:#000;background-image:url(bg2.jpeg);background-position:top center;background-size:contain;background-repeat:no-repeat;color:#cecece;font-family:"Helvetica Neue",Helvetica,sans-serif;font-weight:300;font-size:21px;text-align:center}.rn{margin:10px auto}.rn>div{border:solid 1px #444;border-radius:3px;display:inline-block;height:45px;margin:2px;vertical-align:middle;width:6px}.rn>div.ch{outline:solid 2px #060}.rn>span{padding-right:20px}.lum-0{background-color:transparent}.lum-1{background-color:#e36414}.lum-2{background-color:#9a031e}.r>div{background:azure;display:inline-block;height:auto;border:solid 1px gray;width:34px;vertical-align:middle}.r>div:nth-child(1){background:#7fffd4;display:inline-block;height:30px;outline:solid 1px gray;width:60px}.r{white-space:nowrap}.example{font-size:16px}.example>div{border:solid 1px #444;border-radius:3px;display:inline-block;margin:2px;padding:4px 6px}.d{font-size:18px}.bv{font-size:16px}table{width:100%}td:nth-child(1){text-align:right}td:nth-child(2){width:320px}td:nth-child(3){text-align:left}</style><br><br><br><br><br><br><div class=i>for someone who works 80 to 100 hours per week and demands their employees to do at least 40,<br>mr musk is spending too much time shitposting on the bird app.</div><br><div class=example><div class=lum-0>0</div><div class=lum-1>1-5</div><div class=lum-2>6+</div>[re]tweets/likes per hour. All dates are UTC.<br><small>(No likes data before 7th of November)</small></div><table id=charts></table><br><div class=d>this post was made by no gods no masters gang</div><br><div class=d>be gay do crime</div><script>const xhr=new XMLHttpRequest;xhr.onload=()=>{const e=JSON.parse(xhr.responseText),t=document.getElementById("charts");e.forEach(n=>{let r=document.createElement("tr"),e=document.createElement("td"),s=document.createElement("td"),c=(e.innerText=n.d.substring(5).replace("-","/"),r.appendChild(e),s.setAttribute("class","rn"),0);for(let t=0;t<24;t++){const r=t<10?"0"+t.toString():t.toString();var d=document.createElement("div");const o=n.c[r];0<o&&c++;let e="lum-"+(0<o?o<6?"1":"2":"0");(new Date).toISOString().substring(0,10)===n.d&&(new Date).toISOString().substring(11,13)===r&&(e+=" ch"),d.setAttribute("class",e),s.appendChild(d)}r.appendChild(s);let o=document.createElement("td");o.setAttribute("class","bv"),o.innerText=c+" hours",r.appendChild(o),t.prepend(r)})},xhr.open("GET","./counters.json"),xhr.send()</script>