html, body { padding: 0; margin: 0; background: #999999; font-family: sans-serif; } main { width: 1200px; left: 0; right: 0; margin: auto; } code#joinurl { cursor: pointer; position: relative; } code#joinurl::after { content: "Copied!"; text-align: center; font-family: sans-serif; font-weight: bold; pointer-events: none; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; background: #ffffff; opacity: 0; transition: opacity 1s; } code#joinurl.copied::after { opacity: 1; transition: opacity 0s; } /* * SUDOKU */ table, td { border: 1px solid black; border-collapse: collapse; padding: 0; background: white; text-align: center; } tr.row-1 > td { border-top: 3px solid black; } tr.row-3 > td, tr.row-6 > td, tr.row-9 > td { border-bottom: 3px solid black; } td.col-1 { border-left: 3px solid black; } td.col-3, td.col-6, td.col-9 { border-right: 3px solid black; } input.sudoku-field:checked + label.sudoku-field { background: #aaaaff; } input.sudoku-field { display: none; } label.sudoku-field { display: inline-block; width: 45px; height: 45px; font-size: 2em; margin: 0; line-height: 45px; } label.sudoku-field-original { background: #aaffaa; } input.fill { width: 100% !important; } #sudoku-input input { width: 45px; height: 45px; font-size: 2em; } /* * SET */ #playingfield { display: flex; flex-direction: column; flex-wrap: wrap; align-content: flex-start; max-height: 700px; } input { padding: 20px 40px; } #playingfield .card > input { display: none; } #playingfield .card.new > label #card { filter: url(#new); } #playingfield .card > input:checked ~ label #card { filter: url(#drop); } #playingfield .card > input:checked ~ label .svgcard { transform: rotate(5deg); transform-origin: 70px 100px; } .playercardlist .card { display: inline-block; margin-right: -120px; } .playercardlist .playercard-0 { transform: rotate(-10deg) scale(0.5); } .playercardlist .playercard-1 { transform: scale(0.5); } .playercardlist .playercard-2 { transform: rotate(10deg) scale(0.5) translate(0px, 10px); } /* * Go */ .go-background { fill: #ffdd88; } .go-line { stroke: black; stroke-width: 3; stroke-opacity: 1; stroke-linecap: round; } .go-hoshi, .go-territory-black { fill: black; } .go-territory-white { fill: white; } .go-stone-black { fill: url(#black-stone); } .go-stone-white { fill: url(#white-stone); } .go-stone-empty { cursor: pointer; opacity: 0; } .go-stone-empty:hover, .go-stone-dead { opacity: 0.5; } input.go-field-input { display: none; } label.go-field-label { padding: 0; margin: 0; } label.go-field-label > svg { padding: 0; margin: 0; } div#field { padding: 0; } input#go-input-place { display: none; }