Skip to content

Commit 67bb793

Browse files
authored
Update Score_keeper.css
1 parent 9db2068 commit 67bb793

File tree

1 file changed

+82
-88
lines changed

1 file changed

+82
-88
lines changed

Score-Keeper/Score_keeper.css

Lines changed: 82 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,106 @@
1-
h1 { display: flex;
2-
justify-content:center;
3-
color: #266150;
4-
font-size:xx-large;
5-
font-weight:bolder;
6-
font-family: 'Rubik', sans-serif;
1+
h1 {
2+
display: flex;
3+
justify-content: center;
4+
color: #266150;
5+
font-size: xx-large;
6+
font-weight: bolder;
7+
font-family: "Rubik", sans-serif;
78
}
89

9-
.score{
10-
display: flex;
11-
justify-content: center;
12-
color: darkcyan;
13-
position: relative;
14-
10+
.score {
11+
display: flex;
12+
justify-content: center;
13+
color: darkcyan;
14+
position: relative;
1515
}
16-
.label{
17-
display: flex;
18-
justify-content: center;
19-
color: #e03131;
20-
font-weight:bolder;
21-
font-family: 'Rubik', sans-serif;
22-
line-height: 1.8;
16+
.label {
17+
display: flex;
18+
justify-content: center;
19+
color: #e03131;
20+
font-weight: bolder;
21+
font-family: "Rubik", sans-serif;
22+
line-height: 1.8;
2323
}
2424

25-
.players{
26-
display: flex;
27-
justify-content: center;
28-
color: #4F4846;
29-
text-indent: 25px;
30-
font-weight: bold;
31-
font-family: 'Anton', sans-serif;
25+
.players {
26+
display: flex;
27+
justify-content: center;
28+
color: #4f4846;
29+
text-indent: 25px;
30+
font-weight: bold;
31+
font-family: "Anton", sans-serif;
3232
}
3333

34-
.buttons{
35-
display: flex;
36-
justify-content: center;
37-
margin-top: 15px;
38-
39-
34+
.buttons {
35+
display: flex;
36+
justify-content: center;
37+
margin-top: 15px;
4038
}
4139

42-
.p1button{
43-
background-color: #adb5bd;
44-
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
45-
margin-right: 15px;
46-
border-radius: 12px;
47-
font-size: 16px;
48-
49-
border: none;
50-
padding: 15px 32px;
51-
font-weight: bolder;
40+
.p1button {
41+
background-color: #adb5bd;
42+
box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
43+
0 17px 50px 0 rgba(0, 0, 0, 0.19);
44+
margin-right: 15px;
45+
border-radius: 12px;
46+
font-size: 16px;
47+
48+
border: none;
49+
padding: 15px 32px;
50+
font-weight: bolder;
5251
}
53-
.p1button:active{
54-
transform: translateY(4px);
52+
.p1button:active {
53+
transform: translateY(4px);
5554
}
5655

56+
.p2button {
57+
background-color: #adb5bd;
58+
box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
59+
0 17px 50px 0 rgba(0, 0, 0, 0.19);
60+
margin-right: 15px;
61+
border-radius: 12px;
62+
font-size: 16px;
5763

58-
.p2button{
59-
background-color: #adb5bd;
60-
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
61-
margin-right: 15px;
62-
border-radius: 12px;
63-
font-size: 16px;
64-
65-
border: none;
66-
font-weight: bolder;
67-
padding: 15px 32px;
64+
border: none;
65+
font-weight: bolder;
66+
padding: 15px 32px;
6867
}
69-
.p2button:active{
70-
transform: translateY(4px);
68+
.p2button:active {
69+
transform: translateY(4px);
7170
}
72-
.reset{
73-
background-color: #DDAF94 ;
74-
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
75-
margin-right: 15px;
76-
border-radius: 12px;
77-
font-size: 16px;
78-
79-
border: none;
80-
font-weight: bolder;
81-
padding: 15px 32px;
71+
.reset {
72+
background-color: #ddaf94;
73+
box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
74+
0 17px 50px 0 rgba(0, 0, 0, 0.19);
75+
margin-right: 15px;
76+
border-radius: 12px;
77+
font-size: 16px;
78+
79+
border: none;
80+
font-weight: bolder;
81+
padding: 15px 32px;
8282
}
83-
.reset:active{
84-
transform: translateY(4px);
83+
.reset:active {
84+
transform: translateY(4px);
8585
}
8686

87+
body {
88+
height: 100%;
89+
display: flex;
90+
justify-content: center;
91+
align-items: center;
92+
background-color: #ffc078;
93+
}
8794

88-
body
89-
{
90-
91-
height: 100%;
92-
display: flex;
93-
justify-content: center;
94-
align-items: center;
95-
background-color: #ffc078;
96-
97-
95+
html {
96+
height: 100%;
9897
}
9998

100-
html{
101-
height: 100%;
102-
}
99+
.winner {
100+
color: green;
101+
}
103102

104-
.winner{
105-
color:green;
106-
103+
.loser {
104+
color: red;
107105
}
108106

109-
.loser{
110-
color: red;
111-
112-
}

0 commit comments

Comments
 (0)