-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (106 loc) · 2.02 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
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
body {
margin: 0;
padding: 0;
background-image: url("img.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 80vh;
color: #333;
}
.game{
display: flex;
align-items: center;
flex-direction: column;
width: 100%;
height: 60%;
}
h1 {
color: #ffffff;
text-align: center;
font-weight: bolder;
}
.container {
margin-top: 20px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
max-width: 800px;
min-height: 100%;
height: 50vh;
gap: 5px;
}
.player {
padding: 10px;
border: 1px solid #0073e6;
border-radius: 8px;
width: 300px;
height: 300px;
text-align: center;
background-color: #e6f7ff;
position: relative;
}
.player.active {
border-color: #ff6347;
background-color: #fff0f0;
}
.roll-btn, .reset-btn {
padding: 20px 30px;
background-color: #0073e6;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 10px;
font-size:larger;
border-radius: 50px;
}
.reset-btn {
background-color: #ff0000;
}
.roll-btn:disabled {
background-color: #ccc;
cursor: not-allowed;
}
.dice {
font-size: 2em;
margin-top: 10px;
transition: transform 0.3s;
}
.rolling {
animation: rollAnimation 0.1s infinite;
}
@keyframes rollAnimation {
0% { transform: rotate(0deg); }
50% { transform: rotate(180deg); }
100% { transform: rotate(360deg); }
}
.result {
font-size:xx-large;
margin-top: 20px;
color: #0073e6;
text-align: center;
background-color:white;
padding: 10px;
border-radius: 50px;
}
p{
font-size: xx-large;
font-weight: 800;
color:#000000;
}
h3{
font-size: xx-large;
}
h1{
font-weight: bolder;
font-size:50px;
text-decoration:underline;
}