less copy protection, more size visualization
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

58 řádky
862 B

  1. html {
  2. height: 100%;
  3. overflow-x: hidden;
  4. overflow-y: hidden;
  5. color: #eee;
  6. }
  7. body {
  8. background: #111;
  9. display: flex;
  10. flex-direction: column;
  11. align-items: center;
  12. justify-content: flex-start;
  13. height: 100%;
  14. width: 100%;
  15. }
  16. .entity {
  17. position: absolute;
  18. left: 50%;
  19. top: 50%;
  20. --height: 100px;
  21. width: 50px;
  22. background-color: red;
  23. height: var(--height);
  24. text-align: center;
  25. }
  26. .entity.selected {
  27. box-shadow: 10px 10px 5px grey;
  28. }
  29. #world {
  30. min-width: 90vw;
  31. min-height: 80vh;
  32. }
  33. #menubar {
  34. display: flex;
  35. flex-direction: row;
  36. justify-content: center;
  37. align-items: center;
  38. min-height: 10vh;
  39. min-width: 100vw;
  40. background: #222;
  41. }
  42. .menu-item {
  43. font-size: 24px;
  44. color: #ccc;
  45. }
  46. #display {
  47. width: 100%;
  48. height: 100%;
  49. background: #333;
  50. }