js_backgammon/style.css

167 lines
2.4 KiB
CSS
Raw Normal View History

2018-05-17 22:49:54 +00:00
body {
background-color: green;
}
2018-05-18 14:53:23 +00:00
#pins {
display: grid;
grid-template-columns: auto auto auto;
grid-gap: 30px;
padding: 10px;
}
.pin {
border: 1px solid rgba(0, 0, 0, 0.8);
}
.ul {
padding-top:50px;
width:100px;
}
2018-05-20 18:07:39 +00:00
div.checkers {
height: 100%;
}
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;
}
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%);
display: flex;
flex-direction: column;
}
2018-05-20 18:07:39 +00:00
div.pin-bottom {
2018-05-29 16:03:53 +00:00
-webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
display: flex;
flex-direction: column-reverse;
2018-05-18 14:53:23 +00:00
}
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;
}