From 153c97ae436bd65380d6647d2003799526b30b05 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Fri, 25 Feb 2022 13:14:07 +0100 Subject: [PATCH] Style adjustments --- index.css | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/index.css b/index.css index 30273d3..0d65432 100644 --- a/index.css +++ b/index.css @@ -1,6 +1,7 @@ body { background-color: #1f2937; color: #fff; + font-family: Noto Serif, serif; --columns: 2; --rows: 2; } @@ -64,6 +65,8 @@ body.wide { font-size: xx-large; border: 1px solid #bbb; vertical-align: top; + + transition: height 0.25s; } .cell.done { @@ -86,17 +89,11 @@ body.wide { margin-top: 1em; } -/* -.keyboard-row:nth-child(2) { - margin-left: 0.75em; -} - -.keyboard-row:nth-child(3) { - margin-left: 1.5em; -} -*/ - .key { + display: inline-flex; + align-items: center; + justify-content: center; + width: 1.5em; height: 1.5em; font-size: xx-large; @@ -105,16 +102,15 @@ body.wide { color: #fff; background-color: rgb(107 114 128); border-color: rgb(55 65 81); + border-radius: 5px; cursor: pointer; } #backspace, #enter { width: 3em; - margin: 0.1em; - display: inline-flex; - justify-content: center; - align-items: center; + margin-left: 0.1em; + margin-right: 0.1em; } #share { @@ -132,6 +128,10 @@ body.wide { display: none; } +#options { + margin-top: 1em; +} + #copyarea { display: none; background-color: #1f2937;