div+css实现哈利波特蛇怪和扫帚摇色子游戏代码
代码语言:html
所属分类:游戏
代码描述:div+css实现哈利波特蛇怪和扫帚摇色子游戏代码,可以多人一起玩耍。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> @charset "UTF-8"; /***** dice animation */ @import url("https://fonts.googleapis.com/css?family=Dosis|Roboto"); @keyframes changeOrder { from { z-index: 6; } to { z-index: 1; } } @-webkit-keyframes changeOrder { from { z-index: 6; } to { z-index: 1; } } input { display: none; } body { font-size: 16px; font-family: Dosis, Roboto, Arial, Verdana, sans-serif; padding: 0; margin: 0; border: 0; background: #8526; } .scrim { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.75); z-index: 999; } .scrim .box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); background: white; border-radius: 3px; box-shadow: 0 1.5em 0.5em -1em rgba(0, 0, 0, 0.25); width: 70%; max-width: 375px; } .scrim .box > div { padding: 1rem; } .scrim .box h1 { font-family: "Harry Potter"; text-shadow: 0 -2px #741, 0 -1px #741, -1px -1px #741, 1px -1px #741, -1px -2px #741, 1px -2px #741, -2px -2px #741, 2px -2px #741, -4px -2px #741, 4px -2px #741; margin-top: 0; margin-bottom: 0; font-size: 1.75rem; font-weight: 400; text-align: center; height: 2.5rem; line-height: 2.35rem; background: #741; color: white; border-radius: 3px 3px 0px 0px; } .scrim .box h2 { margin-top: 1rem; margin-bottom: 0.15rem; font-size: 1.3rem; } .scrim .box h2:first-child { margin-top: 0; } .scrim .box p:first-child { margin-top: 0; } .scrim .box p:last-child { margin-bottom: 0; } .flex { display: flex; } .flex > label, .flex > div { flex: 1; margin-left: 0.3rem; } .flex > label:first-child, .flex > div:first-child { margin-left: 0; } /** start screen: configuration **/ #options { background: rgba(0, 0, 0, 0); } #options .option-players label, #options label.option-start { display: block; margin-top: 0.5rem; color: white; background: rgba(0, 150, 48, 0.6); text-align: center; padding: 6px; transition: background 0.5s, color 0.5s; box-sizing: border-box; border: 2px solid transparent; border-radius: 3px; cursor: pointer; } #options .option-players label:hover, #options label.option-start:hover { background: rgba(220, 220, 0, 0.7); color: black; } #options .option-players label:active, #options label.option-start:active { border: 2px solid rgba(0, 0, 0, 0.1); } #options .option-players label.option-start, #options label.option-start.option-start { background: #741; color: white; margin-top: 2rem; } #options .option-players label.option-start:hover, #options label.option-start.option-start:hover { background: #61370e; } #options .option-colors label { height: 2rem; opacity: 0.6; margin-bottom: 0.3rem; cursor: pointer; transition: opacity 0.5s; } #options .option-colors label:hover { opacity: 0.8; } #options .option-colors label span { box-sizing: border-box; width: 2rem; margin-left: 0.3rem; border-radius: 3px; display: inline-block; padding: 3px; font-size: 0.7rem; border: 1px solid #222; } #options .option-colors label span:first-child { width: 2rem; height: 2rem; border: 0; } #options .option-colors label span:first-child::before { content: ""; display: block; width: 100%; height: 100%; background: radial-gradient(farthest-side, #0000 40%, #321a 0 50%, #0000 0); } #options .option-colors label:nth-child(1) span:nth-child(2) { background: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #options .option-colors label:nth-child(1) span:nth-child(3) { background: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #options .option-colors label:nth-child(1) span:nth-child(4) { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #options .option-colors label:nth-child(1) span:nth-child(5) { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #options .option-colors label:nth-child(2) span:nth-child(2) { background: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #options .option-colors label:nth-child(2) span:nth-child(3) { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #options .option-colors label:nth-child(2) span:nth-child(4) { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #options .option-colors label:nth-child(2) span:nth-child(5) { background: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #options .option-colors label:nth-child(3) span:nth-child(2) { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #options .option-colors label:nth-child(3) span:nth-child(3) { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #options .option-colors label:nth-child(3) span:nth-child(4) { background: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #options .option-colors label:nth-child(3) span:nth-child(5) { background: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #options .option-colors label:nth-child(4) span:nth-child(2) { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #options .option-colors label:nth-child(4) span:nth-child(3) { background: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #options .option-colors label:nth-child(4) span:nth-child(4) { background: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #options .option-colors label:nth-child(4) span:nth-child(5) { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #game-time:checked ~ #options, [name=show-instructions]:checked ~ #options { display: none; } #players1:checked ~ #options label[for=players1] { background: #009630; border: 2px solid rgba(0, 0, 0, 0.1); color: white; } #players1:checked ~ #options label[for^=colors] span:nth-child(3) { display: none; } #players1:checked ~ #options label[for^=colors] span:nth-child(4) { display: none; } #players1:checked ~ #options label[for^=colors] span:nth-child(5) { display: none; } #colors1:checked ~ #options label[for=colors1] { opacity: 1; border: 0; } #colors1:checked ~ #options label[for=colors1] span { border: 1px solid #222; } #colors1:checked ~ #options label[for=colors1] span:first-child { border: 2px solid transparent; } #colors1:checked ~ #options label[for=colors1] span:first-child::before { background: radial-gradient(farthest-side, black 99%, #0000 0) no-repeat 35% 60%/15% 15%, radial-gradient(farthest-side, black 99%, #0000 0) no-repeat 65% 60%/15% 15%, radial-gradient(farthest-side at 50% 0, black 99%, #0000 0) no-repeat 50% 80%/20% 10%, conic-gradient(at 50% -20%, #0000 162deg, indianred 0 198deg, #0000 0) no-repeat 50% 0%/100% 85%, radial-gradient(farthest-side, indianred 99%, #0000 0) no-repeat 0% 100%/100% 20%; } #players2:checked ~ #options label[for=players2] { background: #009630; border: 2px solid rgba(0, 0, 0, 0.1); color: white; } #players2:checked ~ #options label[for^=colors] span:nth-child(4) { display: none; } #players2:checked ~ #options label[for^=colors] span:nth-child(5) { display: none; } #colors2:checked ~ #options label[for=colors2] { opacity: 1; border: 0; } #colors2:checked ~ #options label[for=colors2] span { border: 1px solid #222; } #colors2:checked ~ #options label[for=colors2] span:first-child { border: 2px solid transparent; } #colors2:checked ~ #options label[for=colors2] span:first-child::before { background: radial-gradient(farthest-side, black 99%, #0000 0) no-repeat 35% 60%/15% 15%, radial-gradient(farthest-side, black 99%, #0000 0) no-repeat 65% 60%/15% 15%, radial-gradient(farthest-side at 50% 0, black 99%, #0000 0) no-repeat 50% 80%/20% 10%, conic-gradient(at 50% -20%, #0000 162deg, indianred 0 198deg, #0000 0) no-repeat 50% 0%/100% 85%, radial-gradient(farthest-side, indianred 99%, #0000 0) no-repeat 0% 100%/100% 20%; } #players3:checked ~ #options label[for=players3] { background: #009630; border: 2px solid rgba(0, 0, 0, 0.1); color: white; } #players3:checked ~ #options label[for^=colors] span:nth-child(5) { display: none; } #colors3:checked ~ #options label[for=colors3] { opacity: 1; border: 0; } #colors3:checked ~ #options label[for=colors3] span { border: 1px solid #222; } #colors3:checked ~ #options label[for=colors3] span:first-child { border: 2px solid transparent; } #colors3:checked ~ #options label[for=colors3] span:first-child::before { background: radial-gradient(farthest-side, black 99%, #0000 0) no-repeat 35% 60%/15% 15%, radial-gradient(farthest-side, black 99%, #0000 0) no-repeat 65% 60%/15% 15%, radial-gradient(farthest-side at 50% 0, black 99%, #0000 0) no-repeat 50% 80%/20% 10%, conic-gradient(at 50% -20%, #0000 162deg, indianred 0 198deg, #0000 0) no-repeat 50% 0%/100% 85%, radial-gradient(farthest-side, indianred 99%, #0000 0) no-repeat 0% 100%/100% 20%; } #players4:checked ~ #options label[for=players4] { background: #009630; border: 2px solid rgba(0, 0, 0, 0.1); color: white; } #colors4:checked ~ #options label[for=colors4] { opacity: 1; border: 0; } #colors4:checked ~ #options label[for=colors4] span { border: 1px solid #222; } #colors4:checked ~ #options label[for=colors4] span:first-child { border: 2px solid transparent; } #colors4:checked ~ #options label[for=colors4] span:first-child::before { background: radial-gradient(farthest-side, black 99%, #0000 0) no-repeat 35% 60%/15% 15%, radial-gradient(farthest-side, black 99%, #0000 0) no-repeat 65% 60%/15% 15%, radial-gradient(farthest-side at 50% 0, black 99%, #0000 0) no-repeat 50% 80%/20% 10%, conic-gradient(at 50% -20%, #0000 162deg, indianred 0 198deg, #0000 0) no-repeat 50% 0%/100% 85%, radial-gradient(farthest-side, indianred 99%, #0000 0) no-repeat 0% 100%/100% 20%; } #colors1:checked ~ #game #piece-player-1 { background: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #colors1:checked ~ #game #piece-player-2 { background: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #colors1:checked ~ #game #piece-player-3 { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #colors1:checked ~ #game #piece-player-4 { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #colors2:checked ~ #game #piece-player-1 { background: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #colors2:checked ~ #game #piece-player-2 { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #colors2:checked ~ #game #piece-player-3 { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #colors2:checked ~ #game #piece-player-4 { background: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #colors3:checked ~ #game #piece-player-1 { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #colors3:checked ~ #game #piece-player-2 { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #colors3:checked ~ #game #piece-player-3 { background: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #colors3:checked ~ #game #piece-player-4 { background: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #colors4:checked ~ #game #piece-player-1 { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #colors4:checked ~ #game #piece-player-2 { background: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #colors4:checked ~ #game #piece-player-3 { background: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #colors4:checked ~ #game #piece-player-4 { background: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } /** info pop-up **/ #info { display: none; } #info .box { width: 75%; max-width: none; } #info .box p:last-child { text-align: right; } #info .box #close-button { display: inline-block; background: #396; border-radius: 3px; color: white; padding: 6px 1rem; cursor: pointer; transition: background 0.5s; } #info .box #close-button:hover { background: #2d8659; } #show-info:checked ~ #info { display: block; } /** Instructions **/ #instructions { position: fixed; z-index: 9999; background-color: rgba(0, 0, 0, 0.01); top: 0; left: 0; width: 100%; height: 100%; display: none; } #instructions #go-to-game { position: absolute; bottom: 1rem; right: 1rem; font-size: 1rem; z-index: 3; color: white; cursor: pointer; } #instructions #step { display: none; position: absolute; box-shadow: 0 0 50px calc(200vmax) rgba(0, 0, 0, 0.85), inset 0 0 4px 0 black; transform: translate(-1rem, -1rem); border-radius: 100%; z-index: 1; top: 0; left: 1rem; width: calc(100px + 2rem); height: calc(6rem); transition: all 0.75s; } #instructions #step div { position: absolute; bottom: -0.5rem; line-height: 1.1rem; font-size: 1rem; color: rgba(255, 255, 255, 0.8); left: 1rem; width: 80vmin; transform: translate(0, 100%); -webkit-transform: translate(0, 100%); } #instructions #step div label { display: none; font-weight: bold; cursor: pointer; text-decoration: underline; } #instructions #step div label:hover { text-decoration: none; } #instructions #step div label:not([for=game-time])::before { content: "Next ›"; } [name=show-instructions]:checked ~ #instructions, [name=show-instructions]:checked ~ #game, [name=show-instructions]:checked ~ #action, [name=show-instructions]:checked ~ #instructions #step { display: block; } #show-instructions-1:checked ~ #instructions label[for=show-instructions-2] { display: inline-block; } #show-instructions-2:checked ~ #instructions label[for=show-instructions-3] { display: inline-block; } #show-instructions-3:checked ~ #instructions label[for=show-instructions-4] { display: inline-block; } #show-instructions-4:checked ~ #instructions label[for=show-instructions-5] { display: inline-block; } #show-instructions-5:checked ~ #instructions label[for=game-time] { display: inline-block; } #show-instructions-1:checked ~ #instructions #step { top: 0; left: 1rem; width: calc(100px + 2rem); height: calc(6rem); } #show-instructions-1:checked ~ #instructions #step div::before { content: "This area indicates whose turn it is at any given moment."; } #show-instructions-2:checked ~ #instructions #step { top: 6rem; left: 1rem; width: 5rem; height: 5rem; } #show-instructions-2:checked ~ #instructions #step div::before { content: "The active player clicks here to roll the dice."; } #show-instructions-3:checked ~ #instructions #step { top: 50%; left: 50%; width: 30vw; height: 30vw; max-width: 500px; max-height: 500px; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); } #show-instructions-3:checked ~ #instructions #step div { transform: translate(-20vmin, 100%); -webkit-transform: translate(-20vmin, 100%); left: 0; } #show-instructions-3:checked ~ #instructions #step div::before { content: "The player's piece will advance on the board once the dice is rolled. If the piece falls on a tile with a basilisk's head, it will fall down to the basilisk's tail. If it falls on a broom's bottom, it will go up to the top."; } #show-instructions-4:checked ~ #instructions #step { top: 0; left: calc(100px + 2rem); width: calc(100px + 2rem); height: calc(6rem); } #show-instructions-4:checked ~ #instructions #step div::before { content: "After that, click on the button to go to the next player's turn."; } #show-instructions-5:checked ~ #instructions #step { top: 0; left: calc(100vw - 100px - 1rem); width: calc(100px + 2rem); height: calc(6rem); } #show-instructions-5:checked ~ #instructions #step div { left: auto; right: 0rem; } #show-instructions-5:checked ~ #instructions #step div::before { content: "If you want more information during the game, click on this button."; } #game-time:checked ~ #instructions { display: none; } /** game screen: board, dice, messages **/ .dice { position: absolute; display: none; visibility: visible; top: 6rem; left: 1rem; width: 3rem; height: 3rem; background: white; border-radius: 3px; box-shadow: 0 1.5em 0.5em -1em rgba(0, 0, 0, 0.042); z-index: 1; } .dice::before { content: ""; display: block; height: 100%; width: 100%; font-size: 0.8rem; box-sizing: border-box; cursor: pointer; padding-top: 0.5rem; background-repeat: no-repeat; background-position: center center; } #turn1:checked ~ .game-time:checked ~ [name=cb-player1]:checked + label + input + label, #turn1:checked ~ .game-time:checked ~ [name=cb-player1]:checked + label + input + label + input + label, #turn1:checked ~ .game-time:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label, #turn1:checked ~ .game-time:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label, #turn1:checked ~ .game-time:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label + input + label, #turn1:checked ~ .game-time:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label { display: block; left: 1rem; text-align: center; animation: changeOrder 0.6s infinite; -webkit-animation: changeOrder 0.6s infinite; } #turn2:checked ~ .game-time:checked ~ [name=cb-player2]:checked + label + input + label, #turn2:checked ~ .game-time:checked ~ [name=cb-player2]:checked + label + input + label + input + label, #turn2:checked ~ .game-time:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label, #turn2:checked ~ .game-time:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label, #turn2:checked ~ .game-time:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label + input + label, #turn2:checked ~ .game-time:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label { display: block; left: 1rem; text-align: center; animation: changeOrder 0.6s infinite; -webkit-animation: changeOrder 0.6s infinite; } #turn3:checked ~ .game-time:checked ~ [name=cb-player3]:checked + label + input + label, #turn3:checked ~ .game-time:checked ~ [name=cb-player3]:checked + label + input + label + input + label, #turn3:checked ~ .game-time:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label, #turn3:checked ~ .game-time:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label, #turn3:checked ~ .game-time:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label + input + label, #turn3:checked ~ .game-time:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label { display: block; left: 1rem; text-align: center; animation: changeOrder 0.6s infinite; -webkit-animation: changeOrder 0.6s infinite; } #turn4:checked ~ .game-time:checked ~ [name=cb-player4]:checked + label + input + label, #turn4:checked ~ .game-time:checked ~ [name=cb-player4]:checked + label + input + label + input + label, #turn4:checked ~ .game-time:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label, #turn4:checked ~ .game-time:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label, #turn4:checked ~ .game-time:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label + input + label, #turn4:checked ~ .game-time:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label { display: block; left: 1rem; text-align: center; animation: changeOrder 0.6s infinite; -webkit-animation: changeOrder 0.6s infinite; } #turn1:checked ~ [name=cb-player1]:checked + label + input + label { animation-delay: 0s !important; } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label { animation-delay: -0.1s !important; } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label { animation-delay: -0.2s !important; } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label { animation-delay: -0.3s !important; } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label + input + label { animation-delay: -0.4s !important; } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label { animation-delay: -0.5s !important; } #turn2:checked ~ [name=cb-player2]:checked + label + input + label { animation-delay: 0s !important; } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label { animation-delay: -0.1s !important; } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label { animation-delay: -0.2s !important; } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label { animation-delay: -0.3s !important; } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label + input + label { animation-delay: -0.4s !important; } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label { animation-delay: -0.5s !important; } #turn3:checked ~ [name=cb-player3]:checked + label + input + label { animation-delay: 0s !important; } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label { animation-delay: -0.1s !important; } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label { animation-delay: -0.2s !important; } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label { animation-delay: -0.3s !important; } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label + input + label { animation-delay: -0.4s !important; } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label { animation-delay: -0.5s !important; } #turn4:checked ~ [name=cb-player4]:checked + label + input + label { animation-delay: 0s !important; } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label { animation-delay: -0.1s !important; } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label { animation-delay: -0.2s !important; } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label { animation-delay: -0.3s !important; } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label + input + label { animation-delay: -0.4s !important; } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label { animation-delay: -0.5s !important; } #turn1:checked ~ [name=cb-player1]:checked + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='8' /></svg>"); } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='77' r='8' /><circle cx='77' cy='23' r='8' /></svg>"); } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='77' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='50' cy='50' r='8' /></svg>"); } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /></svg>"); } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /><circle cx='50' cy='50' r='8' /></svg>"); } #turn1:checked ~ [name=cb-player1]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /><circle cx='23' cy='50' r='8' /><circle cx='77' cy='50' r='8' /></svg>"); } #turn2:checked ~ [name=cb-player2]:checked + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='8' /></svg>"); } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='77' r='8' /><circle cx='77' cy='23' r='8' /></svg>"); } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='77' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='50' cy='50' r='8' /></svg>"); } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /></svg>"); } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /><circle cx='50' cy='50' r='8' /></svg>"); } #turn2:checked ~ [name=cb-player2]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /><circle cx='23' cy='50' r='8' /><circle cx='77' cy='50' r='8' /></svg>"); } #turn3:checked ~ [name=cb-player3]:checked + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='8' /></svg>"); } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='77' r='8' /><circle cx='77' cy='23' r='8' /></svg>"); } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='77' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='50' cy='50' r='8' /></svg>"); } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /></svg>"); } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /><circle cx='50' cy='50' r='8' /></svg>"); } #turn3:checked ~ [name=cb-player3]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /><circle cx='23' cy='50' r='8' /><circle cx='77' cy='50' r='8' /></svg>"); } #turn4:checked ~ [name=cb-player4]:checked + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='8' /></svg>"); } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='77' r='8' /><circle cx='77' cy='23' r='8' /></svg>"); } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='77' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='50' cy='50' r='8' /></svg>"); } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /></svg>"); } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /><circle cx='50' cy='50' r='8' /></svg>"); } #turn4:checked ~ [name=cb-player4]:checked + label + input + label + input + label + input + label + input + label + input + label + input + label::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='23' cy='23' r='8' /><circle cx='77' cy='23' r='8' /><circle cx='77' cy='77' r='8' /><circle cx='23' cy='77' r='8' /><circle cx='23' cy='50' r='8' /><circle cx='77' cy='50' r='8' /></svg>"); } label.dice:active { position: static !important; margin-left: 50px !important; background: none !important; font-size: 0; } label.dice:active::before { content: ""; position: absolute; top: 0; right: -50px; left: 0; bottom: 0; z-index: 200; } #game { display: none; } #game .tab { position: absolute; top: 0; background: white; border-radius: 0 0 3px 3px; box-shadow: 0 1.5em 0.5em -1em rgba(0, 0, 0, 0.25); z-index: 9; float: left; margin-left: 1rem; } #game .tab::before { text-align: center; display: block; padding: 6px 16px; color: white; background: #741; height: 0.7rem; line-height: 0.7rem; font-size: 0.75rem; font-weight: bold; white-space: nowrap; text-transform: uppercase; font-size: 0.95rem; } #game .tab::after, #game .tab#player-info span { display: block; text-align: center; padding: 6px 16px; height: 2rem; line-height: 1.9rem; white-space: nowrap; } #game .tab#player-info { min-width: 100px; } #game .tab#player-info::before { content: "Turn"; } #game .tab#player-info span { font-weight: bolder; } #game .tab#player-info span::before { content: "● "; } #game .tab#player-info span::after { content: " 1"; font-weight: bolder; } #game .tab#dice { cursor: pointer; } #game .tab#dice::before { content: "Dice"; } #game .tab#dice::after { content: "Roll"; } #game .tab#more-info { cursor: pointer; left: auto; right: 1rem; width: 100px; z-index: 1; } #game .tab#more-info::before { content: "About"; } #game .tab#more-info::after { content: "More info"; } #game .tab#action { cursor: pointer; left: calc(100px + 1rem); width: 100px; } #game .tab#action::before { content: "Action"; } #game .tab#action::after { content: "Next player"; } #game .tab#action label { position: absolute; top: 0; left: 0; bottom: 0; right: 0; cursor: pointer; } #game #board { width: 70%; max-width: 500px; border: 3px solid #741; border-radius: 6px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); background: white; margin-top: 2.5rem; box-shadow: 0 1.5em 0.5em -1em rgba(0, 0, 0, 0.25); } #game #board .tile { float: left; width: 10%; position: relative; height: 0; padding-top: 10%; box-sizing: border-box; border-left: 1px solid rgba(0, 0, 0, 0.1); border-right: 1px solid rgba(0, 0, 0, 0.1); border-top: 1px solid black; border-bottom: 1px solid black; background: #cee8d7; } #game #board .tile::before { content: attr(data-index); position: absolute; top: 0rem; left: 0.15rem; font-size: 0.66rem; } #game #board .tile.tile6::before, #game #board .tile.tile12::before, #game #board .tile.tile18::before, #game #board .tile.tile22::before, #game #board .tile.tile23::before, #game #board .tile.tile28::before, #game #board .tile.tile30::before, #game #board .tile.tile34::before, #game #board .tile.tile36::before, #game #board .tile.tile39::before, #game #board .tile.tile55::before, #game #board .tile.tile79::before { left: auto; right: 0.15rem; } #game #board .tile.tile52::before { top: auto; bottom: 0rem; } #game #board .tile.tile76::before { left: 0.6rem; } #game #board .tile1 { border-bottom: 1px solid transparent; } #game #board .tile91 { border-top: 1px solid transparent; } #game #board .tile10 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile11 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile2 { border-bottom: 1px solid transparent; } #game #board .tile92 { border-top: 1px solid transparent; } #game #board .tile20 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile21 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile3 { border-bottom: 1px solid transparent; } #game #board .tile93 { border-top: 1px solid transparent; } #game #board .tile30 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile31 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile4 { border-bottom: 1px solid transparent; } #game #board .tile94 { border-top: 1px solid transparent; } #game #board .tile40 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile41 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile5 { border-bottom: 1px solid transparent; } #game #board .tile95 { border-top: 1px solid transparent; } #game #board .tile50 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile51 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile6 { border-bottom: 1px solid transparent; } #game #board .tile96 { border-top: 1px solid transparent; } #game #board .tile60 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile61 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile7 { border-bottom: 1px solid transparent; } #game #board .tile97 { border-top: 1px solid transparent; } #game #board .tile70 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile71 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile8 { border-bottom: 1px solid transparent; } #game #board .tile98 { border-top: 1px solid transparent; } #game #board .tile80 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile81 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile9 { border-bottom: 1px solid transparent; } #game #board .tile99 { border-top: 1px solid transparent; } #game #board .tile90 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile91 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile10 { border-bottom: 1px solid transparent; } #game #board .tile100 { border-top: 1px solid transparent; } #game #board .tile100 { border-top: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile101 { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #game #board .tile1, #game #board .tile15, #game #board .tile24, #game #board .tile38, #game #board .tile49, #game #board .tile55, #game #board .tile65, #game #board .tile76, #game #board .tile86, #game #board .tile94 { background: #fadbe5; } #game #board .tile2, #game #board .tile16, #game #board .tile23, #game #board .tile35, #game #board .tile42, #game #board .tile56, #game #board .tile64, #game #board .tile79, #game #board .tile87, #game #board .tile93 { background: #ecf3ff; } #game #board .tile3, #game #board .tile18, #game #board .tile26, #game #board .tile33, #game #board .tile41, #game #board .tile58, #game #board .tile68, #game #board .tile78, #game #board .tile81, #game #board .tile96 { background: #feeadb; } #game #board .tile4, #game #board .tile11, #game #board .tile29, #game #board .tile40, #game #board .tile47, #game #board .tile51, #game #board .tile61, #game #board .tile77, #game #board .tile88, #game #board .tile99 { background: #eee2ef; } #game #board .tile5, #game #board .tile19, #game #board .tile27, #game #board .tile32, #game #board .tile44, #game #board .tile59, #game #board .tile69, #game #board .tile80, #game #board .tile89, #game #board .tile97 { background: #bbe7f8; } #game #board .tile6, #game #board .tile20, #game #board .tile28, #game #board .tile31, #game #board .tile45, #game #board .tile60, #game #board .tile70, #game #board .tile75, #game #board .tile85, #game #board .tile98 { background: #fffcdb; } #game #board .tile7, #game #board .tile13, #game #board .tile21, #game #board .tile36, #game #board .tile50, #game #board .tile53, #game #board .tile63, #game #board .tile74, #game #board .tile84, #game #board .tile91 { background: #d2effe; } #game #board .tile8, #game #board .tile12, #game #board .tile30, #game #board .tile39, #game #board .tile46, #game #board .tile52, #game #board .tile62, #game #board .tile73, #game #board .tile90, #game #board .tile100 { background: #f3ddb2; } #game #board .tile9, #game #board .tile14, #game #board .tile22, #game #board .tile37, #game #board .tile48, #game #board .tile54, #game #board .tile66, #game #board .tile72, #game #board .tile83, #game #board .tile96 { background: #fac5b8; } #action label { display: none; } #players1:checked ~ #turn1:checked ~ #game-time:checked ~ #game #action { display: none; } #players1:checked ~ #turn1:checked ~ #game #turn-changer1 { display: block; } #players2:checked ~ #turn1:checked ~ #game #turn-changer2 { display: block; } #players3:checked ~ #turn1:checked ~ #game #turn-changer2 { display: block; } #players4:checked ~ #turn1:checked ~ #game #turn-changer2 { display: block; } #players2:checked ~ #turn2:checked ~ #game #turn-changer1 { display: block; } #players3:checked ~ #turn2:checked ~ #game #turn-changer3 { display: block; } #players4:checked ~ #turn2:checked ~ #game #turn-changer3 { display: block; } #players3:checked ~ #turn3:checked ~ #game #turn-changer1 { display: block; } #players4:checked ~ #turn3:checked ~ #game #turn-changer4 { display: block; } #players4:checked ~ #turn4:checked ~ #game #turn-changer1 { display: block; } #turn1:checked ~ #colors1:checked ~ #game #player-info span::before { color: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #turn2:checked ~ #colors1:checked ~ #game #player-info span::before { color: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #turn3:checked ~ #colors1:checked ~ #game #player-info span::before { color: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #turn4:checked ~ #colors1:checked ~ #game #player-info span::before { color: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #turn1:checked ~ #colors2:checked ~ #game #player-info span::before { color: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #turn2:checked ~ #colors2:checked ~ #game #player-info span::before { color: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #turn3:checked ~ #colors2:checked ~ #game #player-info span::before { color: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #turn4:checked ~ #colors2:checked ~ #game #player-info span::before { color: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #turn1:checked ~ #colors3:checked ~ #game #player-info span::before { color: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #turn2:checked ~ #colors3:checked ~ #game #player-info span::before { color: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #turn3:checked ~ #colors3:checked ~ #game #player-info span::before { color: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #turn4:checked ~ #colors3:checked ~ #game #player-info span::before { color: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #turn1:checked ~ #colors4:checked ~ #game #player-info span::before { color: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 48%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 48%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 53%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 53%/20% 20%, repeating-linear-gradient(to right, #222 0 20%, #fd0 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0), radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -250% -70%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 300% -70%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #963 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #111 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(farthest-side at 52% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 18% 32%/30% 10%, radial-gradient(farthest-side at 49% 120%, #0000 70%, #111 0 99%, #0000 0) no-repeat 82% 32%/30% 10%, linear-gradient(#963 0 0); } #turn2:checked ~ #colors4:checked ~ #game #player-info span::before { color: linear-gradient(69deg, #0000 30%, #da8 0 70%, #0000 0) no-repeat 27% 20%/10% 7%, conic-gradient(at 90% 100%, #0000 320deg, #da8 0 350deg, #0000 0) no-repeat 25% 27%/10% 7%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 22% 50%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 72% 50%/5% 5%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 20% 55%/20% 20%, radial-gradient(farthest-side, #000 90%, #0000 0) no-repeat 80% 55%/20% 20%, linear-gradient(to right, #000 7%, #0000 0 43%, #000 0 57%, #0000 0 93%, #000 0) no-repeat 0 52%/100% 2.5%, radial-gradient(circle at 25% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, radial-gradient(circle at 75% 50%, #0000 22%, #000 0 25%, #0000 0) no-repeat 0 52%/100% 40%, repeating-linear-gradient(to right, brown 0 20%, gold 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat -52% -60%/52% 60%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 300% -58%/90% 56%, radial-gradient(farthest-side, #fca 99.9%, #0000 0) no-repeat 320% -50%/90% 55%, radial-gradient(farthest-side, #642 99.9%, #0000 0) no-repeat 500% -52%/95% 55%, linear-gradient(#fca 0 0); } #turn3:checked ~ #colors4:checked ~ #game #player-info span::before { color: linear-gradient(5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 15% 30%/30% 5%, linear-gradient(-5deg, #0000 40%, #ffe 0 70%, #0000 0) no-repeat 85% 30%/30% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #333 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, green 0 20%, #eee 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #ffe 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, linear-gradient(#f8d8b8 0 0); } #turn4:checked ~ #colors4:checked ~ #game #player-info span::before { color: radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 24% 45%/5% 5%, radial-gradient(farthest-side, #fff 90%, #0000 0) no-repeat 70% 45%/5% 5%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 23% 50%/20% 20%, radial-gradient(farthest-side, #111 90%, #0000 0) no-repeat 77% 50%/20% 20%, repeating-linear-gradient(to right, #203aa0 0 20%, #b94 0 40%) no-repeat 0 100%/100% 25%, linear-gradient(#0000 73%, #000 0 90%, #0000 0) no-repeat, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -300% -70%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 400% -70%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat -350% -65%/90% 50%, radial-gradient(farthest-side, #ffe8b8 99.9%, #0000 0) no-repeat 450% -65%/90% 50%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat 200% -55%/80% 48%, radial-gradient(farthest-side, #432 99.9%, #0000 0) no-repeat -150% -55%/86% 47%, radial-gradient(circle at 100% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 13.5% 45%/20% 10%, radial-gradient(circle at 0% 0%, #0000 0 35%, #432 0 40%, #0000 0 50%, #432 0 55%, #0000 0 65%, #432 0 70%, #0000 0) no-repeat 87% 45%/20% 10%, linear-gradient(#ffe8b8 0 0); } #turn1:checked ~ #game .tab#player-info span::after { content: " 1"; } #turn2:checked ~ #game .tab#player-info span::after { content: " 2"; } #turn3:checked ~ #game .tab#player-info span::after { content: " 3"; } #turn4:checked ~ #game .tab#player-info span::after { content: " 4"; } #game-time:checked ~ #game { display: block; } svg#snakeladders { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } svg#snakeladders g.ladders-big { stroke: #8B4513; stroke-width: 4; stroke-linecap: round; } svg#snakeladders g.ladders-small { stroke: #bB8523; stroke-width: 2; stroke-linecap: round; } svg .snake { stroke: none; } svg .eye { fill: black; stroke: white; stroke-width: 6; } .piece { position: absolute; border-radius: 12%; box-sizing: border-box; border: 1px solid #222; width: 7%; height: 7%; bottom: 0; left: 0; transform: translate(-2%, -2%); -webkit-transform: translate(-2%, -2%); transition: bottom 0.5s, left 0.5s; box-shadow: 0 0.25rem 0.5rem #0004; } .piece#piece-player-1 { transform: translate(-5%, -3%); -webkit-transform: translate(-5%, -3%); z-index: 44; } .piece#piece-player-2 { transform: translate(40%, -40%); -webkit-transform: translate(40%, -40%); z-index: 41; } .piece#piece-player-3 { transform: translate(42%, -7%); -webkit-transform: translate(42%, -7%); z-index: 43; } .piece#piece-player-4 { transform: translate(-3%, -41%); -webkit-transform: translate(-3%, -41%); z-index: 42; } #cb-pl1-0:checked ~ #game #piece-player-1 { left: -10%; bottom: 0; } #cb-pl1-1:checked ~ #game #piece-player-1 { left: 0%; bottom: 0%; } #cb-pl1-2:checked ~ #game #piece-player-1 { left: 10%; bottom: 0%; } #cb-pl1-3:checked ~ #game #piece-player-1 { left: 20%; bottom: 0%; } #cb-pl1-4:checked ~ #game #piece-player-1 { left: 30%; bottom: 0%; } #cb-pl1-5:checked ~ #game #piece-player-1 { left: 40%; bottom: 0%; } #cb-pl1-6:checked ~ #game #piece-player-1 { left: 50%; bottom: 0%; } #cb-pl1-7:checked ~ #game #piece-player-1 { left: 60%; bottom: 0%; } #cb-pl1-8:checked ~ #game #piece-player-1 { left: 70%; bottom: 0%; } #cb-pl1-9:checked ~ #game #piece-player-1 { left: 80%; bottom: 0%; } #cb-pl1-10:checked ~ #game #piece-player-1 { left: 90%; bottom: 0%; } #cb-pl1-11:checked ~ #game #piece-player-1 { left: 90%; bottom: 10%; } #cb-pl1-12:checked ~ #game #piece-player-1 { left: 80%; bottom: 10%; } #cb-pl1-13:checked ~ #game #piece-player-1 { left: 70%; bottom: 10%; } #cb-pl1-14:checked ~ #game #piece-player-1 { left: 60%; bottom: 10%; } #cb-pl1-15:checked ~ #game #piece-player-1 { left: 50%; bottom: 10%; } #cb-pl1-16:checked ~ #game #piece-player-1 { left: 40%; bottom: 10%; } #cb-pl1-17:checked ~ #game #piece-player-1 { left: 30%; bottom: 10%; } #cb-pl1-18:checked ~ #game #piece-player-1 { left: 20%; bottom: 10%; } #cb-pl1-19:checked ~ #game #piece-player-1 { left: 10%; bottom: 10%; } #cb-pl1-20:checked ~ #game #piece-player-1 { left: 0%; bottom: 10%; } #cb-pl1-21:checked ~ #game #piece-player-1 { left: 0%; bottom: 20%; } #cb-pl1-22:checked ~ #game #piece-player-1 { left: 10%; bottom: 20%; } #cb-pl1-23:checked ~ #game #piece-player-1 { left: 20%; bottom: 20%; } #cb-pl1-24:checked ~ #game #piece-player-1 { left: 30%; bottom: 20%; } #cb-pl1-25:checked ~ #game #piece-player-1 { left: 40%; bottom: 20%; } #cb-pl1-26:checked ~ #game #piece-player-1 { left: 50%; bottom: 20%; } #cb-pl1-27:checked ~ #game #piece-player-1 { left: 60%; bottom: 20%; } #cb-pl1-28:checked ~ #game #piece-player-1 { left: 70%; bottom: 20%; } #cb-pl1-29:checked ~ #game #piece-player-1 { left: 80%; bottom: 20%; } #cb-pl1-30:checked ~ #game #piece-player-1 { left: 90%; bottom: 20%; } #cb-pl1-31:checked ~ #game #piece-player-1 { left: 90%; bottom: 30%; } #cb-pl1-32:checked ~ #game #piece-player-1 { left: 80%; bottom: 30%; } #cb-pl1-33:checked ~ #game #piece-player-1 { left: 70%; bottom: 30%; } #cb-pl1-34:checked ~ #game #piece-player-1 { left: 60%; bottom: 30%; } #cb-pl1-35:checked ~ #game #piece-player-1 { left: 50%; bottom: 30%; } #cb-pl1-36:checked ~ #game #piece-player-1 { left: 40%; bottom: 30%; } #cb-pl1-37:checked ~ #game #piece-player-1 { left: 30%; bottom: 30%; } #cb-pl1-38:checked ~ #game #piece-player-1 { left: 20%; bottom: 30%; } #cb-pl1-39:checked ~ #game #piece-player-1 { left: 10%; bottom: 30%; } #cb-pl1-40:checked ~ #game #piece-player-1 { left: 0%; bottom: 30%; } #cb-pl1-41:checked ~ #game #piece-player-1 { left: 0%; bottom: 40%; } #cb-pl1-42:checked ~ #game #piece-player-1 { left: 10%; bottom: 40%; } #cb-pl1-43:checked ~ #game #piece-player-1 { left: 20%; bottom: 40%; } #cb-pl1-44:checked ~ #game #piece-player-1 { left: 30%; bottom: 40%; } #cb-pl1-45:checked ~ #game #piece-player-1 { left: 40%; bottom: 40%; } #cb-pl1-46:checked ~ #game #piece-player-1 { left: 50%; bottom: 40%; } #cb-pl1-47:checked ~ #game #piece-player-1 { left: 60%; bottom: 40%; } #cb-pl1-48:checked ~ #game #piece-player-1 { left: 70%; bottom: 40%; } #cb-pl1-49:checked ~ #game #piece-player-1 { left: 80%; bottom: 40%; } #cb-pl1-50:checked ~ #game #piece-player-1 { left: 90%; bottom: 40%; } #cb-pl1-51:checked ~ #game #piece-player-1 { left: 90%; bottom: 50%; } #cb-pl1-52:checked ~ #game #piece-player-1 { left: 80%; bottom: 50%; } #cb-pl1-53:checked ~ #game #piece-player-1 { left: 70%; bottom: 50%; } #cb-pl1-54:checked ~ #game #piece-player-1 { left: 60%; bottom: 50%; } #cb-pl1-55:checked ~ #game #piece-player-1 { left: 50%; bottom: 50%; } #cb-pl1-56:checked ~ #game #piece-player-1 { left: 40%; bottom: 50%; } #cb-pl1-57:checked ~ #game #piece-player-1 { left: 30%; bottom: 50%; } #cb-pl1-58:checked ~ #game #piece-player-1 { left: 20%; bottom: 50%; } #cb-pl1-59:checked ~ #game #piece-player-1 { left: 10%; bottom: 50%; } #cb-pl1-60:checked ~ #game #piece-player-1 { left: 0%; bottom: 50%; } #cb-pl1-61:checked ~ #game #piece-player-1 { left: 0%; bottom: 60%; } #cb-pl1-62:checked ~ #game #piece-player-1 { left: 10%; bottom: 60%; } #cb-pl1-63:checked ~ #game #piece-player-1 { left: 20%; bottom: 60%; } #cb-pl1-64:checked ~ #game #piece-player-1 { left: 30%; bottom: 60%; } #cb-pl1-65:checked ~ #game #piece-player-1 { left: 40%; bottom: 60%; } #cb-pl1-66:checked ~ #game #piece-player-1 { left: 50%; bottom: 60%; } #cb-pl1-67:checked ~ #game #piece-player-1 { left: 60%; bottom: 60%; } #cb-pl1-68:checked ~ #game #piece-player-1 { left: 70%; bottom: 60%; } #cb-pl1-69:checked ~ #game #piece-player-1 { left: 80%; bottom: 60%; } #cb-pl1-70:checked ~ #game #piece-player-1 { left: 90%; bottom: 60%; } #cb-pl1-71:checked ~ #game #piece-player-1 { left: 90%; bottom: 70%; } #cb-pl1-72:checked ~ #game #piece-player-1 { left: 80%; bottom: 70%; } #cb-pl1-73:checked ~ #game #piece-player-1 { left: 70%; bottom: 70%; } #cb-pl1-74:checked ~ #game #piece-player-1 { left: 60%; bottom: 70%; } #cb-pl1-75:checked ~ #game #piece-player-1 { left: 50%; bottom: 70%; } #cb-pl1-76:checked ~ #game #piece-player-1 { left: 40%; bottom: 70%; } #cb-pl1-77:checked ~ #game #piece-player-1 { left: 30%; bottom: 70%; } #cb-pl1-78:checked ~ #game #piece-player-1 { left: 20%; bottom: 70%; } #cb-pl1-79:checked ~ #game #piece-player-1 { left: 10%; bottom: 70%; } #cb-pl1-80:checked ~ #game #piece-player-1 { left: 0%; bottom: 70%; } #cb-pl1-81:checked ~ #game #piece-player-1 { left: 0%; bottom: 80%; } #cb-pl1-82:checked ~ #game #piece-player-1 { left: 10%; bottom: 80%; } #cb-pl1-83:checked ~ #game #piece-player-1 { left: 20%; bottom: 80%; } #cb-pl1-84:checked ~ #game #piece-player-1 { left: 30%; bottom: 80%; } #cb-pl1-85:checked ~ #game #piece-player-1 { left: 40%; bottom: 80%; } #cb-pl1-86:checked ~ #game #piece-player-1 { left: 50%; bottom: 80%; } #cb-pl1-87:checked ~ #game #piece-player-1 { left: 60%; bottom: 80%; } #cb-pl1-88:checked ~ #game #piece-player-1 { left: 70%; bottom: 80%; } #cb-pl1-89:checked ~ #game #piece-player-1 { left: 80%; bottom: 80%; } #cb-pl1-90:checked ~ #game #piece-player-1 { left: 90%; bottom: 80%; } #cb-pl1-91:checked ~ #game #piece-player-1 { left: 90%; bottom: 90%; } #cb-pl1-92:checked ~ #game #piece-player-1 { left: 80%; bottom: 90%; } #cb-pl1-93:checked ~ #game #piece-player-1 { left: 70%; bottom: 90%; } #cb-pl1-94:checked ~ #game #piece-player-1 { left: 60%; bottom: 90%; } #cb-pl1-95:checked ~ #game #piece-player-1 { left: 50%; bottom: 90%; } #cb-pl1-96:checked ~ #game #piece-player-1 { left: 40%; bottom: 90%; } #cb-pl1-97:checked ~ #game #piece-player-1 { left: 30%; bottom: 90%; } #cb-pl1-98:checked ~ #game #piece-player-1 { left: 20%; bottom: 90%; } #cb-pl1-99:checked ~ #game #piece-player-1 { left: 10%; bottom: 90%; } #cb-pl1-100:checked ~ #game #piece-player-1 { left: 0%; bottom: 90%; } #cb-pl1-101:checked ~ #game #piece-player-1 { left: 0; bottom: 90%; } #cb-pl1-102:checked ~ #game #piece-player-1 { left: 0; bottom: 90%; } #cb-pl1-103:checked ~ #game #piece-player-1 { left: 0; bottom: 90%; } #cb-pl1-104:checked ~ #game #piece-player-1 { left: 0; bottom: 90%; } #cb-pl1-105:checked ~ #game #piece-player-1 { left: 0; bottom: 90%; } #cb-pl1-106:checked ~ #game #piece-player-1 { left: 0; bottom: 90%; } #cb-pl2-0:checked ~ #game #piece-player-2 { left: -10%; bottom: 0; } #cb-pl2-1:checked ~ #game #piece-player-2 { left: 0%; bottom: 0%; } #cb-pl2-2:checked ~ #game #piece-player-2 { left: 10%; bottom: 0%; } #cb-pl2-3:checked ~ #game #piece-player-2 { left: 20%; bottom: 0%; } #cb-pl2-4:checked ~ #game #piece-player-2 { left: 30%; bottom: 0%; } #cb-pl2-5:checked ~ #game #piece-player-2 { left: 40%; bottom: 0%; } #cb-pl2-6:checked ~ #game #piece-player-2 { left: 50%; bottom: 0%; } #cb-pl2-7:checked ~ #game #piece-player-2 { left: 60%; bottom: 0%; } #cb-pl2-8:checked ~ #game #piece-player-2 { left: 70%; bottom: 0%; } #cb-pl2-9:checked ~ #game #piece-player-2 { left: 80%; bottom: 0%; } #cb-pl2-10:checked ~ #game #piece-player-2 { left: 90%; bottom: 0%; } #cb-pl2-11:checked ~ #game #piece-player-2 { left: 90%; bottom: 10%; } #cb-pl2-12:checked ~ #game #piece-player-2 { left: 80%; bottom: 10%; } #cb-pl2-13:checked ~ #game #piece-player-2 { left: 70%; bottom: 10%; } #cb-pl2-14:checked ~ #game #piece-player-2 { left: 60%; bottom: 10%; } #cb-pl2-15:checked ~ #game #piece-player-2 { left: 50%; bottom: 10%; } #cb-pl2-16:checked ~ #game #piece-player-2 { left: 40%; bottom: 10%; } #cb-pl2-17:checked ~ #game #piece-player-2 { left: 30%; bottom: 10%; } #cb-pl2-18:checked ~ #game #piece-player-2 { left: 20%; bottom: 10%; } #cb-pl2-19:checked ~ #game #piece-player-2 { left: 10%; bottom: 10%; } #cb-pl2-20:checked ~ #game #piece-player-2 { left: 0%; bottom: 10%; } #cb-pl2-21:checked ~ #game #piece-player-2 { left: 0%; bottom: 20%; } #cb-pl2-22:checked ~ #game #piece-player-2 { left: 10%; bottom: 20%; } #cb-pl2-23:checked ~ #game #piece-player-2 { left: 20%; bottom: 20%; } #cb-pl2-24:checked ~ #game #piece-player-2 { left: 30%; bottom: 20%; } #cb-pl2-25:checked ~ #game #piece-player-2 { left: 40%; bottom: 20%; } #cb-pl2-26:checked ~ #game #piece-player-2 { left: 50%; bottom: 20%; } #cb-pl2-27:checked ~ #game #piece-player-2 { left: 60%; bottom: 20%; } #cb-pl2-28:checked ~ #game #piece-player-2 { left: 70%; bottom: 20%; } #cb-pl2-29:checked ~ #game #piece-player-2 { left: 80%; bottom: 20%; } #cb-pl2-30:checked ~ #game #piece-player-2 { left: 90%; bottom: 20%; } #cb-pl2-31:checked ~ #game #piece-player-2 { left: 90%; bottom: 30%; } #cb-pl2-32:checked ~ #game #piece-player-2 { left: 80%; bottom: 30%; } #cb-pl2-33:checked ~ #game #piece-player-2 { left: 70%; bottom: 30%; } #cb-pl2-34:checked ~ #game #piece-player-2 { left: 60%; bottom: 30%; } #cb-pl2-35:checked ~ #game #piece-player-2 { left: 50%; bottom: 30%; } #cb-pl2-36:checked ~ #game #piece-player-2 { left: 40%; bottom: 30%; } #cb-pl2-37:checked ~ #game #piece-player-2 { left: 30%; bottom: 30%; } #cb-pl2-38:checked ~ #game #piece-player-2 { left: 20%; bottom: 30%; } #cb-pl2-39:checked ~ #game #piece-player-2 { left: 10%; bottom: 30%; } #cb-pl2-40:checked ~ #game #piece-player-2 { left: 0%; bottom: 30%; } #cb-pl2-41:checked ~ #game #piece-player-2 { left: 0%; bottom: 40%; } #cb-pl2-42:checked ~ #game #piece-player-2 { left: 10%; bottom: 40%; } #cb-pl2-43:checked ~ #game #piece-player-2 { left: 20%; bottom: 40%; } #cb-pl2-44:checked ~ #game #piece-player-2 { left: 30%; bottom: 40%; } #cb-pl2-45:checked ~ #game #piece-player-2 { left: 40%; bottom: 40%; } #cb-pl2-46:checked ~ #game #piece-player-2 { left: 50%; bottom: 40%; } #cb-pl2-47:checked ~ #game #piece-player-2 { left: 60%; bottom: 40%; } #cb-pl2-48:checked ~ #game #piece-player-2 { left: 70%; bottom: 40%; } #cb-pl2-49:checked ~ #game #piece-player-2 { left: 80%; bottom: 40%; } #cb-pl2-50:checked ~ #game #piece-player-2 { left: 90%; bottom: 40%; } #cb-pl2-51:checked ~ #game #piece-player-2 { left: 90%; bottom: 50%; } #cb-pl2-52:checked ~ #game #piece-player-2 { left: 80%; bottom: 50%; } #cb-pl2-53:checked ~ #game #piece-player-2 { left: 70%; bottom: 50%; } #cb-pl2-54:checked ~ #game #piece-player-2 { left: 60%; bottom: 50%; } #cb-pl2-55:checked ~ #game #piece-player-2 { left: 50%; bottom: 50%; } #cb-pl2-56:checked ~ #game #piece-player-2 { left: 40%; bottom: 50%; } #cb-pl2-57:checked ~ #game #piece-player-2 { left: 30%; bottom: 50%; } #cb-pl2-58:checked ~ #game #piece-player-2 { left: 20%; bottom: 50%; } #cb-pl2-59:checked ~ #game #piece-player-2 { left: 10%; bottom: 50%; } #cb-pl2-60:checked ~ #game #piece-player-2 { left: 0%; bottom: 50%; } #cb-pl2-61:checked ~ #game #piece-player-2 { left: 0%; bottom: 60%; } #cb-pl2-62:checked ~ #game #piece-player-2 { left: 10%; bottom: 60%; } #cb-pl2-63:checked ~ #game #piece-player-2 { left: 20%; bottom: 60%; } #cb-pl2-64:checked ~ #game #piece-player-2 { left: 30%; bottom: 60%; } #cb-pl2-65:checked ~ #game #piece-player-2 { left: 40%; bottom: 60%; } #cb-pl2-66:checked ~ #game #piece-player-2 { left: 50%; bottom: 60%; } #cb-pl2-67:checked ~ #game #piece-player-2 { left: 60%; bottom: 60%; } #cb-pl2-68:checked ~ #game #piece-player-2 { left: 70%; bottom: 60%; } #cb-pl2-69:checked ~ #game #piece-player-2 { left: 80%; bottom: 60%; } #cb-pl2-70:checked ~ #game #piece-player-2 { left: 90%; bottom: 60%; } #cb-pl2-71:checked ~ #game #piece-player-2 { left: 90%; bottom: 70%; } #cb-pl2-72:checked ~ #game #piece-player-2 { left: 80%; bottom: 70%; } #cb-pl2-73:checked ~ #game #piece-player-2 { left: 70%; bottom: 70%; } #cb-pl2-74:checked ~ #game #piece-player-2 { left: 60%; bottom: 70%; } #cb-pl2-75:checked ~ #game #piece-player-2 { left: 50%; bottom: 70%; } #cb-pl2-76:checked ~ #game #piece-player-2 { left: 40%; bottom: 70%; } #cb-pl2-77:checked ~ #game #piece-player-2 { left: 30%; bottom: 70%; } #cb-pl2-78:checked ~ #game #piece-player-2 { left: 20%; bottom: 70%; } #cb-pl2-79:checked ~ #game #piece-player-2 { left: 10%; bottom: 70%; } #cb-pl2-80:checked ~ #game #piece-player-2 { left: 0%; bottom: 70%; } #cb-pl2-81:checked ~ #game #piece-player-2 { left: 0%; bottom: 80%; } #cb-pl2-82:checked ~ #game #piece-player-2 { left: 10%; bottom: 80%; } #cb-pl2-83:checked ~ #game #piece-player-2 { left: 20%; bottom: 80%; } #cb-pl2-84:checked ~ #game #piece-player-2 { left: 30%; bottom: 80%; } #cb-pl2-85:checked ~ #game #piece-player-2 { left: 40%; bottom: 80%; } #cb-pl2-86:checked ~ #game #piece-player-2 { left: 50%; bottom: 80%; } #cb-pl2-87:checked ~ #game #piece-player-2 { left: 60%; bottom: 80%; } #cb-pl2-88:checked ~ #game #piece-player-2 { left: 70%; bottom: 80%; } #cb-pl2-89:checked ~ #game #piece-player-2 { left: 80%; bottom: 80%; } #cb-pl2-90:checked ~ #game #piece-player-2 { left: 90%; bottom: 80%; } #cb-pl2-91:checked ~ #game #piece-player-2 { left: 90%; bottom: 90%; } #cb-pl2-92:checked ~ #game #piece-player-2 { left: 80%; bottom: 90%; } #cb-pl2-93:checked ~ #game #piece-player-2 { left: 70%; bottom: 90%; } #cb-pl2-94:checked ~ #game #piece-player-2 { left: 60%; bottom: 90%; } #cb-pl2-95:checked ~ #game #piece-player-2 { left: 50%; bottom: 90%; } #cb-pl2-96:checked ~ #game #piece-player-2 { left: 40%; bottom: 90%; } #cb-pl2-97:checked ~ #game #piece-player-2 { left: 30%; bottom: 90%; } #cb-pl2-98:checked ~ #game #piece-player-2 { left: 20%; bottom: 90%; } #cb-pl2-99:checked ~ #game #piece-player-2 { left: 10%; bottom: 90%; } #cb-pl2-100:checked ~ #game #piece-player-2 { left: 0%; bottom: 90%; } #cb-pl2-101:checked ~ #game #piece-player-2 { left: 0; bottom: 90%; } #cb-pl2-102:checked ~ #game #piece-player-2 { left: 0; bottom: 90%; } #cb-pl2-103:checked ~ #game #piece-player-2 { left: 0; bottom: 90%; } #cb-pl2-104:checked ~ #game #piece-player-2 { left: 0; bottom: 90%; } #cb-pl2-105:checked ~ #game #piece-player-2 { left: 0; bottom: 90%; } #cb-pl2-106:checked ~ #game #piece-player-2 { left: 0; bottom: 90%; } #cb-pl3-0:checked ~ #game #piece-player-3 { left: -10%; bottom: 0; } #cb-pl3-1:checked ~ #game #piece-player-3 { left: 0%; bottom: 0%; } #cb-pl3-2:checked ~ #game #piece-player-3 { left: 10%; bottom: 0%; } #cb-pl3-3:checked ~ #game #piece-player-3 { left: 20%; bottom: 0%; } #cb-pl3-4:checked ~ #game #piece-player-3 { left: 30%; bottom: 0%; } #cb-pl3-5:checked ~ #game #piece-player-3 { left: 40%; bottom: 0%; } #cb-pl3-6:checked ~ #game #piece-player-3 { left: 50%; bottom: 0%; } #cb-pl3-7:checked ~ #game #piece-player-3 { left: 60%; bottom: 0%; } #cb-pl3-8:checked ~ #game #piece-player-3 { left: 70%; bottom: 0%; } #cb-pl3-9:checked ~ #game #piece-player-3 { left: 80%; bottom: 0%; } #cb-pl3-10:checked ~ #game #piece-player-3 { left: 90%; bottom: 0%; } #cb-pl3-11:checked ~ #game #piece-player-3 { left: 90%; bottom: 10%; } #cb-pl3-12:checked ~ #game #piece-player-3 { left: 80%; bottom: 10%; } #cb-pl3-13:checked ~ #game #piece-player-3 { left: 70%; bottom: 10%; } #cb-pl3-14:checked ~ #game #piece-player-3 { left: 60%; bottom: 10%; } #cb-pl3-15:checked ~ #game #piece-player-3 { left: 50%; bottom: 10%; } #cb-pl3-16:checked ~ #game #piece-player-3 { left: 40%; bottom: 10%; } #cb-pl3-17:checked ~ #game #piece-player-3 { left: 30%; bottom: 10%; } #cb-pl3-18:checked ~ #game #piece-player-3 { left: 20%; bottom: 10%; } #cb-pl3-19:checked ~ #game #piece-player-3 { left: 10%; bottom: 10%; } #cb-pl3-20:checked ~ #game #piece-player-3 { left: 0%; bottom: 10%; } #cb-pl3-21:checked ~ #game #piece-player-3 { left: 0%; bottom: 20%; } #cb-pl3-22:checked ~ #game #piece-player-3 { left: 10%; bottom: 20%; } #cb-pl3-23:checked ~ #game #piece-player-3 { left: 20%; bottom: 20%; } #cb-pl3-24:checked ~ #game #piece-player-3 { left: 30%; bottom: 20%; } #cb-pl3-25:checked ~ #game #piece-player-3 { left: 40%; bottom: 20%; } #cb-pl3-26:checked ~ #game #piece-player-3 { left: 50%; bottom: 20%; } #cb-pl3-27:checked ~ #game #piece-player-3 { left: 60%; bottom: 20%; } #cb-pl3-28:checked ~ #game #piece-player-3 { left: 70%; bottom: 20%; } #cb-pl3-29:checked ~ #game #piece-player-3 { left: 80%; bottom: 20%; } #cb-pl3-30:checked ~ #game #piece-player-3 { left: 90%; bottom: 20%; } #cb-pl3-31:checked ~ #game #piece-player-3 { left: 90%; bottom: 30%; } #cb-pl3-32:checked ~ #game #piece-player-3 { left: 80%; bottom: 30%; } #cb-pl3-33:checked ~ #game #piece-player-3 { left: 70%; bottom: 30%; } #cb-pl3-34:checked ~ #game #piece-player-3 { left: 60%; bottom: 30%; } #cb-pl3-35:checked ~ #game #piece-player-3 { left: 50%; bottom: 30%; } #cb-pl3-36:checked ~ #game #piece-player-3 { left: 40%; bottom: 30%; } #cb-pl3-37:checked ~ #game #piece-player-3 { left: 30%; bottom: 30%; } #cb-pl3-38:checked ~ #game #piece-player-3 { left: 20%; bottom: 30%; } #cb-pl3-39:checked ~ #game #piece-player-3 { left: 10%; bottom: 30%; } #cb-pl3-40:checked ~ #game #piece-player-3 { left: 0%; bottom: 30%; } #cb-pl3-41:checked ~ #game #piece-player-3 { left: 0%; bottom: 40%; } #cb-pl3-42:checked ~ #game #piece-player-3 { left: 10%; bottom: 40%; } #cb-pl3-43:checked ~ #game #piece-player-3 { left: 20%; bottom: 40%; } #cb-pl3-44:checked ~ #game #piece-player-3 { left: 30%; bottom: 40%; } #cb-pl3-45:checked ~ #game #piece-player-3 { left: 40%; bottom: 40%; } #cb-pl3-46:checked ~ #game #piece-player-3 { left: 50%; bottom: 40%; } #cb-pl3-47:checked ~ #game #piece-player-3 { left: 60%; bottom: 40%; } #cb-pl3-48:checked ~ #game #piece-player-3 { left: 70%; bottom: 40%; } #cb-pl3-49:checked ~ #game #piece-player-3 { left: 80%; bottom: 40%; } #cb-pl3-50:checked ~ #game #piece-player-3 { left: 90%; bottom: 40%; } #cb-pl3-51:checked ~ #game #piece-player-3 { left: 90%; bottom: 50%; } #cb-pl3-52:checked ~ #game #piece-player-3 { left: 80%; bottom: 50%; } #cb-pl3-53:checked ~ #game #piece-player-3 { left: 70%; bottom: 50%; } #cb-pl3-54:checked ~ #game #piece-player-3 { left: 60%; bottom: 50%; } #cb-pl3-55:checked ~ #game #piece-player-3 { left: 50%; bottom: 50%; } #cb-pl3-56:checked ~ #game #piece-player-3 { left: 40%; bottom: 50%; } #cb-pl3-57:checked ~ #game #piece-player-3 { left: 30%; bottom: 50%; } #cb-pl3-58:checked ~ #game #piece-player-3 { left: 20%; bottom: 50%; } #cb-pl3-59:checked ~ #game #piece-player-3 { left: 10%; bottom: 50%; } #cb-pl3-60:checked ~ #game #piece-player-3 { left: 0%; bottom: 50%; } #cb-pl3-61:checked ~ #game #piece-player-3 { left: 0%; bottom: 60%; } #cb-pl3-62:checked ~ #game #piece-player-3 { left: 10%; bottom: 60%; } #cb-pl3-63:checked ~ #game #piece-player-3 { left: 20%; bottom: 60%; } #cb-pl3-64:checked ~ #game #piece-player-3 { left: 30%; bottom: 60%; } #cb-pl3-65:checked ~ #game #piece-player-3 { left: 40%; bottom: 60%; } #cb-pl3-66:checked ~ #game #piece-player-3 { left: 50%; bottom: 60%; } #cb-pl3-67:checked ~ #game #piece-player-3 { left: 60%; bottom: 60%; } #cb-pl3-68:checked ~ #game #piece-player-3 { left: 70%; bottom: 60%; } #cb-pl3-69:checked ~ #game #piece-player-3 { left: 80%; bottom: 60%; } #cb-pl3-70:checked ~ #game #piece-player-3 { left: 90%; bottom: 60%; } #cb-pl3-71:checked ~ #game #piece-player-3 { left: 90%; bottom: 70%; } #cb-pl3-72:checked ~ #game #piece-player-3 { left: 80%; bottom: 70%; } #cb-pl3-73:checked ~ #game #piece-player-3 { left: 70%; bottom: 70%; } #cb-pl3-74:checked ~ #game #piece-player-3 { left: 60%; bottom: 70%; } #cb-pl3-75:checked ~ #game #piece-player-3 { left: 50%; bottom: 70%; } #cb-pl3-76:checked ~ #game #piece-player-3 { left: 40%; bottom: 70%; } #cb-pl3-77:checked ~ #game #piece-player-3 { left: 30%; bottom: 70%; } #cb-pl3-78:checked ~ #game #piece-player-3 { left: 20%; bottom: 70%; } #cb-pl3-79:checked ~ #game #piece-player-3 { left: 10%; bottom: 70%; } #cb-pl3-80:checked ~ #game #piece-player-3 { left: 0%; bottom: 70%; } #cb-pl3-81:checked ~ #game #piece-player-3 { left: 0%; bottom: 80%; } #cb-pl3-82:checked ~ #game #piece-player-3 { left: 10%; bottom: 80%; } #cb-pl3-83:checked ~ #game #piece-player-3 { left: 20%; bottom: 80%; } #cb-pl3-84:checked ~ #game #piece-player-3 { left: 30%; bottom: 80%; } #cb-pl3-85:checked ~ #game #piece-player-3 { left: 40%; bottom: 80%; } #cb-pl3-86:checked ~ #game #piece-player-3 { left: 50%; bottom: 80%; } #cb-pl3-87:checked ~ #game #piece-player-3 { left: 60%; bottom: 80%; } #cb-pl3-88:checked ~ #game #piece-player-3 { left: 70%; bottom: 80%; } #cb-pl3-89:checked ~ #game #piece-player-3 { left: 80%; bottom: 80%; } #cb-pl3-90:checked ~ #game #piece-player-3 { left: 90%; bottom: 80%; } #cb-pl3-91:checked ~ #game #piece-player-3 { left: 90%; bottom: 90%; } #cb-pl3-92:checked ~ #game #piece-player-3 { left: 80%; bottom: 90%; } #cb-pl3-93:checked ~ #game #piece-player-3 { left: 70%; bottom: 90%; } #cb-pl3-94:checked ~ #game #piece-player-3 { left: 60%; bottom: 90%; } #cb-pl3-95:checked ~ #game #piece-player-3 { left: 50%; bottom: 90%; } #cb-pl3-96:checked ~ #game #piece-player-3 { left: 40%; bottom: 90%; } #cb-pl3-97:checked ~ #game #piece-player-3 { left: 30%; bottom: 90%; } #cb-pl3-98:checked ~ #game #piece-player-3 { left: 20%; bottom: 90%; } #cb-pl3-99:checked ~ #game #piece-player-3 { left: 10%; bottom: 90%; } #cb-pl3-100:checked ~ #game #piece-player-3 { left: 0%; bottom: 90%; } #cb-pl3-101:checked ~ #game #piece-player-3 { left: 0; bottom: 90%; } #cb-pl3-102:checked ~ #game #piece-player-3 { left: 0; bottom: 90%; } #cb-pl3-103:checked ~ #game #piece-player-3 { left: 0; bottom: 90%; } #cb-pl3-104:checked ~ #game #piece-player-3 { left: 0; bottom: 90%; } #cb-pl3-105:checked ~ #game #piece-player-3 { left: 0; bottom: 90%; } #cb-pl3-106:checked ~ #game #piece-player-3 { left: 0; bottom: 90%; } #cb-pl4-0:checked ~ #game #piece-player-4 { left: -10%; bottom: 0; } #cb-pl4-1:checked ~ #game #piece-player-4 { left: 0%; bottom: 0%; } #cb-pl4-2:checked ~ #game #piece-player-4 { left: 10%; bottom: 0%; } #cb-pl4-3:checked ~ #game #piece-player-4 { left: 20%; bottom: 0%; } #cb-pl4-4:checked ~ #game #piece-player-4 { left: 30%; bottom: 0%; } #cb-pl4-5:checked ~ #game #piece-player-4 { left: 40%; bottom: 0%; } #cb-pl4-6:checked ~ #game #piece-player-4 { left: 50%; bottom: 0%; } #cb-pl4-7:checked ~ #game #piece-player-4 { left: 60%; bottom: 0%; } #cb-pl4-8:checked ~ #game #piece-player-4 { left: 70%; bottom: 0%; } #cb-pl4-9:checked ~ #game #piece-player-4 { left: 80%; bottom: 0%; } #cb-pl4-10:checked ~ #game #piece-player-4 { left: 90%; bottom: 0%; } #cb-pl4-11:checked ~ #game #piece-player-4 { left: 90%; bottom: 10%; } #cb-pl4-12:checked ~ #game #piece-player-4 { left: 80%; bottom: 10%; } #cb-pl4-13:checked ~ #game #piece-player-4 { left: 70%; bottom: 10%; } #cb-pl4-14:checked ~ #game #piece-player-4 { left: 60%; bottom: 10%; } #cb-pl4-15:checked ~ #game #piece-player-4 { left: 50%; bottom: 10%; } #cb-pl4-16:checked ~ #game #piece-player-4 { left: 40%; bottom: 10%; } #cb-pl4-17:checked ~ #game #piece-player-4 { left: 30%; bottom: 10%; } #cb-pl4-18:checked ~ #game #piece-player-4 { left: 20%; bottom: 10%; } #cb-pl4-19:checked ~ #game #piece-player-4 { left: 10%; bottom: 10%; } #cb-pl4-20:checked ~ #game #piece-player-4 { left: 0%; bottom: 10%; } #cb-pl4-21:checked ~ #game #piece-player-4 { left: 0%; bottom: 20%; } #cb-pl4-22:checked ~ #game #piece-player-4 { left: 10%; bottom: 20%; } #cb-pl4-23:checked ~ #game #piece-player-4 { left: 20%; bottom: 20%; } #cb-pl4-24:checked ~ #game #piece-player-4 { left: 30%; bottom: 20%; } #cb-pl4-25:checked ~ #game #piece-player-4 { left: 40%; bottom: 20%; } #cb-pl4-26:checked ~ #game #piece-player-4 { left: 50%; bottom: 20%; } #cb-pl4-27:checked ~ #game #piece-player-4 { left: 60%; bottom: 20%; } #cb-pl4-28:checked ~ #game #piece-player-4 { left: 70%; bottom: 20%; } #cb-pl4-29:checked ~ #game #piece-player-4 { left: 80%; bottom: 20%; } #cb-pl4-30:checked ~ #game #piece-player-4 { left: 90%; bottom: 20%; } #cb-pl4-31:checked ~ #game #piece-player-4 { left: 90%; bottom: 30%; } #cb-pl4-32:checked ~ #game #piece-player-4 { left: 80%; bottom: 30%; } #cb-pl4-33:checked ~ #game #piece-player-4 { left: 70%; bottom: 30%; } #cb-pl4-34:checked ~ #game #piece-player-4 { left: 60%; bottom: 30%; } #cb-pl4-35:checked ~ #game #piece-player-4 { left: 50%; bottom: 30%; } #cb-pl4-36:checked ~ #game #piece-player-4 { left: 40%; bottom: 30%; } #cb-pl4-37:checked ~ #game #piece-player-4 { left: 30%; bottom: 30%; } #cb-pl4-38:checked ~ #game #piece-player-4 { left: 20%; bottom: 30%; } #cb-pl4-39:checked ~ #game #piece-player-4 { left: 10%; bottom: 30%; } #cb-pl4-40:checked ~ #game #piece-player-4 { left: 0%; bottom: 30%; } #cb-pl4-41:checked ~ #game #piece-player-4 { left: 0%; bottom: 40%; } #cb-pl4-42:checked ~ #game #piece-player-4 { left: 10%; bottom: 40%; } #cb-pl4-43:checked ~ #game #piece-player-4 { left: 20%; bottom: 40%; } #cb-pl4-44:checked ~ #game #piece-player-4 { left: 30%; bottom: 40%; } #cb-pl4-45:checked ~ #game #piece-player-4 { left: 40%; bottom: 40%; } #cb-pl4-46:checked ~ #game #piece-player-4 { left: 50%; bottom: 40%; } #cb-pl4-47:checked ~ #game #piece-player-4 { left: 60%; bottom: 40%; } #cb-pl4-48:checked ~ #game #piece-player-4 { left: 70%; bottom: 40%; } #cb-pl4-49:checked ~ #game #piece-player-4 { left: 80%; bottom: 40%; } #cb-pl4-50:checked ~ #game #piece-player-4 { left: 90%; bottom: 40%; } #cb-pl4-51:checked ~ #game #piece-player-4 { left: 90%; bottom: 50%; } #cb-pl4-52:checked ~ #game #piece-player-4 { left: 80%; bottom: 50%; } #cb-pl4-53:checked ~ #game #piece-player-4 { left: 70%; bottom: 50%; } #cb-pl4-54:checked ~ #game #piece-player-4 { left: 60%; bottom: 50%; } #cb-pl4-55:checked ~ #game #piece-player-4 { left: 50%; bottom: 50%; } #cb-pl4-56:checked ~ #game #piece-player-4 { left: 40%; bottom: 50%; } #cb-pl4-57:checked ~ #game #piece-player-4 { left: 30%; bottom: 50%; } #cb-pl4-58:checked ~ #game #piece-player-4 { left: 20%; bottom: 50%; } #cb-pl4-59:checked ~ #game #piece-player-4 { left: 10%; bottom: 50%; } #cb-pl4-60:checked ~ #game #piece-player-4 { left: 0%; bottom: 50%; } #cb-pl4-61:checked ~ #game #piece-player-4 { left: 0%; bottom: 60%; } #cb-pl4-62:checked ~ #game #piece-player-4 { left: 10%; bottom: 60%; } #cb-pl4-63:checked ~ #game #piece-player-4 { left: 20%; bottom: 60%; } #cb-pl4-64:checked ~ #game #piece-player-4 { left: 30%; bottom: 60%; } #cb-pl4-65:checked ~ #game #piece-player-4 { left: 40%; bottom: 60%; } #cb-pl4-66:checked ~ #game #piece-player-4 { left: 50%; bottom: 60%; } #cb-pl4-67:checked ~ #game #piece-player-4 { left: 60%; bottom: 60%; } #cb-pl4-68:checked ~ #game #piece-player-4 { left: 70%; bottom: 60%; } #cb-pl4-69:checked ~ #game #piece-player-4 { left: 80%; bottom: 60%; } #cb-pl4-70:checked ~ #game #piece-player-4 { left: 90%; bottom: 60%; } #cb-pl4-71:checked ~ #game #piece-player-4 { left: 90%; bottom: 70%; } #cb-pl4-72:checked ~ #game #piece-player-4 { left: 80%; bottom: 70%; } #cb-pl4-73:checked ~ #game #piece-player-4 { left: 70%; bottom: 70%; } #cb-pl4-74:checked ~ #game #piece-player-4 { left: 60%; bottom: 70%; } #cb-pl4-75:checked ~ #game #piece-player-4 { left: 50%; bottom: 70%; } #cb-pl4-76:checked ~ #game #piece-player-4 { left: 40%; bottom: 70%; } #cb-pl4-77:checked ~ #game #piece-player-4 { left: 30%; bottom: 70%; } #cb-pl4-78:checked ~ #game #piece-player-4 { left: 20%; bottom: 70%; } #cb-pl4-79:checked ~ #game #piece-player-4 { left: 10%; bottom: 70%; } #cb-pl4-80:checked ~ #game #piece-player-4 { left: 0%; bottom: 70%; } #cb-pl4-81:checked ~ #game #piece-player-4 { left: 0%; bottom: 80%; } #cb-pl4-82:checked ~ #game #piece-player-4 { left: 10%; bottom: 80%; } #cb-pl4-83:checked ~ #game #piece-player-4 { left: 20%; bottom: 80%; } #cb-pl4-84:checked ~ #game #piece-player-4 { left: 30%; bottom: 80%; } #cb-pl4-85:checked ~ #game #piece-player-4 { left: 40%; bottom: 80%; } #cb-pl4-86:checked ~ #game #piece-player-4 { left: 50%; bottom: 80%; } #cb-pl.........完整代码请登录后点击上方下载按钮下载查看
网友评论0