forked from HackYourFuture/Assignments
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathstyle.css
More file actions
42 lines (38 loc) · 1.05 KB
/
style.css
File metadata and controls
42 lines (38 loc) · 1.05 KB
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
/* add your styling here */
/* Basic Reset and Setup */
body {
font-family: Arial, sans-serif;
display: flex; /* Arrange items */
flex-direction: column; /* Stack them vertically */
align-items: center; /* Center them horizontally */
margin-top: 50px; /* Add some space from the top */
background-color: #f4f4f4; /* Light background color */
}
/* Style for the Button and Select */
#get-button, #pokemon-select {
padding: 10px 15px;
margin-bottom: 20px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 16px;
cursor: pointer;
}
#get-button {
background-color: #3498db; /* A nice blue color */
color: white;
border-color: #2980b9;
transition: background-color 0.2s;
}
#get-button:hover {
background-color: #2980b9;
}
/* Style for the Image */
#pokemon-img {
max-width: 200px; /* Keep the image at a reasonable size */
height: auto;
padding: 15px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: white; /* White background for the sprite */
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}