Commit 344b0a98 authored by Chunchi Che's avatar Chunchi Che

update css

parent eaae7951
Pipeline #20071 passed with stages
in 4 minutes and 5 seconds
body {
margin: 0;
justify-content: center;
}
.login_div {
margin: auto;
padding: 10%;
}
.login_p {
text-align: center;
}
.container { .mora_container {
display: flex; display: flex;
margin: auto; margin: auto;
padding: 0; padding: 0;
......
.container { .wait_container {
display: flex; display: flex;
margin: auto; margin: auto;
padding: 0; padding: 0;
......
// ref: https://github.com/jvcjunior/login-react-redux
// thanks!
@charset "utf-8"; @charset "utf-8";
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
...@@ -46,13 +48,13 @@ table { ...@@ -46,13 +48,13 @@ table {
@import @import
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"),
"commom", "commom",
// "alerts",
"header", "header",
"login-form", "login-form",
"sign-in", "sign-in",
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"); "wait-room",
// "loading"; "mora";
* { * {
......
...@@ -18,6 +18,7 @@ import { store } from "../store"; ...@@ -18,6 +18,7 @@ import { store } from "../store";
import { useEffect } from "react"; import { useEffect } from "react";
import { useNavigate } from "react-router-dom"; import { useNavigate } from "react-router-dom";
import { Button } from "antd"; import { Button } from "antd";
import "../styles/core.scss";
// TODO: 应该展示聊天信息 // TODO: 应该展示聊天信息
export default function Mora() { export default function Mora() {
...@@ -59,7 +60,7 @@ export default function Mora() { ...@@ -59,7 +60,7 @@ export default function Mora() {
}; };
return ( return (
<div className="container"> <div className="mora_container">
<div className="item"> <div className="item">
<Button disabled={!selectHandAble} onClick={handleSelectScissors}> <Button disabled={!selectHandAble} onClick={handleSelectScissors}>
scissors scissors
......
...@@ -24,6 +24,7 @@ import sqliteMiddleWare, { sqliteCmd } from "../middleware/sqlite"; ...@@ -24,6 +24,7 @@ import sqliteMiddleWare, { sqliteCmd } from "../middleware/sqlite";
import { Button } from "antd"; import { Button } from "antd";
import { store } from "../store"; import { store } from "../store";
import { initMeExtraDeckMeta } from "../reducers/duel/extraDeckSlice"; import { initMeExtraDeckMeta } from "../reducers/duel/extraDeckSlice";
import "../styles/core.scss";
const READY_STATE = "ready"; const READY_STATE = "ready";
...@@ -87,7 +88,7 @@ export default function WaitRoom() { ...@@ -87,7 +88,7 @@ export default function WaitRoom() {
}; };
return ( return (
<div className="container"> <div className="wait_container">
<div className="playerRegion"> <div className="playerRegion">
<h2>{joined ? "Room Joined!" : "Room Not Joined."}</h2> <h2>{joined ? "Room Joined!" : "Room Not Joined."}</h2>
<p> <p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment