that's tomorrows problem
This commit is contained in:
@@ -18,6 +18,33 @@ body {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#navbar {
|
||||
position: fixed;
|
||||
background-color: blueviolet;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
top: 2px;
|
||||
|
||||
border: black 1px;
|
||||
}
|
||||
|
||||
#navitem {
|
||||
display: flex;
|
||||
padding-right: 2vw;
|
||||
border: 1px black;
|
||||
}
|
||||
|
||||
.navleft {
|
||||
display: flex;
|
||||
padding-left: 2vw;
|
||||
|
||||
flex-grow: 1;
|
||||
order: 0;
|
||||
}
|
||||
|
||||
#lang {
|
||||
position: inherit;
|
||||
text-align: right;
|
||||
|
||||
@@ -49,19 +49,32 @@ score {
|
||||
.dragging-piece {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
font-size: 25px
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
#container {
|
||||
position:static;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#game-info {
|
||||
border: 1px dotted black;
|
||||
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
order: 1;
|
||||
|
||||
height: 600px;
|
||||
/* width: 200px; */
|
||||
}
|
||||
|
||||
#game-container {
|
||||
border: 1px dotted black;
|
||||
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
margin: auto;
|
||||
|
||||
|
||||
width: 700px;
|
||||
height: 700px;
|
||||
}
|
||||
@@ -72,7 +85,6 @@ score {
|
||||
display: table;
|
||||
table-layout: fixed;
|
||||
|
||||
position: static;
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -12,6 +12,14 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="navbar">
|
||||
<div id="navitem" class="navleft">Home</div>
|
||||
<div id="navitem">About</div>
|
||||
<div id="navitem">Rules</div>
|
||||
</div>
|
||||
|
||||
<div id="container">
|
||||
|
||||
<div id="game-container">
|
||||
|
||||
<div id="game-board">
|
||||
@@ -387,6 +395,13 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div id="game-info">
|
||||
</div>
|
||||
|
||||
</div> <!--game container-->
|
||||
</div> <!--container-->
|
||||
|
||||
|
||||
<script src="index.js"></script>
|
||||
<script src="network.js"></script>
|
||||
<script src="dragable.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user