-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
68 lines (60 loc) · 1.17 KB
/
index.css
File metadata and controls
68 lines (60 loc) · 1.17 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
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f1f1f1;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
text-align: center;
margin: 10px 0;
color: #000;
width: 100%;
font-size: 1.5em;
}
.flex-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
width: 100%;
padding: 5px;
}
.container {
width: 120px;
height: 100%;
margin: 20px;
background-color: #fff;
padding: 10px;
border: 1px solid #e7e1e1;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
text-align: center;
cursor: pointer;
transition: transform 0.1s, box-shadow 0.2s, background-color 0.3s, color 0.4s;
}
.container:hover {
transform: scale(1.05);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.container p {
margin: 0;
padding: 5px 0;
font-size: 1em;
font-weight: bold;
}
.container.selected {
background-color: #63a4e9;
color: #ffa;
}
#character-details p {
font-size: 0.9em;
margin: 5px 0;
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
flex: 1 1 100%;
}
}