-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcribbage.css
More file actions
113 lines (106 loc) · 1.77 KB
/
cribbage.css
File metadata and controls
113 lines (106 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
body{
padding: 10px;
background: #5d5d5d;
font-family: Helvetica, Arial, sans-serif;
color: white;
}
pre{
margin-top: 10px;
}
h1{
font-size: 150%;
text-shadow: text-shadow: rgba(0, 0, 0, 0.863281) 0px 1px;
}
#page{
width: 950px;
height: 100%;
margin: 0 auto;
}
#intro{
text-align: center;
}
#intro card-table{
border: 1px solid black;
padding: 10px;
}
.card-stack{
border: 1px solid black;
width: 75px;
height: 100px;
padding: 5px;
margin: 5px;
display: inline-block;
}
#deck-w{
display: inline-block;
float: left;
}
#play-tallie{
text-align: center;
font-size: 150%;
}
#starter-card{
display: inline-block;
}
#played-cards{
float: left;
}
#crib {
float: right;
}
#hand-w{
clear: both;
}
#hand{
width: 100%;
text-align: center;
}
#footer{
clear: both;
}
.hearts,.diams{
color: red;
}
.spades,.clubs{
color: black;
}
div.card{
display: inline-block;
display: -moz-inline-block;
background: white url(http://ds06e4ewgvp7g.cloudfront.net/0.2.87gz/dshot/images/layout/bg/grain.png);
width: 75px;
height: 100px;
border: 2px solid black;
padding: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-o-border-radius: 5px;
margin: 5px;
cursor: pointer;
}
div.card.selected{
border: 2px solid blue;
position: relative;
top: -20px;
}
div.card div.corner{
float: left;
}
div.card div.corner span{
display: block;
width: 20px;
text-align: center;
font-size: 20px;
}
div.card div.tl span.num{
}
div.card div.corner span.suit{
margin-top: -5px;
}
div.card div.br{
-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
position: relative;
top: 55px;
float: right;
}