-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (97 loc) · 1.79 KB
/
style.css
File metadata and controls
115 lines (97 loc) · 1.79 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f4f4f9;
font-family: 'Arial', sans-serif;
}
.card {
width: 300px;
background-color: #fff;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.red-box {
background-color: #e73b55;
border-radius: 0 0 0 30px;
color: #fff;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: flex-end;
position: relative;
}
.text-section {
display: flex;
flex-direction: column;
gap: 10px;
}
.text-section h2 {
font-size: 2.2rem;
}
.text-section p {
font-size: 0.9rem;
opacity: 0.8;
}
.stats {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 20px;
}
.stats div {
text-align: left;
}
.stats div h3 {
font-size: 1.5rem;
}
.stats div p {
font-size: 0.8rem;
opacity: 0.8;
}
.character-image {
position: absolute;
bottom: 0;
right: 20px;
}
.character-image img {
width: 120px;
object-fit: contain;
}
.card-footer {
display: flex;
flex-direction: column;
gap: 15px;
padding: 20px;
background-color: #f7f7f9;
}
.footer-item {
display: flex;
align-items: center;
background-color: #fff;
border-radius: 15px;
padding: 15px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.footer-item img {
width: 30px;
height: 30px;
margin-right: 15px;
}
.footer-item div {
display: flex;
flex-direction: column;
}
.footer-item h4 {
font-size: 1.2rem;
color: #e73b55;
}
.footer-item span {
font-size: 0.8rem;
color: #e73b55;
}