Skip to content

Commit 9d4e6b0

Browse files
committed
Change style to shrink
1 parent 977b346 commit 9d4e6b0

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

scripts/data.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Atk: speed > power > technical > speed
22
// Weapon Weakness: slash | pierce | blunt
33
const data = [
4-
['Id', 'Egg', 'Name', 'Normal', 'Enraged', 'Weapon Weakness'/*, 'Notes'*/],
4+
['Icon', 'Egg', 'Name', 'Atk', 'Spe', 'Weapon Weakness'/*, 'Notes'*/],
55
//['000', 'Unknow', 'power technical speed', 'power technical speed', ['slash pierce blunt', ['Part', 'slash pierce blunt']], 'note'],
66
['001', 'Aptonoth', 'power', '', ['slash pierce'], ''],
77
['002', 'Larinoth', 'technical', '', ['slash pierce'], ''],

style.css

+7-8
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,41 @@ table {
88
letter-spacing: 1px;
99
font-family: sans-serif;
1010
}
11-
1211
table thead, table tfoot {
1312
background-color: #3d2c18;
1413
color: #fff;
1514
}
16-
1715
table tbody {
1816
background-color: #f1dfb9;
19-
color: #2e2212;
17+
color: #3d2c18;
2018
}
21-
2219
table th, table td {
2320
border: 1px solid #111;
24-
padding: 5px 10px;
2521
}
2622
table td {
2723
text-align: center;
2824
}
29-
3025
table img {
3126
vertical-align: middle;
3227
}
3328

34-
3529
.container {
3630
position: relative;
3731
text-align: center;
3832
background-color: #202828;
33+
padding: 5px 10px;
3934
}
4035
.id {
4136
position: absolute;
4237
bottom: 0%;
4338
left: 50%;
4439
transform: translate(-50%, 0%);
4540

46-
font-size: 0.5em;
41+
font-size: 0.6em;
4742
background-color: #3d2c18;
4843
color: #fff;
4944
}
45+
46+
.name {
47+
font-size: 1.2em;
48+
}

0 commit comments

Comments
 (0)