-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
93 lines (84 loc) · 2.55 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
html {
box-sizing: border-box;
font-size: 1rem;
font-family: 'Roboto Mono', monospace;
}
body {
background-color: hsl(0, 100%, 50%);
}
h1 {
text-align: center;
font-size: 1.5rem;
margin: 1rem;
}
main {
display: flex;
flex-direction: column;
width: 90vw;
height: 90vh;
margin: auto;
}
form {
background-color: hsl(100, 100%, 100%);
border-radius: 5px;
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 1rem;
}
input {
border-color: hsl(0, 0%, 0%);
border-width: 0.1em;
height: 2rem;
width: 10rem;
margin: 0.5rem;
padding: 0.5rem;
font-family: 'Roboto Mono', monospace;
}
.form__submit-btn {
background-color: hsl(100, 100%, 100%);
border-color: hsl(0, 0%, 0%);
border-width: 0.1em;
padding: 0.5rem;
font-family: 'Roboto Mono', monospace;
font-size: 0.9rem;
}
.form__submit-btn-image {
height: auto;
width: 1rem;
margin-left: 0.3rem;
}
.output {
background-color: hsl(100, 100%, 100%);
border-radius: 5px;
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
height: 40%;
}
.output__pokemon-type {
padding: 0.3rem;
margin: 0.2rem;
border-radius: 2px;
text-transform: uppercase;
}
.output__pokemon-type--normal { background-color: hsl(40, 13%, 62%); }
.output__pokemon-type--fighting { background-color: hsl(13, 48%, 43%); }
.output__pokemon-type--flying { background-color: hsl(228, 85%, 79%); }
.output__pokemon-type--poison { background-color: hsl(311, 38%, 53%); }
.output__pokemon-type--ground { background-color: hsl(44, 60%, 59%); }
.output__pokemon-type--rock { background-color: hsl(45, 42%, 54%); }
.output__pokemon-type--bug { background-color: hsl(67, 53%, 48%); }
.output__pokemon-type--ghost { background-color: hsl(240, 35%, 54%); }
.output__pokemon-type--steel { background-color: hsl(240, 17%, 72%); }
.output__pokemon-type--fire { background-color: hsl(9, 84%, 56%); }
.output__pokemon-type--water { background-color: hsl(209, 92%, 59%); }
.output__pokemon-type--grass { background-color: hsl(100, 55%, 56%); }
.output__pokemon-type--electric { background-color: hsl(42, 93%, 62%); }
.output__pokemon-type--psychic { background-color: hsl(335, 78%, 68%); }
.output__pokemon-type--ice { background-color: hsl(190, 74%, 62%); }
.output__pokemon-type--dragon { background-color: hsl(250, 73%, 64%); }
.output__pokemon-type--dark { background-color: hsl(23, 21%, 37%); }
.output__pokemon-type--fairy { background-color: hsl(297, 71%, 76%); }