Switch board.css to use rem instead of em
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
764a85ea38
commit
001b26825d
@ -38,8 +38,8 @@
|
||||
z-index: 50; /* Above Tile (5,10), Road (12), Corner (20) */
|
||||
position: absolute;
|
||||
background-size: 600% auto; /* pip-numbers is a 6x6 grid of pip images */
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
@ -82,8 +82,8 @@
|
||||
align-items: center;
|
||||
justify-items: center;
|
||||
box-sizing: border-box;
|
||||
width: 1.5em;
|
||||
height: 1.5em;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
transform: translate(-50%, -50%);
|
||||
pointer-events: none;
|
||||
}
|
||||
@ -113,8 +113,8 @@
|
||||
justify-items: center;
|
||||
box-sizing: border-box;
|
||||
transform-origin: 50% 0;
|
||||
width: 0.5em;
|
||||
height: 2.5em;
|
||||
width: 0.5rem;
|
||||
height: 2.5rem;
|
||||
z-index: 11; /* Above Tile, below Corner */
|
||||
pointer-events: none;
|
||||
}
|
||||
@ -163,8 +163,8 @@
|
||||
}
|
||||
|
||||
.Robber .Pip-Shape {
|
||||
top: -2em;
|
||||
left: -2em;
|
||||
top: -2rem;
|
||||
left: -2rem;
|
||||
clip-path: circle(50%);
|
||||
transform: scale(0.45);
|
||||
background-color:#e7c099;
|
||||
|
Loading…
x
Reference in New Issue
Block a user