MediaWiki:QuestCard.css: Difference between revisions

From CoraTO Wiki - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
/* Quest Card */
/* Quest Card */
.quest-card {
.quest-card {
   background: rgba(255, 255, 255, 0.95);
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.1);
   border: 1px solid var(--border);
   border-radius: 20px;
   border-radius: 20px;
   padding: 30px;
   padding: 30px;
   margin: 25px 0;
   margin: 25px 0;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
   box-shadow: 0 4px 20px var(--shadow-soft);
   transition: all 0.3s ease;
   transition: all 0.3s ease;
   position: relative;
   position: relative;
Line 18: Line 18:
.quest-card:hover {
.quest-card:hover {
   transform: translateY(-2px);
   transform: translateY(-2px);
   box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
   box-shadow: 0 8px 30px var(--shadow-medium);
   border-color: rgba(255, 107, 157, 0.3);
   border-color: var(--border-strong);
}
}


Line 29: Line 29:
   margin-bottom: 20px;
   margin-bottom: 20px;
   padding-bottom: 15px;
   padding-bottom: 15px;
   border-bottom: 2px solid rgba(255, 107, 157, 0.1);
   border-bottom: 2px solid var(--border);
}
}


Line 35: Line 35:
   width: 50px;
   width: 50px;
   height: 50px;
   height: 50px;
   background: linear-gradient(135deg, #ff6b9d, #d63384);
   background: var(--primary);
   border-radius: 12px;
   border-radius: 12px;
   display: flex;
   display: flex;
Line 42: Line 42:
   margin-right: 15px;
   margin-right: 15px;
   font-size: 24px;
   font-size: 24px;
   color: white;
   color: var(--text-strong);
   box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
   box-shadow: 0 4px 15px var(--shadow-soft);
}
}


Line 49: Line 49:
   font-size: 22px;
   font-size: 22px;
   font-weight: 700;
   font-weight: 700;
   color: #2d2d2d;
   color: var(--heading);
   margin: 0;
   margin: 0;
}
}


