-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
157 lines (128 loc) · 2.33 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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
body {
}
#box {
/*height: 300px;*/
/*width: 600px;*/
/*border: 1px solid grey;*/
margin: 0 auto;
text-align: center;
}
#box2 {
/*border: 1px solid grey;*/
margin: 0 auto;
text-align: center;
}
h3 {
margin: 33px auto 0px;
color: #FFF;
}
button {
margin: 10px;
text-align: center;
}
.pokemon, .specialTeam {
margin-top: 30px ;
color:white;
}
.specialTeam {
margin-top: 0px ;
color: #000000;
background-color: #e7ecff;
}
.pokeChar {
/*float: left;*/
display: inline-block;
position: relative;
border: 1px double lightgray;
height:170px;
width: 170px;
vertical-align: top;
border-radius: 50%;
background: url('images/pokeball.png') 50% center no-repeat transparent;
}
.pokeChar img {
max-width: 100%;
max-height: 100%;
margin: 0 auto;
-webkit-filter: drop-shadow(12px 12px 7px rgba(0,0,0,0.5));
color: #FFF;
}
.inactive {
/*background-color: orange;*/
/*background: url('images/pokeball.png') 50% center no-repeat transparent;*/
}
.inactive h3, .inactive img {
visibility: hidden;
}
.active {
background: transparent;
}
.active h3 {
color:#000;
}
.active::after {
content: "";
background: url('images/pokeball.png');
opacity: 0.5;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}
.found {
pointer-events: none;
}
.found h3, .found img {
visibility: visible;
}
.pokemon, .pokemonTeam {
text-align: center;
}
.narrow {
width: 700px;
margin: 30px auto 0;
}
#overlay {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:1000;
display: none;
background-color: #164357;
color: #FFF;
text-align: center;
}
.found
{
-webkit-animation: glow 500ms ease-in-out 100ms ;
animation: glow 500ms ease-in-out 100ms;
}
@-webkit-keyframes glow
{
50% { box-shadow: 0 0 80px #ff581c; }
}
@keyframes glow
{
50% { box-shadow: 0 0 80px #ff581c; }
}
.special::after {
content: "";
background: url('images/lebowski/bowlingball.jpg');
opacity: 0.5;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}
.special {
background: url('images/lebowski/bowlingball.jpg') 50% center no-repeat transparent;
}
.specialBox {
background: url('images/lebowski/rug-1.jpg') 50% center transparent;
}