From 672b4290da7fedc3a1d7338bf44003c28ad734fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=A2=E7=9B=AE=E9=A6=99=E8=96=B0?= Date: Mon, 24 Oct 2022 18:22:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=B0=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style.css | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 src/style.css diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..189cb69 --- /dev/null +++ b/src/style.css @@ -0,0 +1,119 @@ +* { + margin: 0px; + padding: 0px; + box-sizing: border-box; +} + +ul { + list-style: none; +} + +.app { + margin: 0px auto; + width: 80%; + height: 100vh; + background-color: lightblue; +} + +.title { + font-size: 50%; + text-align: center; + height: 8vh; + line-height: 8vh; +} + +.game { + width: 100%; + height: 70vh; + border-bottom: 1px solid gray; +} + +.info { + width: 100%; + height: 22vh; + line-height: 22vh; + margin: 0px auto; +} + +.box { + width: 33.3%; + height: 23.3vh; + position: relative; + float: left; + text-align: center; + font-size: 3rem; + line-height: 23.3vh; +} + +.top { + left: 33.3%; +} + +.left { + left: -33.3%; + top: 23.3vh; +} + +.right { + right: 0px; + top: 23.3vh; +} + +.bottom { + left: 33.3%; + top: 23.3vh; +} + +.center { + background-color: skyblue; + border-radius: 90px; + text-align: center; + font-size: 50%; + line-height: 23.3vh; + cursor: pointer; + color: gray; +} + +.center:hover { + background-color: rgb(55, 176, 224); + color: white; +} + +.bottom_box { + width: 16.7%; + height: 7.3vh; + line-height: 7.3vh; + float: left; + background-color: lightslategray; + position: relative; + text-align: center; +} + +.bottom_top { + border-radius: 90px 90px 0px 0px; + left: 42%; +} + +.bottom_left { + border-radius: 90px 0px 0px 90px; + top: 33%; + left: 8.6%; +} + +.bottom_right { + border-radius: 0px 90px 90px 0px; + top: 33%; + left: 25.3%; +} + +.bottom_bottom { + border-radius: 0px 0px 90px 90px; + top: 66%; + left: -8.1%; +} + +.bottom_center { + width: 30%; + background-color: lightblue; + font-size: 50%; +} \ No newline at end of file -- GitLab