-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5e3ebd5
Showing
7 changed files
with
429 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
body { | ||
background: rgb(225, 225, 225); | ||
} | ||
|
||
.gameboard{ | ||
position: relative; | ||
height: 600px; | ||
width: 600px; | ||
background: #272822; | ||
display: block; | ||
border-radius: 50%; | ||
margin: 0 auto; | ||
margin-top: 25px; | ||
} | ||
|
||
.pieceboard{ | ||
background: pink; | ||
overflow: hidden; | ||
position: relative; | ||
display: block; | ||
margin: 0 auto; | ||
height: 500px; | ||
width: 500px; | ||
top: 50px; | ||
border-radius: 50%; | ||
} | ||
|
||
.separator { | ||
width: 600px; | ||
height: 600px; | ||
display: block; | ||
margin: 0 auto; | ||
position: relative; | ||
} | ||
|
||
.separator:before, .separator:after { | ||
content: ""; | ||
position: absolute; | ||
z-index: 1; | ||
background: #272822; | ||
overflow: visible; | ||
} | ||
|
||
.separator:before { | ||
left: 54%; | ||
width: 30px; | ||
margin-left: -15%; | ||
height: 100%; | ||
margin-top: -50px; | ||
} | ||
|
||
.separator:after { | ||
top: 50%; | ||
height: 30px; | ||
margin-top: -10%; | ||
margin-left: -50px; | ||
width: 100%; | ||
} | ||
|
||
.console-rim { | ||
position: absolute; | ||
top: 125px; | ||
left: 125px; | ||
z-index: 2; | ||
width: 250px; | ||
height: 250px; | ||
border-radius: 50%; | ||
background: #272822; | ||
} | ||
|
||
.console { | ||
position: absolute; | ||
top: 25px; | ||
left: 25px; | ||
z-index: 1; | ||
width: 200px; | ||
height: 200px; | ||
border-radius: 50%; | ||
background: rgb(189, 189, 189); | ||
} | ||
|
||
.play { | ||
width: 300px; | ||
height: 300px; | ||
/*margin: 75px 30px;*/ | ||
} | ||
|
||
#green, #red, #yellow, #blue { | ||
position: absolute; | ||
background: rgb(142, 142, 142); | ||
} | ||
|
||
#green { | ||
left: -50px; | ||
top: -50px; | ||
} | ||
|
||
#red { | ||
left: 250px; | ||
top: -50px; | ||
} | ||
|
||
#yellow { | ||
left: -50px; | ||
bottom: -50px; | ||
} | ||
|
||
#blue { | ||
left: 250px; | ||
bottom: -50px; | ||
} | ||
|
||
.title { | ||
padding-top: 10px; | ||
margin-left: 50px; | ||
} | ||
|
||
.btn-circle { | ||
width: 40px; | ||
height: 40px; | ||
text-align: center; | ||
padding: 6px 0; | ||
font-size: 16px; | ||
line-height: 1.428571429; | ||
border-radius: 50%; | ||
} | ||
|
||
.level-indicator { | ||
position: absolute; | ||
margin-left: 40px; | ||
width: 48px; | ||
height: 60px; | ||
background: rgb(178,8,8); | ||
background: rgba(178, 8, 8, 0.5); | ||
font-size: 42px; | ||
font-weight: bold; | ||
color: rgb(35, 22, 22); | ||
} | ||
|
||
.startgame-body { | ||
margin-left: 105px; | ||
margin-top: -8px; | ||
} | ||
|
||
.strict-game { | ||
margin-left: 125px; | ||
} | ||
|
||
.notify { | ||
position: relative; | ||
width: 350px; | ||
height: 25px; | ||
display: none; | ||
margin: 0 auto; | ||
margin-bottom: -15px; | ||
text-align: center; | ||
background: rgb(106, 169, 237); | ||
font-size: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title></title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<!-- Le styles --> | ||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="index.css" rel="stylesheet"> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="container"> | ||
<div class="notify">This is a test!</div> | ||
<div class="gameboard"> | ||
<div class="pieceboard"> | ||
<div class="separator"> | ||
|
||
<div class="row"> | ||
<div class="col-xs-6 play" id="green"></div> | ||
<div class="col-xs-6 play" id="red"></div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="console-rim"> | ||
<div class="console"> | ||
<div class="title"> | ||
<h1>Simon</h1> | ||
</div> | ||
<div class="level-indicator playlevel text-center">--</div> | ||
<div class="startgame-body"><button class="startgame btn btn-primary btn-circle">Start</button></div> | ||
<div class="strict-game"><button class="btn btn-info btn-circle">Strict</button></div> | ||
<div class="power text-center"><button class="btn btn-success btn-circle"><i class="glyphicon glyphicon-off"></i></button></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="row"> | ||
<div class="col-xs-6 play" id="yellow"></div> | ||
<div class="col-xs-6 play" id="blue"></div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Le javascript | ||
================================================== --> | ||
<!-- Placed at the end of the document so the pages load faster --> | ||
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<script src="index.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
Oops, something went wrong.