.quest-type {
.quest-type {
   background: linear-gradient(135deg, #ff6b9d, #d63384);
   background: var(--primary);
   color: white;
   color: var(--text-strong);
   padding: 4px 12px;
   padding: 4px 12px;
   border-radius: 20px;
   border-radius: 20px;
Line 74: Line 74:


.quest-section {
.quest-section {
   background: rgba(255, 255, 255, 0.9);
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.15);
   border: 1px solid var(--border);
   border-radius: 16px;
   border-radius: 16px;
   padding: 25px 20px;
   padding: 25px 20px;
Line 90: Line 90:
   right: 0;
   right: 0;
   height: 4px;
   height: 4px;
   background: linear-gradient(90deg, #ff6b9d, #ff8fb0);
   background: var(--primary);
   transform: scaleX(0);
   transform: scaleX(0);
   transition: transform 0.3s ease;
   transition: transform 0.3s ease;
Line 101: Line 101:
.quest-section:hover {
.quest-section:hover {
   transform: translateY(-5px) scale(1.02);
   transform: translateY(-5px) scale(1.02);
   box-shadow: 0 12px 40px rgba(255, 107, 157, 0.2);
   box-shadow: 0 12px 40px var(--shadow-medium);
   border-color: #ff6b9d;
   border-color: var(--border-strong);
}
}


Line 114: Line 114:
   font-size: 14px;
   font-size: 14px;
   font-weight: 600;
   font-weight: 600;
   color: #666666;
   color: var(--text-muted);
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 1px;
   letter-spacing: 1px;
Line 123: Line 123:
   font-size: 16px;
   font-size: 16px;
   font-weight: 600;
   font-weight: 600;
   color: #2d2d2d;
   color: var(--text);
   line-height: 1.4;
   line-height: 1.4;
}
}
Line 130: Line 130:
.quest-badge {
.quest-badge {
   display: inline-block;
   display: inline-block;
   background: linear-gradient(135deg, #28a745, #20c997);
   background: var(--positive);
   color: white;
   color: var(--text-strong);
   padding: 2px 8px;
   padding: 2px 8px;
   border-radius: 12px;
   border-radius: 12px;
Line 139: Line 139:
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
   margin-left: 8px;
   margin-left: 8px;
   box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
   box-shadow: 0 2px 8px var(--shadow-soft);
}
}


/* Rewards Section */
/* Rewards Section */
.quest-rewards {
.quest-rewards {
   background: rgba(255, 255, 255, 0.9);
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.15);
   border: 1px solid var(--border);
   border-radius: 16px;
   border-radius: 16px;
   padding: 25px;
   padding: 25px;
Line 160: Line 160:
   right: 0;
   right: 0;
   height: 4px;
   height: 4px;
   background: linear-gradient(90deg, #ff6b9d, #ff8fb0);
   background: var(--primary);
}
}


Line 166: Line 166:
   font-size: 18px;
   font-size: 18px;
   font-weight: 700;
   font-weight: 700;
   color: #2d2d2d;
   color: var(--heading);
   margin-bottom: 15px;
   margin-bottom: 15px;
   display: flex;
   display: flex;
Line 185: Line 185:


.quest-reward-item {
.quest-reward-item {
   background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(214, 51, 132, 0.05));
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.2);
   border: 1px solid var(--border);
   border-radius: 12px;
   border-radius: 12px;
   padding: 8px 16px;
   padding: 8px 16px;
   font-size: 14px;
   font-size: 14px;
   font-weight: 600;
   font-weight: 600;
   color: #2d2d2d;
   color: var(--text);
   transition: all 0.3s ease;
   transition: all 0.3s ease;
}
}
Line 197: Line 197:
.quest-reward-item:hover {
.quest-reward-item:hover {
   transform: translateY(-2px);
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
   box-shadow: 0 4px 12px var(--shadow-soft);
   border-color: #ff6b9d;
   border-color: var(--border-strong);
}
}


/* Location Details */
/* Location Details */
.quest-location-details {
.quest-location-details {
   background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 193, 7, 0.05));
   background: var(--bg-1);
   border: 1px solid rgba(255, 165, 0, 0.3);
   border: 1px solid var(--border);
   border-left: 5px solid #ff9800;
   border-left: 5px solid var(--primary);
   border-radius: 16px;
   border-radius: 16px;
   padding: 20px;
   padding: 20px;
   margin: 20px 0;
   margin: 20px 0;
   font-size: 14px;
   font-size: 14px;
   color: #2d2d2d;
   color: var(--text);
   line-height: 1.5;
   line-height: 1.5;
}
}
Line 222: Line 222:
/* Item Drop Info */
/* Item Drop Info */
.quest-drop-info {
.quest-drop-info {
   background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(32, 201, 151, 0.05));
   background: var(--positive-bg);
   border: 1px solid rgba(40, 167, 69, 0.3);
   border: 1px solid var(--border);
   border-left: 5px solid #28a745;
   border-left: 5px solid var(--positive);
   border-radius: 16px;
   border-radius: 16px;
   padding: 20px;
   padding: 20px;
   margin: 15px 0;
   margin: 15px 0;
   font-size: 14px;
   font-size: 14px;
   color: #2d2d2d;
   color: var(--text);
   line-height: 1.5;
   line-height: 1.5;
}
}
Line 238: Line 238:
   font-size: 16px;
   font-size: 16px;
}
}
html[data-theme="dark"] .quest-card { background: rgba(20,26,38,.92); border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 24px rgba(123,187,255,.18) }
html[data-theme="dark"] .quest-card:hover { box-shadow: 0 12px 36px rgba(123,187,255,.25); border-color: rgba(159,208,255,.35) }
html[data-theme="dark"] .quest-header { border-bottom-color: rgba(159,208,255,.18) }
html[data-theme="dark"] .quest-icon { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff; box-shadow: 0 4px 15px rgba(39,76,119,.25) }
html[data-theme="dark"] .quest-title { color: #cfe6ff }
html[data-theme="dark"] .quest-type { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff }
html[data-theme="dark"] .quest-section { background: #141c2a; border: 1px solid rgba(159,208,255,.18) }
html[data-theme="dark"] .quest-section::before { background: linear-gradient(90deg, #274c77, #1b2b41) }
html[data-theme="dark"] .quest-section-title { color: #a8c6e8 }
html[data-theme="dark"] .quest-section-content { color: #cfe6ff }
html[data-theme="dark"] .quest-rewards { background: #141c2a; border: 1px solid rgba(159,208,255,.18) }
html[data-theme="dark"] .quest-rewards-title { color: #cfe6ff }
html[data-theme="dark"] .quest-reward-item { background: linear-gradient(135deg, rgba(39,76,119,.12), rgba(39,76,119,.06)); border: 1px solid rgba(159,208,255,.18); color: #cfe6ff }
html[data-theme="dark"] .quest-reward-item:hover { box-shadow: 0 8px 24px rgba(123,187,255,.25); border-color: rgba(159,208,255,.35) }
html[data-theme="dark"] .quest-location-details { background: linear-gradient(135deg, rgba(255,193,7,.09), rgba(255,193,7,.04)); border: 1px solid rgba(255,165,0,.3); border-left-color: #ff9800; color: #cfe6ff }
html[data-theme="dark"] .quest-drop-info { background: linear-gradient(135deg, rgba(40,167,69,.09), rgba(32,201,151,.04)); border: 1px solid rgba(40,167,69,.3); border-left-color: #28a745; color: #cfe6ff }


/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */

Latest revision as of 08:33, 2 January 2026

/* Quest Card */
.quest-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  margin: 25px 0;
  box-shadow: 0 4px 20px var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quest-card:hover::before {
  left: 100%;
}

.quest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-medium);
  border-color: var(--border-strong);
}


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

.quest-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 24px;
  color: var(--text-strong);
  box-shadow: 0 4px 15px var(--shadow-soft);
}

.quest-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
}

.quest-type {
  background: var(--primary);
  color: var(--text-strong);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

/* Quest Sections Grid */
.quest-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.quest-section {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.quest-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.quest-section:hover::before {
  transform: scaleX(1);
}

.quest-section:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 40px var(--shadow-medium);
  border-color: var(--border-strong);
}

.quest-section-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}

.quest-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.quest-section-content {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Special Badges */
.quest-badge {
  display: inline-block;
  background: var(--positive);
  color: var(--text-strong);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  box-shadow: 0 2px 8px var(--shadow-soft);
}

/* Rewards Section */
.quest-rewards {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  margin: 25px 0;
  position: relative;
  overflow: hidden;
}

.quest-rewards::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.quest-rewards-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.quest-rewards-title::before {
  content: '🎁';
  margin-right: 10px;
  font-size: 20px;
}

.quest-rewards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quest-reward-item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
}

.quest-reward-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-soft);
  border-color: var(--border-strong);
}

/* Location Details */
.quest-location-details {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.quest-location-details::before {
  content: '📍';
  margin-right: 8px;
  font-size: 16px;
}

/* Item Drop Info */
.quest-drop-info {
  background: var(--positive-bg);
  border: 1px solid var(--border);
  border-left: 5px solid var(--positive);
  border-radius: 16px;
  padding: 20px;
  margin: 15px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.quest-drop-info::before {
  content: '💎';
  margin-right: 8px;
  font-size: 16px;
}

/* ---------------------------------------------------------- */

/* Desktop médio: 992px - 1199px */
@media (max-width: 1199px) {
  .quest-card {
    padding: 25px;
    margin: 20px 0;
  }
  
  .quest-sections {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }
  
  .quest-section {
    padding: 20px 18px;
  }
  
  .quest-title {
    font-size: 20px;
  }
  
  .quest-rewards {
    padding: 20px;
  }
}

/* Desktop pequeno: 768px - 991px */
@media (max-width: 991px) {
  .quest-card {
    padding: 20px;
    margin: 18px 0;
    border-radius: 16px;
  }
  
  .quest-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .quest-type {
    margin-left: 0;
    align-self: flex-end;
  }
  
  .quest-sections {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  
  .quest-section {
    padding: 18px 16px;
  }
  
  .quest-title {
    font-size: 18px;
  }
  
  .quest-section-content {
    font-size: 15px;
  }
  
  .quest-rewards {
    padding: 18px;
  }
  
  .quest-rewards-title {
    font-size: 16px;
  }
}

/* Tablet: 576px - 767px */
@media (max-width: 767px) {
  .quest-card {
    padding: 18px;
    margin: 15px 0;
    border-radius: 14px;
  }
  
  .quest-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }
  
  .quest-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
    margin-right: 12px;
  }
  
  .quest-title {
    font-size: 16px;
  }
  
  .quest-type {
    font-size: 11px;
    padding: 3px 10px;
  }
  
  .quest-sections {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 20px 0;
  }
  
  .quest-section {
    padding: 16px 14px;
  }
  
  .quest-section-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .quest-section-title {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .quest-section-content {
    font-size: 14px;
  }
  
  .quest-rewards {
    padding: 16px;
    margin: 20px 0;
  }
  
  .quest-rewards-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .quest-rewards-list {
    gap: 10px;
  }
  
  .quest-reward-item {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .quest-location-details,
  .quest-drop-info {
    padding: 16px;
    margin: 16px 0;
    font-size: 13px;
  }
}

/* Mobile: até 575px */
@media (max-width: 575px) {
  .quest-card {
    padding: 15px;
    margin: 12px 0;
    border-radius: 12px;
  }
  
  .quest-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  
  .quest-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-right: 10px;
  }
  
  .quest-title {
    font-size: 15px;
  }
  
  .quest-type {
    font-size: 10px;
    padding: 2px 8px;
  }
  
  .quest-sections {
    gap: 12px;
    margin: 18px 0;
  }
  
  .quest-section {
    padding: 14px 12px;
  }
  
  .quest-section:hover {
    transform: translateY(-2px) scale(1.01);
  }
  
  .quest-section-icon {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .quest-section-title {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .quest-section-content {
    font-size: 13px;
  }
  
  .quest-rewards {
    padding: 14px;
    margin: 18px 0;
  }
  
  .quest-rewards-title {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .quest-rewards-title::before {
    font-size: 16px;
    margin-right: 8px;
  }
  
  .quest-rewards-list {
    gap: 8px;
  }
  
  .quest-reward-item {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .quest-location-details,
  .quest-drop-info {
    padding: 14px;
    margin: 14px 0;
    font-size: 12px;
    border-radius: 12px;
  }
  
  .quest-location-details::before,
  .quest-drop-info::before {
    font-size: 14px;
    margin-right: 6px;
  }
}