-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
9 lines (5 loc) · 1.08 KB
/
template.html
1
2
3
4
5
6
7
8
9
<!DOCTYPE html><html class="no-js" lang="pl"><head><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="width=device-width, initial-scale=1"><title>{PREFIX :: CLASS}</title><meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
{HTMLSTYLE}
<style>body{margin:0}.card {display:flex;justify-content:center;align-items:center;height:100vh;margin:auto}.card-body{overflow-x: scroll}.nochanges td.changed{background:transparent!important}.nochanges td b{display:none}.toggle{position: fixed;margin-top:-2.65em;background:#ff0;border: none;padding: 0.5em 1.5em;text-align:center;text-decoration:none;display:inline-block;cursor:pointer}.nochanges button{background:#999}@media (max-width:58em) {body{font-size:80%}}</style><script>function toggleClass(){const element = document.querySelector(".card");element.classList.toggle("nochanges");}</script></head><body><div class="container"><div class="card nochanges"><div class="card-body"><button class="toggle" onclick="toggleClass()">{PREFIX / CLASS}</button>
{TABLE}
</div></div></div></body></html>