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ů.
|
- html {
- height: 100%;
- overflow-x: hidden;
- overflow-y: hidden;
- color: #eee;
- }
-
- body {
- background: #111;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- height: 100%;
- width: 100%;
- }
-
- .entity {
- position: absolute;
- left: 50%;
- top: 50%;
- --height: 100px;
- width: 50px;
- background-color: red;
- height: var(--height);
- text-align: center;
- }
-
- .entity.selected {
- box-shadow: 10px 10px 5px grey;
- }
-
- #world {
- min-width: 90vw;
- min-height: 80vh;
- }
-
- #menubar {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- min-height: 10vh;
- min-width: 100vw;
- background: #222;
- }
-
- .menu-item {
- font-size: 24px;
- color: #ccc;
- }
-
- #display {
- width: 100%;
- height: 100%;
- background: #333;
- }
|