X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=scribe%2Fscribe.css;h=aba532e04b0bd49f65ccb33163c96ab5d77187ba;hp=74beee91b471e5a0d7ae8f868b6cd94017e19925;hb=e79802f7979a2b3162efb0968c223f527d354410;hpb=9d3838cf4d43ab1ed1b994b24cd3aa3cb31ebc64 diff --git a/scribe/scribe.css b/scribe/scribe.css index 74beee9..aba532e 100644 --- a/scribe/scribe.css +++ b/scribe/scribe.css @@ -1,6 +1,6 @@ /* We want our board to be the largest square that can * fit. Unfortunately, it requires a bit of CSS magic to make that - * happen. We can set a wdith easily enough, but what we can't easily + * happen. We can set a width easily enough, but what we can't easily * do is to set the height to be exactly the same as the width. * * So here's the magic to get that to happen. On the board container @@ -12,8 +12,8 @@ * any child sas "height: 100%" that will result in a 0-height child * and won't be what we want. * - * So the last piece of the magic is to use absolute palcement of the - * board (which require position:relative on its parent) and set all + * So the last piece of the magic is to use absolute placement of the + * board (which requires position:relative on its parent) and set all * of its edges (top, left, bottom, right) to the extents of the * container. * @@ -53,6 +53,10 @@ border: 3px solid #999; } +.mini-grid.active { + border: 3px solid var(--accent-color-bright); +} + .square { display: flex; justify-content: center; @@ -75,3 +79,25 @@ .square.open:hover { background-color: var(--accent-color-bright); } + +.square.last-move { + color: var(--accent-color-bright); +} + +.glyphs { + padding-top: 0.5em; + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr 1fr; + grid-column-gap: 0.5em; + grid-row-gap: 0.25em; +} + +.glyph-and-name { + display: flex; + flex-direction: column; + align-items: center; +} + +.glyph { + width: 8vw; +}