MediaWiki:PyuPyu.css

From CoraTO Wiki - Official Wiki
Revision as of 14:39, 26 January 2026 by Noorisei (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* PyuPyu's Exchange Page Styles */
/* Inspired by BunnyBox.css */

.pyupyu-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--bg-1);
}

/* Hero Section */
.pyupyu-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--surface) 100%);
  border-radius: 20px;
  box-shadow: 0 4px 15px var(--shadow-soft);
}

.hero-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  text-align: left;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  text-align: left;
}

.hero-text p {
  text-align: left;
  margin-left: 0;
}

.hero-image-container {
  flex: 0 0 auto;
  max-width: 100%;
}

.hero-image-figure {
  margin: 0;
  background: var(--surface);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px var(--shadow-soft);
}

.hero-image-figure img {
  display: block;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
}

.hero-image-figure figcaption {
  margin-top: 10px;
  font-size: 0.9em;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
}

.pyupyu-hero h1 {
  color: var(--heading);
  font-size: 2.5em;
  margin: 0 0 10px 0;
}

.pyupyu-hero p {
  font-size: 1.1em;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 15px auto;
  line-height: 1.6;
}

/* Trivia Box - Specific to this page */
.trivia-box {
  background-color: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.trivia-badge {
  background: var(--primary);
  color: var(--surface);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: bold;
  margin-right: 5px;
}

/* Content Sections */
.section-header {
  margin-bottom: 30px;
  text-align: center;
}

.section-header h2 {
  color: var(--heading);
  font-size: 2em;
  margin-bottom: 10px;
}

.section-lead {
  color: var(--text-muted);
}

/* Exchange Cards */
.exchange-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.exchange-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.exchange-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
  border-color: var(--primary);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border);
}

.item-image {
  width: 80px;
  height: 80px;
  background: var(--bg-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  border: 2px solid var(--surface);
  box-shadow: 0 2px 8px var(--shadow-soft);
}

.item-image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.item-info h3 {
  margin: 0 0 5px 0;
  color: var(--heading);
  font-size: 1.2em;
}

.item-meta {
  font-size: 0.9em;
  color: var(--text-muted);
  background: var(--bg-2);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.card-body {
  flex-grow: 1;
}

.cost-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95em;
}

.cost-item:last-child {
  border-bottom: none;
}

.cost-name {
  color: var(--text);
}

.cost-name a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.cost-name a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.cost-qty {
  font-weight: bold;
  color: var(--primary);
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 30px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .exchange-grid {
    grid-template-columns: 1fr;
  }
  
  .card-header {
    flex-direction: column;
    text-align: center;
  }
  
  .item-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
}