forked from alazzuri/ejercicio-pokemons
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
85 lines (72 loc) · 1.5 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
@import url(//db.onlinewebfonts.com/c/f4d1593471d222ddebd973210265762a?family=Pokemon);
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-image: url("https://images.unsplash.com/photo-1613771404784-3a5686aa2be3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80");
background-size: cover;
font-family: "Pokemon", sans-serif;
}
main {
display: flex;
margin-bottom: 1rem;
width: 90%;
display: flex;
flex-wrap: wrap;
}
header {
display: flex;
justify-content: center;
align-items: center;
color: whitesmoke;
}
h1 {
font-size: 6rem;
color: antiquewhite;
text-shadow: 5px 5px black;
}
header img {
width: 50px;
margin-left: 1rem;
}
.card {
width: 20%;
min-width: 13rem;
margin: 1rem;
border-radius: 6px;
box-shadow: 2px 2px 2px whitesmoke;
background-color: rgb(248, 237, 221);
}
.card:hover {
box-shadow: 5px 5px 5px whitesmoke;
cursor: pointer;
}
.card img {
width: 60%;
margin: 0 auto;
}
.bar-container {
width: 95%;
height: 15px;
border: 2px solid black;
margin: 0.2rem auto;
border-radius: 20px;
display: flex;
}
.bar-container div {
border-radius: 20px 0px 0px 20px;
}
.verde {
background-color: lightgreen;
height: 100%;
}
.vermelho {
height: 100%;
background-color: red;
}
.amarelo {
height: 100%;
background-color: yellow;
}