-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
37 lines (37 loc) · 902 Bytes
/
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
* {
box-sizing: border-box;
}
/*All the modifcations that will happen in the body part of html*/
body{
font-family: Arial, Helvetica, sans-serif; /* the fonts used in the obdy*/
display: flex;
flex-direction: column;
align-items: center; /*aligns all the items in the center */
justify-content: center;
background-color: gray;
margin: 0;
}
/* all css changes added to the canvas made in the game*/
#canvas {
border-radius: 5px;
background-color: white;
}
/* gives css to the class score*/
.score {
display: flex;
font-size:xx-large;
color: white;
margin: 2px;
}
/* gives the css to the first subclass of score*/
.score > :first-child {
text-align: left;
padding: 15px;
padding-right: 300px;
}
/* gives the css to the final subclass of score*/
.score > :last-child{
text-align: right;
padding: 15px;
padding-left: 300px;
}