Skip to content

Commit 5057eeb

Browse files
author
ElaMoscicka
authored
added spacing
1 parent 5f0b93b commit 5057eeb

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

30 - Whack A Mole/style.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,30 @@ html {
1010

1111
body {
1212
padding: 0;
13-
margin:0;
13+
margin: 0;
1414
font-family: 'Amatic SC', cursive;
1515
}
1616

1717
h1 {
1818
text-align: center;
1919
font-size: 10rem;
20-
line-height:1;
20+
line-height: 1;
2121
margin-bottom: 0;
2222
}
2323

2424
.score {
25-
background:rgba(255,255,255,0.2);
26-
padding:0 3rem;
27-
line-height:1;
28-
border-radius:1rem;
25+
background: rgba(255,255,255,0.2);
26+
padding: 0 3rem;
27+
line-height: 1;
28+
border-radius: 1rem;
2929
}
3030

3131
.game {
32-
width:600px;
33-
height:400px;
34-
display:flex;
35-
flex-wrap:wrap;
36-
margin:0 auto;
32+
width: 600px;
33+
height: 400px;
34+
display: flex;
35+
flex-wrap: wrap;
36+
margin: 0 auto;
3737
}
3838

3939
.hole {
@@ -45,18 +45,18 @@ h1 {
4545
.hole:after {
4646
display: block;
4747
background: url(dirt.svg) bottom center no-repeat;
48-
background-size:contain;
49-
content:'';
48+
background-size: contain;
49+
content: '';
5050
width: 100%;
5151
height:70px;
5252
position: absolute;
5353
z-index: 2;
54-
bottom:-30px;
54+
bottom: -30px;
5555
}
5656

5757
.mole {
58-
background:url('mole.svg') bottom center no-repeat;
59-
background-size:60%;
58+
background: url('mole.svg') bottom center no-repeat;
59+
background-size: 60%;
6060
position: absolute;
6161
top: 100%;
6262
width: 100%;
@@ -65,5 +65,5 @@ h1 {
6565
}
6666

6767
.hole.up .mole {
68-
top:0;
68+
top: 0;
6969
}

0 commit comments

Comments
 (0)