2 // Copyright (C) 2011 Jason Woofenden
3 // Lincensed under CC0 (ie public domain).
4 // Note that most of Peach CGT is AGPLv3
12 @pile-width: @card-width * 1.3;
13 @hand-height: @card-height * 1.3;
16 @area-border-color: #ccc;
17 @your-side-color: #ffe2e2;
18 @my-side-color: #e2ffe2;
21 top: (@table-height - @card-height) / 2 - 4px;
22 left: (@table-width - @card-width) / 2 - 4px;
26 .shadow (@x: 0, @y: 0, @blur: 1px, @alpha) {
27 @val: @x @y @blur rgba(0, 0, 0, @alpha);
29 -webkit-box-shadow: @val;
30 -moz-box-shadow: @val;
33 body, #other_player_url {
44 font: bold 20px 'Verdana';
50 height: @table-height;
53 .shadow(2px, 2px, 10px, 0.4);
54 border: 2px solid #468;
66 border: 1px solid #777;
71 border: 2px solid #fff;
73 .shadow(1px, 1px, 8px, 0.4);
77 min-height: @card-height;
78 z-index: 9999 !important;
82 border: 1px solid #aaa;
84 background-color: #fff;
96 -webkit-transform: rotate(180deg);
97 -moz-transform: rotate(180deg);
98 -ms-transform: rotate(180deg);
99 -o-transform: rotate(180deg);
100 transform: rotate(180deg);
102 -webkit-transform: none;
103 -moz-transform: none;
114 .flipped, .your_hand {
118 background-color: #ddd;
121 #my_side, #your_side {
124 height: @hand-height;
129 background: @your-side-color;
130 border-bottom: 2px solid @area-border-color;
135 background: @my-side-color;
136 border-top: 2px solid @area-border-color;
137 top: @table-height - @hand-height - 2px;
140 .discard_area, .deck_area, .hand_area {
142 height: @hand-height;
144 .discard_area, .deck_area {
145 border-right: 2px solid @area-border-color;
149 width: @table-width - (@pile-width + 2px) * 2;
155 left: @pile-width + 2px;
158 left: (@pile-width + 2px) * 2;
166 top: 0; // @table-height - @hand-height;
175 width: @table-width + 10;
176 height: @table-height + 20;
178 .shadow(3px, 3px, 16px, 0.8);