Skip to content

Commit

Permalink
Merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
jaks6 committed Dec 15, 2015
2 parents 0f527d6 + 56f0b9c commit 05e0035
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1>3D Billiards</h1>
</div>

<div id="controlsHud" class="hide">
<div class="player player1">
<div class="player player1 unknown">
<h5>Player 1 (<span></span>)</h5>

<ul>
Expand All @@ -65,7 +65,7 @@ <h5>Player 1 (<span></span>)</h5>
</ul>
</div>

<div class="player player2">
<div class="player player2 unknown">
<h5>Player 2 (<span></span>)</h5>

<ul>
Expand Down
78 changes: 76 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
width: 20px;
height: 20px;
text-align: center;
background-color: #d3d3d3;
display: block;
border-radius: 20px;
}

Expand Down Expand Up @@ -272,4 +272,78 @@
top: 420px;
left: 810px;
z-index: 1;
}
}

.player ul li {
font-size: 10px;
line-height: 19px;
text-align: center;
}

.player ul li::after {
display: block;
background-color: white;
width: 12px;
height: 12px;
border-radius: 12px;
margin-top: -15px;
content: '';
margin-left: 4px;
z-index: 10;
}

.player.striped ul li::before {
background-image: linear-gradient(#fff 13%, transparent 13%, transparent 87%, #fff 13%);
}

.player.solid ul li::before {
background-image: none;
}

.player ul li::before {
display: block;
border: 1px solid #000;
width: 20px;
height: 20px;
border-radius: 20px;
margin-top: 0;
content: '';
margin-bottom: -20px;
}


.player ul li:nth-child(1) {
background-color: #f5c61f;
}

.player ul li:nth-child(2) {
background-color: #123ecd;
}

.player ul li:nth-child(3) {
background-color: #cd1b12;
}

.player ul li:nth-child(4) {
background-color: #8412cd;
}

.player ul li:nth-child(5) {
background-color: #ff7f00;
}

.player ul li:nth-child(6) {
background-color: #269c0f;
}

.player ul li:nth-child(7) {
background-color: #a20000;
}

.player ul li.pocketed {
opacity: 0.5;
}

.player.unknown ul li {
background-color: #3d3d3d;
}

0 comments on commit 05e0035

Please sign in to comment.