Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,122 @@
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
-
|
| 6 |
h1 {
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 3 |
+
background-color: #0c1015;
|
| 4 |
+
color: #e2e8f0;
|
| 5 |
+
margin: 0;
|
| 6 |
+
padding: 20px;
|
| 7 |
+
}
|
| 8 |
+
.container {
|
| 9 |
+
max-width: 950px;
|
| 10 |
+
margin: 0 auto;
|
| 11 |
}
|
|
|
|
| 12 |
h1 {
|
| 13 |
+
color: #ef4444;
|
| 14 |
+
text-align: center;
|
| 15 |
+
font-size: 2.5rem;
|
| 16 |
+
text-transform: uppercase;
|
| 17 |
+
letter-spacing: 3px;
|
| 18 |
+
margin-bottom: 5px;
|
| 19 |
+
text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
|
| 20 |
+
}
|
| 21 |
+
.subtitle {
|
| 22 |
+
text-align: center;
|
| 23 |
+
color: #94a3b8;
|
| 24 |
+
margin-bottom: 30px;
|
| 25 |
+
font-style: italic;
|
| 26 |
+
}
|
| 27 |
+
.nav-bar {
|
| 28 |
+
display: flex;
|
| 29 |
+
justify-content: center;
|
| 30 |
+
gap: 15px;
|
| 31 |
+
margin-bottom: 30px;
|
| 32 |
+
flex-wrap: wrap;
|
| 33 |
+
}
|
| 34 |
+
.nav-btn {
|
| 35 |
+
background-color: #1e293b;
|
| 36 |
+
color: #f8fafc;
|
| 37 |
+
border: 2px solid #334155;
|
| 38 |
+
padding: 10px 20px;
|
| 39 |
+
border-radius: 20px;
|
| 40 |
+
font-weight: bold;
|
| 41 |
+
cursor: pointer;
|
| 42 |
+
transition: all 0.2s;
|
| 43 |
+
}
|
| 44 |
+
.nav-btn:hover, .nav-btn.active {
|
| 45 |
+
background-color: #ef4444;
|
| 46 |
+
border-color: #ef4444;
|
| 47 |
+
transform: translateY(-2px);
|
| 48 |
+
}
|
| 49 |
+
.pokedex-grid {
|
| 50 |
+
display: grid;
|
| 51 |
+
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
| 52 |
+
gap: 20px;
|
| 53 |
+
}
|
| 54 |
+
.pokemon-card {
|
| 55 |
+
background-color: #151f2b;
|
| 56 |
+
border: 1px solid #24354a;
|
| 57 |
+
border-radius: 12px;
|
| 58 |
+
padding: 20px;
|
| 59 |
+
cursor: pointer;
|
| 60 |
+
transition: transform 0.2s, border-color 0.2s;
|
| 61 |
+
}
|
| 62 |
+
.pokemon-card:hover {
|
| 63 |
+
transform: scale(1.03);
|
| 64 |
+
border-color: #ef4444;
|
| 65 |
+
}
|
| 66 |
+
.pkmn-header {
|
| 67 |
+
display: flex;
|
| 68 |
+
justify-content: space-between;
|
| 69 |
+
align-items: center;
|
| 70 |
+
margin-bottom: 10px;
|
| 71 |
+
}
|
| 72 |
+
.pkmn-number {
|
| 73 |
+
color: #64748b;
|
| 74 |
+
font-weight: bold;
|
| 75 |
+
font-family: monospace;
|
| 76 |
+
}
|
| 77 |
+
.pkmn-name {
|
| 78 |
+
font-size: 1.4rem;
|
| 79 |
+
margin: 0;
|
| 80 |
+
color: #fff;
|
| 81 |
+
}
|
| 82 |
+
.type-container {
|
| 83 |
+
display: flex;
|
| 84 |
+
gap: 5px;
|
| 85 |
+
margin-bottom: 15px;
|
| 86 |
+
}
|
| 87 |
+
.type-badge {
|
| 88 |
+
padding: 4px 10px;
|
| 89 |
+
border-radius: 6px;
|
| 90 |
+
font-size: 0.8rem;
|
| 91 |
+
font-weight: bold;
|
| 92 |
+
text-transform: uppercase;
|
| 93 |
+
}
|
| 94 |
+
.type-electric { background-color: #eab308; color: #000; }
|
| 95 |
+
.type-fire { background-color: #f97316; color: #fff; }
|
| 96 |
+
.type-water { background-color: #3b82f6; color: #fff; }
|
| 97 |
+
.type-ice { background-color: #06b6d4; color: #000; }
|
| 98 |
+
.type-poison { background-color: #a855f7; color: #fff; }
|
| 99 |
+
.deep-data {
|
| 100 |
+
background-color: #0d151f;
|
| 101 |
+
border-radius: 8px;
|
| 102 |
+
padding: 12px;
|
| 103 |
+
margin-top: 15px;
|
| 104 |
+
font-size: 0.9rem;
|
| 105 |
+
border-top: 1px dashed #24354a;
|
| 106 |
+
}
|
| 107 |
+
.stat-line {
|
| 108 |
+
display: flex;
|
| 109 |
+
justify-content: space-between;
|
| 110 |
+
margin-bottom: 4px;
|
| 111 |
+
}
|
| 112 |
+
.stat-name { color: #94a3b8; }
|
| 113 |
+
.stat-val { font-weight: bold; color: #4cd1a4; }
|
| 114 |
+
.special-note {
|
| 115 |
+
background-color: #241c15;
|
| 116 |
+
border-left: 3px solid #f97316;
|
| 117 |
+
padding: 8px;
|
| 118 |
+
margin-top: 10px;
|
| 119 |
+
border-radius: 4px;
|
| 120 |
+
font-size: 0.85rem;
|
| 121 |
}
|
| 122 |
+
.hidden { display: none !important; }
|