-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript_02.css
127 lines (110 loc) · 2.39 KB
/
script_02.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
body{
margin: 0;
padding: 0;
box-sizing: border-box;
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("img_01.jpg");
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
font-family: monospace;
}
header{
text-align:center;
color: white;
font-size: 25px;
}
#user_info {
background-color: white;
margin-right: 400px;
margin-left: 400px;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
text-align: center;
font-size: medium;
color: black;
padding: 10px;
}
/* ------------------------------Restart button */
.btn-container{
text-align: center;
}
.restart-btn {
color: white;
background-color: transparent;
border-radius: 12px;
padding: 10px 10px;
font-weight: bold;
font-size: 16px;
cursor: pointer;
transition: all 0.3s ease;
}
.restart-btn:hover{
cursor: pointer;
background-color: white;
color: black;
}
/* ------------------------------Score board */
.score-board{
margin: 10% auto 5%;
text-align: center;
color: white;
border: 3px solid white;
text-align: center;
width: 250px;
font-size: 60px;
padding: 30px 10px;
position: relative
}
.badge{
background:#c112a0;
font-size: 30px;
padding: 10px 10px;
border-radius: 12px;
}
#user-badge{
position: absolute;
top: 20px;
left: -50px;
}
#cpu-badge{
position: absolute;
top: 20px;
right: -65px;
}
/* ------------------------------Player choices */
.choices{
display: flex;
justify-content: center;
}
.choices .choice {
cursor: pointer;
border: 3px solid #531345;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 40%;
margin-right: 20px;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
transition: all 0.1s ease;
}
.choices .choice:hover{
cursor: pointer;
background: #531345;
}
.choices .choice img{
width: 120px;
}
h2{
text-align: center;
color: white;
font-size: 25px;
}
/* ------------------------------Modal */
.text-win{
color: #289a28;
font-size: 40px;
}
.text-lose{
color: #ff0000;
font-size: 40px;
}
.modal-content p{
font-size: 18px;
}