index.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  6. <title>Mol* Viewer</title>
  7. <style>
  8. * {
  9. margin: 0;
  10. padding: 0;
  11. box-sizing: border-box;
  12. }
  13. html, body {
  14. width: 100%;
  15. height: 100%;
  16. overflow: hidden;
  17. }
  18. hr {
  19. margin: 10px;
  20. }
  21. h1, h2, h3, h4, h5 {
  22. margin-top: 5px;
  23. margin-bottom: 3px;
  24. }
  25. button {
  26. padding: 2px;
  27. }
  28. #app {
  29. position: absolute;
  30. left: 100px;
  31. top: 100px;
  32. width: 800px;
  33. height: 600px;
  34. }
  35. </style>
  36. <link rel="stylesheet" type="text/css" href="app.css" />
  37. </head>
  38. <body>
  39. <div id="app"></div>
  40. <script type="text/javascript" src="./index.js"></script>
  41. </body>
  42. </html>