Displays a base image and an "x-ray" view of a second image where the mouse is pointing
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

93 linhas
1.1 KiB

  1. html, body {
  2. font-family: sans-serif;
  3. width: 100vw;
  4. height: 100vh;
  5. margin: 0;
  6. display: flex;
  7. flex-direction: column;
  8. background: #111;
  9. color: #ddd;
  10. }
  11. input,
  12. button {
  13. background: #111;
  14. color: #ddd;
  15. }
  16. canvas {
  17. position: absolute;
  18. }
  19. canvas.hidden {
  20. display: none;
  21. }
  22. img {
  23. display: none;
  24. }
  25. #overlay {
  26. z-index: 1;
  27. }
  28. #menu {
  29. display: flex;
  30. flex: 0 1;
  31. flex-direction: row;
  32. transition: 0.5s;
  33. flex-wrap: wrap;
  34. justify-content: center;
  35. align-items: center;
  36. }
  37. #menu.start {
  38. flex-direction: column;
  39. min-width: 100vw;
  40. min-height: 100vh;
  41. justify-content: center;
  42. }
  43. #menu.start input {
  44. font-size: 24pt;
  45. }
  46. #menu.start label,
  47. #menu.start button {
  48. font-size: 48pt;
  49. margin: 16pt;
  50. }
  51. #menu.start input {
  52. width: 80vw;
  53. }
  54. #menu.start .nostart {
  55. display: none;
  56. }
  57. #menu .onlystart {
  58. display: none;
  59. }
  60. #menu.start .onlystart {
  61. display: unset;
  62. }
  63. .large,
  64. .large > * {
  65. font-size: 24pt;
  66. }
  67. .large > input[type=number] {
  68. max-width: 72pt;
  69. }
  70. .large > input[type=checkbox] {
  71. width: 1em;
  72. height: 1em;
  73. }
  74. #fill-div {
  75. position: relative;
  76. flex: 1 0;
  77. }