Skip to content

Commit a0d40b0

Browse files
8-ball styling
1 parent cbfe8b4 commit a0d40b0

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

Magic 8-Ball/app.css

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@ body {
44
font-family: "Helvetica";
55
text-align: center;
66
font-size: 48px;
7-
margin: 15%;
7+
margin: 10%;
8+
}
9+
10+
h1 {
11+
margin: 10%;
812
}
913

1014
form {
1115
margin-left: auto;
1216
margin-right: auto;
17+
margin: 5%;
1318
}
1419

1520
:placeholder-shown {
@@ -24,12 +29,12 @@ form {
2429
box-shadow: inset 0 -5px 0 0 rgba(0,0,0,.1), 0 3px 8px rgba(0,0,0,.14);
2530
color: #000000!important;
2631
border: none!important;
27-
font-family: "Helvetica";
28-
font-size: 36px;
29-
border-radius: 50px;
30-
height: 75px;
31-
width: 350px;
32-
margin: 5rem;
32+
font-family: 'Creepster', cursive;
33+
font-size: 3rem;
34+
border-radius: 4rem;
35+
height: 7.5rem;
36+
width: 25rem;
37+
margin: 10rem;
3338
margin-left: auto;
3439
margin-right: auto;
3540
outline: none;

Magic 8-Ball/magiceightball.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
<link rel="stylesheet" type="text/css" href="app.css">
88
<script src="app.js"></script>
9+
<link rel="preconnect" href="https://fonts.gstatic.com">
10+
<link href="https://fonts.googleapis.com/css2?family=Creepster&display=swap" rel="stylesheet">
911

1012
<title>Magic Box</title>
1113

0 commit comments

Comments
 (0)