-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
158 lines (157 loc) · 3.07 KB
/
style.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
158
@font-face {
font-family: pokemon;
src: url(font/Pokemon_Solid.ttf);
}
html, body {
margin: 0;
padding: 0;
font-family: 'Ubuntu', sans-serif;
}
h1 {
font-family: 'pokemon';
font-size: 72px;
margin-top: 0px;
}
h2, h3 { color: #3593DD; }
header {
background-image: url(img/deiby-60.png), url(img/background_header.jpg);
background-position: center, left bottom;
background-repeat: repeat, no-repeat;
background-size: cover, cover;
color: white;
height: 480px;
padding-top: 150px;
text-align: center;
transition: all linear 5s;
}
header:hover {
background-position: center, right top;
}
.pokeblue {
height: 30%;
}
.dev {
color: #3593DD;
}
input[type="text"] {
font-family: 'Ubuntu', sans-serif;
width: 500px;
font-size: 18px;
border: 5px solid #D3D3D3;
border-radius: 12px;
padding: 12px;
text-align: center;
transition: all 0.5s;
color: #2979B8;
}
input[type="text"]:focus {
outline: inherit;
border: 5px solid #3593DD;
}
.container {
width: 90%;
max-width: 1200px;
padding-top: 50px;
margin: 0 auto;
}
.pokemon {
background-color: #e6e6e6;
border-radius: 12px;
width: 23.5%;
float: left;
text-align: center;
margin-right: 2%;
margin-bottom: 2%;
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26);
transition: all 0.5s;
}
.pokemon:nth-child(4n) {
margin-right: 0;
}
.pokemon:hover {
background-color: #bdd1ff;
}
.pokemon a {
text-decoration: none;
}
.pokemon img {
display: inline-block;
width: 100%;
}
.pokemon-id {
background-color: #3593DD;
color: #FFF;
font-size: 24px;
text-align: center;
padding-top: 5px;
padding-bottom: 5px;
border-radius: 12px 12px 0px 0px;
}
.pokemones h3 {
background-color: #646464;
border-radius: 0px 0px 12px 12px;
color: #FFF;
font-size: 20px;
margin-bottom: 0;
padding-bottom: 5px;
padding-top: 5px;
text-align: center;
text-decoration: none;
}
/*Pokemon's details*/
.pokemon-detail {
width: 100%;
background-color: #e6e6e6;
border-radius: 12px;
margin-bottom: 50px;
display: inline-block;
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26);
}
.pokemonid {
background-color: #3593DD;
border-radius: 12px 0px 12px 0px;
color: #FFF;
width: 70px;
padding-top: 15px;
padding-bottom: 15px;
text-align: center;
font-size: 24px;
}
.pokemon-detail img {
width: 100%;
}
.pokemon-detail img, .pokemonData { float: left; }
.pokemon-detail img { width: 30%; }
.pokemonData {
width: 67%;
padding-right: 3%;
}
.pokemonData ul { padding: 0; }
.pokemonData ul li {
margin-right: 20px;
list-style: none;
}
.pokemonData ul li img {
width: 150px;
text-align: center;
}
.stats {
margin-left: 360px;
padding: 0 2em;
}
.type {
padding: 5px;
width: 80px;
text-align: center;
margin-bottom: 10px;
border-radius: 5px;
color: #FFF;
display: inline-block;
}
.evolution { display: inline-block; }
.planta { background-color: #9BCC50; }
.veneno { background-color: #B97FC9; }
.fuego { background-color: #FD7D24; }
.volador { background: linear-gradient(180deg, #3dc7ef 50%, #bdb9b8 50%); }
.hielo { background-color: #3dc7ef; }
.psiquico {background-color: #f366b9; }