diff --git a/index.html b/index.html new file mode 100644 index 0000000..0de1f1d --- /dev/null +++ b/index.html @@ -0,0 +1,84 @@ + + + + + + Devil Fruit Encyclopedia + + + + + +
+
+

Fruit Collection

+

+ Later, your JS can hook into these buttons and cards for add, update, and + delete actions. +

+
+ + + +
+
+ +
+
+ Placeholder image for Gomu Gomu no Mi +
+

Gomu Gomu no Mi

+

Type: Paramecia

+

User: Monkey D. Luffy

+

Makes the user’s body rubber-like.

+
+
+ +
+ Placeholder image for Mera Mera no Mi +
+

Mera Mera no Mi

+

Type: Logia

+

User: Portgas D. Ace / Sabo

+

Allows creation and control of fire.

+
+
+ +
+ Placeholder image for Ope Ope no Mi +
+

Ope Ope no Mi

+

Type: Paramecia

+

User: Trafalgar D. Water Law

+

Creates a ROOM where the user can manipulate objects.

+
+
+ +
+ Placeholder image for Yami Yami no Mi +
+

Yami Yami no Mi

+

Type: Logia

+

User: Marshall D. Teach

+

Manipulates darkness and gravity-like pull.

+
+
+
+
+ + diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..0ab31f9 --- /dev/null +++ b/styles.css @@ -0,0 +1,118 @@ +:root { + color-scheme: dark; +} + +* { + box-sizing: border-box; +} + +body { + margin: 0; + font-family: Arial, Helvetica, sans-serif; + background: #0f1320; + color: #f0f4ff; + line-height: 1.5; +} + +.page-header { + text-align: center; + padding: 2.5rem 1rem 2rem; + background: #171d2d; + border-bottom: 1px solid #2f3953; +} + +.page-header h1 { + margin: 0; +} + +.page-header p { + margin: 0.5rem 0 0; + color: #c6d3ef; +} + +.content { + width: min(1080px, 94%); + margin: 1.5rem auto 2rem; + display: grid; + gap: 1rem; +} + +.card { + background: #161d2d; + border: 1px solid #2f3953; + border-radius: 12px; + padding: 1rem 1.25rem; +} + +.toolbar h2 { + margin: 0 0 0.25rem; +} + +.toolbar p { + margin: 0 0 0.75rem; + color: #c6d3ef; +} + +.toolbar-actions { + display: flex; + flex-wrap: wrap; + gap: 0.5rem; +} + +button { + border: 1px solid #4b5c85; + background: #263453; + color: #f0f4ff; + padding: 0.5rem 0.8rem; + border-radius: 8px; + font: inherit; + cursor: pointer; +} + +button:hover { + background: #32456d; +} + +button.danger { + background: #593040; + border-color: #80465d; +} + +button.danger:hover { + background: #6c394d; +} + +.fruit-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); + gap: 1rem; +} + +.fruit-card { + background: #161d2d; + border: 1px solid #2f3953; + border-radius: 12px; + overflow: hidden; +} + +.fruit-card img { + width: 100%; + height: 160px; + object-fit: cover; + display: block; +} + +.fruit-info { + padding: 0.8rem 0.9rem 1rem; +} + +.fruit-info h3 { + margin: 0 0 0.45rem; + font-size: 1.05rem; +} + +.fruit-info p { + margin: 0.2rem 0; + color: #dbe4fa; + font-size: 0.95rem; +}