diff --git a/chess_gui/public/css/index.css b/chess_gui/public/css/index.css index 8da0a54..5154ad6 100644 --- a/chess_gui/public/css/index.css +++ b/chess_gui/public/css/index.css @@ -1,87 +1,64 @@ /* (C) Roy van Lunsen */ -a { - display: block; - text-decoration: none; - outline-style: solid; - color: white; - background-image: url(i/tem.png); +section { + max-width: max-content; } -ol > li li { - display: inline-block; - width: 32px; - height: 32px; +* { + box-sizing: border-box; } +/* Chess board START */ + #y-co { display: flex; flex-flow: column-reverse; /* Order depends on player side #1/3 */ - width: max-content; + padding-left: 24px; } .x-row { display: flex; flex-flow: row; /* Order depends on player side #2/3 */ + padding-left: 32px; } -#x-co { - display: inline-flex; - flex-flow: row; - width: max-content; - margin-top: 32px; +#y-co > li:hover { + background-color: green; } -.x-co { - display: inline-block; +#x-co { + display: flex; + padding-top: 1em; + margin: 0; + padding-left: 56px; + flex-flow: row nowrap; + list-style-position: inside; + list-style-type: upper-alpha; text-align: center; - width: 32px; } -.features, .keys, .values { - list-style-type: none; +#x-co > li { padding: 0; margin: 0; -} - -.features { - display: grid; -} - -.key { - display: none; -} - -.key .values { - display: none; -} - -h3 > ul:hover .key { - display: inline-block; -} - -.key:hover .values { - display: flex; - flex-flow: column; - position: fixed; + flex: 0 1 32px; } img { - position: relative; border: 2.5px; - height: 32px; - border-color: #884b10; - border-color: #592b07; + max-width: 100%; } -#emptyx { - width: 40px; +ol > li li { + flex: 1 1 32px; + height: 36px; + display: flex; + flex-wrap: wrap; + align-content: end; } dl { display: flex; flex-flow: column-reverse; - max-height: 50vh; width: max-content; overflow-y: scroll; scrollbar-width: thin; @@ -92,6 +69,13 @@ dl li { flex-flow: column-reverse; /* Order depends on player side #3/3 */ } +li.coord { +} + +/* Chess board END */ + +/* Chess move log START */ + figure { display: flex; flex-flow: row; @@ -114,13 +98,65 @@ figure img { color: white; } -/*img.black, img.white {*/ -/* border-width: 1px;*/ -/* border-color: red;*/ -/*}*/ - dd.noimg { /* Display text of