-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (130 loc) · 3.06 KB
/
style.css
File metadata and controls
133 lines (130 loc) · 3.06 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.center {
text-align: center;
}
ul {
list-style: none;
padding: 0;
}
img {
display: inline;
height: 70px;
}
#footer {
width: 100%;
border-top: solid 2px black;
background-color: white;
position: fixed;
bottom: 0;
}
#title, #subtitle {
margin: 0;
padding: 0;
}
#input-parent {
width: 160px;
margin-left: auto;
margin-right: auto;
}
.guess {
display: inline;
font-size: 60px;
border: 1px solid black;
padding: 0 25px;
border-radius: 10%;
background-color: white;
}
#player-input {
border-radius: 50%;
width: 160px;
height: 160px;
font-size: 60px;
}
/* removes the square outline adds a round one */
#player-input, #submit, #reset, #hint {
outline: none;
}
#player-input:focus {
border: 3px solid rgb(6, 187, 247);
box-shadow: 0 0 6px rgb(6, 187, 247);
-moz-box-shadow: 0 0 6px rgb(6, 187, 247);
-webkit-box-shadow: 0 0 6px rgb(6, 187, 247);
}
#submit{
border-radius: 50%;
height: 60px;
width: 60px;
position: absolute;
top: 110px;
left: 110px;
}
#input-parent {
width: 160px;
margin: 5% auto 50px;
position: relative;
}
body {
background: linear-gradient(to bottom right, rgb(27, 26, 26), teal, lightblue);
}
.shadow {
box-shadow: 2px 2px 2px darkgrey;
}
#app {
width: 60%;
margin: 50px auto;
}
#title, #subtitle, #hot-cold, #rules-title {
color: white;
text-shadow: 2px 0 black;
}
#rules {
height: 600px;
width: 460px;
margin: 20px auto;
color: white;
font-size: 16px;
-webkit-animation: fadein 1.5s;
-moz-animation: fadein 1.5s;
-ms-animation: fadein 1.5s;
-o-animation: fadein 1.5s;
animation: fadein 1.5s;
}
#rules-title {
margin: 50px 0 30px 0;
}
#back-to-game {
height: 200px;
width: 200px;
margin: 100px auto;
}
a {
color: white;
}
#hot-cold {
height: 14px;
}
/* #reset {
background-color: rgb(157, 157, 218);
}
#hint {
background-color: rgb(253, 148, 148);
} */
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
@-moz-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
@-webkit-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
@-ms-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
@-o-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}