-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
115 lines (99 loc) · 1.95 KB
/
styles.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
body {
background-color: #34495e;
font-family: 'Open Sans', sans-serif;
}
header {
font-size: 24px;
text-align: center;
margin: 20px 0;
color: #FEFFFF;
text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.74);
}
.contenedor {
display: flex;
flex-flow: column;
width: 90%;
margin: 0 auto;
max-width: 1000px;
}
.nombre, .tipo {
text-align: center
}
.btn-consultar {
align-self: center;
cursor: pointer;
font-size: 20px;
padding: 10px 15px;
border-radius: 3px;
background-color: #2d3436;
color: #FEFFFF;
border: none;
transition-property: all;
transition-duration: 200ms;
-webkit-box-shadow: 4px 3px 5px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 4px 3px 5px -2px rgba(0,0,0,0.75);
box-shadow: 4px 3px 5px -2px rgba(0,0,0,0.75);
margin: 10px 0 30px 0;
}
.btn-consultar:active {
transform: scale(0.9);
}
.lista-pokemon{
display: flex;
justify-content: start;
flex-wrap: wrap;
width: 60%;
margin: 20px auto;
}
.poke-card {
border-radius: 8px;
width: 100%;
text-align: center;
background: #2c2c2c;
color: #FEFFFF;
}
.poke-card img {
transform: scale(1.3);
padding: 5px;
}
.poke-tittle::first-letter {
text-transform: uppercase;
}
.titulo {
text-transform: capitalize;
}
.fondo {
display: inline-block;
background-color: rgba(0, 0, 0, .3);
padding: 5px;
border-radius: 5%;
}
.copy {
margin-top: 20px;
text-align: center;
color: #FEFFFF;
}
.copy a {
text-decoration: none;
color: #FEFFFF;
border-bottom: 1px solid white;
padding-bottom: 3px;
transition-property: all;
transition-duration: 300ms;
}
.copy a:hover {
color: yellow;
border-bottom: 1px solid yellow;
}
/*---------- MEDIA QUERIES ----------*/
@media screen and (max-width: 500px) {
header {
margin: 0;
}
header h1 {
margin: 15px 0;
}
.lista-pokemon {
width: 90%;
}
}