MediaWiki:Common.css

From Ragnafied Wiki
Revision as of 20:08, 30 September 2025 by Putotine (RID-12) (talk | contribs)

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Ragnawiki Modern Styling */
.ragnawiki-modern {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.4;
}

/* Hero Section */
.wiki-hero {
  background: linear-gradient(135deg, #f0c237 0%, #1e3a5f 100%);
  color: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wiki-hero-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.wiki-hero-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 15px;
}

/* Grid Layouts */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

/* Cards */
.info-card, .nav-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover, .nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Card Headers */
.card-header, .nav-header {
  color: white;
  padding: 12px 15px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
}

.card-header.server {
  background: linear-gradient(135deg, #4682B4, #5a96d1);
}

.card-header.rates {
  background: linear-gradient(135deg, #DAA520, #e6b800);
}

.nav-header.beginners {
  background: linear-gradient(135deg, #87CEFA, #6ab0f5);
}

.nav-header.features {
  background: linear-gradient(135deg, #DAA520, #e6b800);
}

.nav-header.guides {
  background: linear-gradient(135deg, #32CD32, #28a428);
}

/* Card Content */
.card-content {
  padding: 15px;
}

/* Lists */
.compact-list .list-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.compact-list .list-row:last-child {
  border-bottom: none;
}

.list-icon {
  width: 30px;
  text-align: center;
  font-size: 16px;
}

/* Navigation Items */
.nav-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.nav-item:hover {
  background-color: #f8f9fa;
}

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

.nav-icon {
  width: 30px;
  text-align: center;
}

.nav-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav-text {
  flex: 1;
  font-weight: 600;
  color: #2c5e9e;
}

.nav-item:hover .nav-text {
  color: #1e3a5f;
  text-decoration: underline;
}

/* Notes Box */
.notes-box {
  margin-top: 15px;
  background: rgba(255, 243, 243, 0.8);
  border-left: 4px solid #b22222;
  padding: 12px;
  border-radius: 6px;
}

.notes-title {
  font-weight: 600;
  color: #b22222;
  margin-bottom: 5px;
  font-size: 14px;
}

.notes-content {
  font-size: 12px;
  line-height: 1.4;
  color: #666;
}

/* Section Titles */
.section-title {
  font-size: 20px;
  font-weight: bold;
  margin: 25px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2c5e9e;
}

/* Color Classes for Text */
.text-primary { color: #2c5e9e; font-weight: 600; }
.text-danger { color: #d35400; font-weight: 600; }
.text-success { color: #27ae60; font-weight: 600; }
.text-purple { color: #8e44ad; font-weight: 600; }
.text-warning { color: #e67e22; font-weight: 600; }

/* Responsive Design */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .nav-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .wiki-hero {
    padding: 20px 15px;
  }
  
  .wiki-hero-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .card-content {
    padding: 12px;
  }
  
  .nav-item {
    padding: 8px 10px;
  }
  
  .list-icon, .nav-icon {
    width: 25px;
  }
}