-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (101 loc) · 2.14 KB
/
style.css
File metadata and controls
113 lines (101 loc) · 2.14 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
/* ===== RESET ===== */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Trebuchet MS", Arial, sans-serif;
}
.test {
border: 1px solid red;
margin-top: auto;
margin-bottom: auto;
top: auto;
}
/* ===== BACKGROUND PAGE ===== */
body {
background: radial-gradient(circle at top, #ffeb05, #c7a008);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
/* ===== CARTE POKEMON ===== */
.wrapper {
width: 320px;
background: linear-gradient(135deg, #fdf5d9, #f6d365);
border: 8px solid #e0b100;
border-radius: 18px;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
padding: 15px;
}
/* ===== HEADER (NUMERO + NOM) ===== */
.header {
display: flex;
justify-content: space-between;
align-items: center;
background: #f5e38a;
border-radius: 10px;
padding: 6px 10px;
margin-bottom: 10px;
border: 2px solid #c9a600;
}
.number {
font-size: 0.9em;
font-weight: bold;
color: #444;
}
.name {
font-size: 1.2em;
font-weight: bold;
color: #111;
text-transform: capitalize;
}
/* ===== IMAGE ===== */
.image-wrapper {
background: #d9d9d9;
border: 4px solid #b59b2b;
border-radius: 10px;
padding: 8px;
margin-bottom: 12px;
}
#image {
width: 100%;
border-radius: 6px;
}
/* ===== DESCRIPTION / TEXTE ===== */
.description {
background: rgba(255, 255, 255, 0.7);
border-radius: 8px;
padding: 10px;
font-size: 0.85em;
color: #333;
margin-bottom: 15px;
border: 1px solid #c9a600;
}
/* ===== BOUTON ATTAQUE ===== */
button,
#button {
width: 100%;
background: linear-gradient(135deg, #ff4b4b, #c62828);
color: white;
font-weight: bold;
border: none;
border-radius: 10px;
padding: 12px;
cursor: pointer;
box-shadow: 0 4px 0 #8e1b1b;
transition: transform 0.1s ease, box-shadow 0.1s ease;
}
button:hover,
#button:hover {
transform: translateY(2px);
box-shadow: 0 2px 0 #8e1b1b;
}
/* ===== FOOTER (TYPE / INFOS) ===== */
.footer {
margin-top: 20px;
text-align: center;
font-size: 0.75em;
color: #333;
opacity: 0.9;
}