-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
88 lines (76 loc) · 1.58 KB
/
index.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
body {
margin: 0;
font-family: sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f5f5f5;
}
.home-container {
display: flex;
align-items: center;
justify-content: space-between;
width: 80%;
max-width: 1000px;
}
.dice-image {
width: 350px;
height: 450px;
background-size: cover;
background-position: center;
}
.dice-left {
background-image: url('Images/Home.png'); /* Replace with actual dice image URL */
}
.dice-right{
margin-top: -80px;
}
span{
font-size: 60px;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.play-button-container {
display: flex;
justify-content: center;
align-items: center;
}
.play-button {
margin-top: 20px;
margin-right: 20px;
background-color: #000000;
color: #ffffff;
border: none;
padding: 15px 30px;
font-size: 24px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.play-button:hover {
background-color: rgb(0, 0, 0);
box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.8);
}
/* Responsive styles for screens 743px and below */
@media (max-width: 743px) {
.home-container {
flex-direction: column;
align-items: center;
width: 100%;
}
.dice-image {
width: 200px;
height: 250px;
}
.dice-right {
margin-top: 20px;
text-align: center;
}
span {
font-size: 40px;
}
.play-button {
padding: 10px 20px;
font-size: 18px;
}
}