-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (67 loc) · 1.76 KB
/
style.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
/* Global Styles */
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 0;
/* Set background image */
background: url('Capture1.JPG') no-repeat center center fixed;
background-size: contain; /* Change to "contain" to fit the image */
color: white;
}
/* Header Styles */
h1 {
margin-top: 20px;
color: #ff9800;
font-size: 36px;
}
/* Game Container Styles */
#game {
margin: 0 auto;
margin-top: 20px;
padding: 20px;
/* Darker background color with opacity */
background-color: rgba(55, 71, 79, 0.8); /* Darker background color with opacity */
border-radius: 10px;
/* Add shadow to the game container */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}
/* Button Styles */
button {
font-size: 16px;
padding: 10px 20px;
margin: 8px;
cursor: pointer;
/* Button background and text color */
background-color: #ff9800;
color: white;
border: none;
border-radius: 8px;
transition: background-color 0.2s;
}
button:hover {
/* Button background color on hover */
background-color: #ffa726;
}
/* Dealer and Player Hand Styles */
#dealer-hand, #player-hand {
margin-top: 20px;
/* Darker background color with opacity */
background-color: rgba(38, 50, 56, 0.8); /* Darker background color with opacity */
padding: 12px;
border-radius: 10px;
/* Add shadow to the card containers */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}
/* Dealer and Player Hand Title Styles */
#dealer-hand h2, #player-hand h2 {
color: #ff9800;
font-size: 20px;
}
/* Result Styles */
#result {
margin-top: 20px;
color: #ff9800;
font-weight: bold;
font-size: 20px;
}