-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
130 lines (112 loc) · 2.38 KB
/
styles.css
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/*//http://www.palettable.io/FFFFFF-CCEBF1-8B8399-334455*/
/*http://www.palettable.io/5D0E11-373636-81C8E9-F7F6F5-786F63*/
/*http://www.palettable.io/005E86-C5D0EE-996A3E-2A3040-F4EB6C*/
/*http://www.palettable.io/03031B-528972-2D4F54-FF8E00-EDDDC8*/
/*http://www.palettable.io/7F003F-FFCCE8-FFC0CB-8B636C-492B2B*/
/*http://www.palettable.io/058C6C-43CD80-2F4F4F-5E2323-2B0505*/
body {
height: 100vh;
background: #051900 ;
}
h1 {
margin: 2rem;
text-align: center;
color: white;
font-family: fantasy;
}
h2 {
font-family: fantasy;
font-size: 26px;
color: #051900;
}
.game-container {
display: flex;
flex-flow: row nowrap;
align-items: center;
perspective: 1000px;
}
#game-area{
position: relative;
z-index: 1;
width: 100%;
transform: rotateX(35deg);
padding: 0 2rem 2rem 2rem;
background: #38630e;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 46px 1px rgba(196,222,0,1);
-moz-box-shadow: 0px 0px 46px 1px rgba(196,222,0,1);
box-shadow: 0px 0px 46px 1px rgba(196,222,0,1);
}
#dealer-area {
margin-bottom: 2rem;
}
#dealer-cards {
transform: translateY(-40px);
display: flex;
justify-content: center;
height: 168px;
}
#player-area #announcement {
margin-left: 25%;
}
#player-cards {
display: flex;
justify-content: center;
height: 168px;
}
#action-area {
position: absolute;
right: 10px;
bottom: 20%;
z-index: 10;
width: 15%;
display: flex;
flex-direction: column;
}
#next-hand, #hit-me {
margin-bottom: 3rem;
}
button {
font-family: fantasy;
background: #6ea023;
color: #051900;
padding: 1rem;
font-size: 1rem;
border-radius: 10px;
outline: none;
border: none;
line-height: 20px;
padding-top: 20px;
transition: all 0.2s ease 0s;
-webkit-box-shadow: inset 0px 0px 5px 2px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px 0px 5px 2px rgba(0,0,0,0.75);
box-shadow: inset 0px 0px 5px 2px rgba(0,0,0,0.75);
}
button:hover {
cursor: pointer;
color: white;
}
button:active {
color: yellow;
-webkit-box-shadow: inset 0px 0px 14px 5px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px 0px 14px 5px rgba(0,0,0,0.75);
box-shadow: inset 0px 0px 14px 5px rgba(0,0,0,0.75);
}
button#next-hand {
background-color: #6ea023;
}
button#hit-me {
background-color: #c3de00;
}
button#stay {
background-color: #add285;
}
img {
width: 130px;
height: 190px;
}
@media (min-width: 1200px) {
body {
padding: 0 12%;
}
}