-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
88 lines (78 loc) · 1.63 KB
/
index.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
* {
box-sizing: border-box;
}
@font-face {
font-family: "RidleyGrotesk-Bold";
src: url("assets/fonts/RidleyGrotesk-Bold.woff") format("woff");
}
body {
margin: 0px;
padding: 20px;
background-color: #f2c94c;
font-family: "RidleyGrotesk-Bold";
}
#title {
color: white;
text-transform: uppercase;
text-align: center;
margin-top: 100px;
font-size: 3em;
font-family: "RidleyGrotesk-Bold";
}
p {
font-size: 20px;
color: white;
text-align: center;
font-family: "RidleyGrotesk-Bold";
}
#wrapper {
margin: auto;
max-width: 700px;
}
#pig {
margin: auto;
width: 75%;
}
#wrapper {
margin: auto;
max-width: 700px;
}
#pill-button {
display: inline-block;
width: 100%;
max-width: 700px;
height: 100px;
background: #000000;
border: 2.825px solid #ffffff;
box-sizing: border-box;
box-shadow: 0px 34px 0px rgba(0, 0, 0, 0.45);
border-radius: 100px;
font-family: "RidleyGrotesk-Bold";
font-size: 2em;
margin: 50px 0px;
text-transform: uppercase;
color: #ffffff;
-webkit-transition: 0.5s ease-out;
-moz-transition: 0.5s ease-out;
-o-transition: 5s ease-out;
transition: 0.5s ease-out;
}
#new_game:hover {
transform: translateY(-6px);
-webkit-transition: 0.5s ease-out;
-moz-transition: 0.5s ease-out;
-o-transition: 5s ease-out;
transition: 0.5s ease-out;
box-shadow: 0px 50px 0px rgba(0, 0, 0, 0.45);
transform: translateY(-6px);
-webkit-transition: 0.5s ease-out;
-moz-transition: 0.5s ease-out;
-o-transition: 5s ease-out;
transition: 0.5s ease-out;
box-shadow: 0px 50px 0px rgba(0, 0, 0, 0.25);
}
@media only screen and (width: 80%) {
#pig {
width: 80%;
}
}