js_backgammon/style.css

219 lines
3.1 KiB
CSS
Raw Normal View History

2018-05-17 22:49:54 +00:00
body {
background-color: green;
2018-06-14 13:31:24 +00:00
font-family: Helvetica;
2018-05-17 22:49:54 +00:00
}
2018-05-18 14:53:23 +00:00
2018-06-14 13:31:24 +00:00
#pinsContainer {
border:4px solid black;
background-color: #4C2E00;
}
2018-05-18 14:53:23 +00:00
#pins {
display: grid;
grid-template-columns: auto auto auto;
2018-06-14 13:31:24 +00:00
margin: 1.5em;
2018-05-18 14:53:23 +00:00
grid-gap: 30px;
padding: 10px;
}
.pin {
border: 1px solid rgba(0, 0, 0, 0.8);
}
2018-06-14 13:31:24 +00:00
p {
font-size: 25px;
}
2018-05-18 14:53:23 +00:00
.ul {
padding-top:50px;
width:100px;
}
2018-05-20 18:07:39 +00:00
div.checkers {
height: 100%;
2018-06-14 13:31:24 +00:00
margin-left: -1em;
margin-top: -2.5em;
2018-05-20 18:07:39 +00:00
}
2018-05-18 14:53:23 +00:00
2018-05-20 18:07:39 +00:00
ul.checkers_list {
2018-05-18 14:53:23 +00:00
list-style-type: none;
padding-top:50px;
2018-05-20 18:07:39 +00:00
height: 100%;
}
div.pin {
min-height: 25em;
position: relative;
width: 5.5em;
2018-05-20 18:07:39 +00:00
}
2018-06-14 13:31:24 +00:00
#topStuff {
margin-bottom: 2em;
}
.pinNumber-bottom {
position: absolute;
margin-top: 55px;
width: 100%;
text-align: center;
}
.pinNumber-top {
position: absolute;
margin-top: -55px;
width: 100%;
text-align: center;
}
.pinNumber-top > p {
// background-color: #4d1a00;
color: whitesmoke;
}
.pinNumber-bottom > p {
// background-color: #4d1a00;
color: whitesmoke;
}
2018-05-29 16:03:53 +00:00
div.pin-top {
// -webkit-clip-path: polygon(100% 0%, 1% 0%, 50% 100%);
// clip-path: polygon(100% 0%, 1% 0%, 50% 100%);
2018-05-29 16:03:53 +00:00
display: flex;
flex-direction: column;
}
2018-05-20 18:07:39 +00:00
div.pin-bottom {
// -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
// clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
2018-05-29 16:03:53 +00:00
display: flex;
flex-direction: column-reverse;
2018-05-18 14:53:23 +00:00
}
2018-05-29 16:03:53 +00:00
input[type=checkbox] {
margin-left: 15px;
transform: scale(2);
}
2018-05-29 16:03:53 +00:00
2018-05-18 15:53:57 +00:00
#pin-0 {
grid-column-start: 7;
grid-row-start: 1;
2018-05-18 15:53:57 +00:00
}
#pin-25 {
grid-column-start: 7;
grid-row-start: 2;
2018-05-18 15:53:57 +00:00
}
2018-05-18 14:53:23 +00:00
#pin-1 {
2018-05-18 15:53:57 +00:00
grid-column-start: 13;
2018-05-18 14:53:23 +00:00
grid-row-start: 2;
}
#pin-2 {
2018-05-18 15:53:57 +00:00
grid-column-start: 12;
2018-05-18 14:53:23 +00:00
grid-row-start: 2;
}
#pin-3 {
2018-05-18 15:53:57 +00:00
grid-column-start: 11;
2018-05-18 14:53:23 +00:00
grid-row-start: 2;
}
#pin-4 {
2018-05-18 15:53:57 +00:00
grid-column-start: 10;
2018-05-18 14:53:23 +00:00
grid-row-start: 2;
}
#pin-5 {
2018-05-18 15:53:57 +00:00
grid-column-start: 9;
2018-05-18 14:53:23 +00:00
grid-row-start: 2;
}
#pin-6 {
2018-05-18 15:53:57 +00:00
grid-column-start: 8;
2018-05-18 14:53:23 +00:00
grid-row-start: 2;
}
#pin-7 {
grid-column-start: 6;
grid-row-start: 2;
}
#pin-8 {
grid-column-start: 5;
grid-row-start: 2;
}
#pin-9 {
grid-column-start: 4;
grid-row-start: 2;
}
#pin-10 {
grid-column-start: 3;
grid-row-start: 2;
}
#pin-11 {
grid-column-start: 2;
grid-row-start: 2;
}
#pin-12 {
grid-column-start: 1;
grid-row-start: 2;
}
#pin-13 {
grid-column-start: 1;
grid-row-start: 1;
}
#pin-14 {
grid-column-start: 2;
grid-row-start: 1;
}
#pin-15 {
grid-column-start: 3;
grid-row-start: 1;
}
#pin-16 {
grid-column-start: 4;
grid-row-start: 1;
}
#pin-17 {
grid-column-start: 5;
grid-row-start: 1;
}
#pin-18 {
grid-column-start: 6;
grid-row-start: 1;
}
#pin-19 {
2018-05-18 15:53:57 +00:00
grid-column-start: 8;
2018-05-18 14:53:23 +00:00
grid-row-start: 1;
}
#pin-20 {
2018-05-18 15:53:57 +00:00
grid-column-start: 9;
2018-05-18 14:53:23 +00:00
grid-row-start: 1;
}
#pin-21 {
2018-05-18 15:53:57 +00:00
grid-column-start: 10;
2018-05-18 14:53:23 +00:00
grid-row-start: 1;
}
#pin-22 {
2018-05-18 15:53:57 +00:00
grid-column-start: 11;
2018-05-18 14:53:23 +00:00
grid-row-start: 1;
}
#pin-23 {
2018-05-18 15:53:57 +00:00
grid-column-start: 12;
2018-05-18 14:53:23 +00:00
grid-row-start: 1;
}
#pin-24 {
2018-05-18 15:53:57 +00:00
grid-column-start: 13;
2018-05-18 14:53:23 +00:00
grid-row-start: 1;
2018-05-17 22:49:54 +00:00
}
2018-05-18 18:53:45 +00:00
#pin-26 {
grid-column-start: 14;
grid-row-start: 1;
grid-row-end: 3;
}