MediaWiki:ChangelogBox.css: Difference between revisions

From CoraTO Wiki - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:


/* Quick Stats Grid */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin: 25px 0;
}


 
.stat-card {
/* Changelog Box */
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
.changelog-box {
   border-radius: 10px;
   background: linear-gradient(135deg, #ffeef7 0%, #ffffff 50%, #f8f9fa 100%) !important;
   padding: 20px;
  padding: 25px 30px !important;
   text-align: center;
   border-radius: 16px !important;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   border: 1px solid rgba(255, 107, 157, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
   border-left: 5px solid #ff6b9d !important;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   box-shadow: 0 4px 20px rgba(255, 107, 157, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  margin: 25px 0 !important;
   transition: all 0.3s ease !important;
  font-size: 1.05em !important;
  line-height: 1.6 !important;
  color: #2c3e50 !important;
  position: relative !important;
}
}


.changelog-box:hover {
.stat-card:hover {
   transform: translateY(-2px) !important;
   transform: translateY(-5px);
   box-shadow: 0 6px 25px rgba(255, 107, 157, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08) !important;
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
}


.changelog-with-image {
.stat-card h3 {
   display: flex !important;
   margin: 0 0 10px 0;
   align-items: center !important;
   font-size: 1.2rem;
   gap: 25px !important;
   color: #ff6b9d;
  margin: 25px 0 !important;
}
}


.changelog-with-image .changelog-box {
.stat-card p {
   flex: 1 !important;
  font-size: 2rem;
   margin: 0 !important;
   font-weight: bold;
   margin: 0;
  background: linear-gradient(135deg, #ff6b9d, #d63384);
 
  color: transparent;
}
}
 
html[data-theme="dark"] .stat-card { background: #141c2a; border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 24px rgba(123,187,255,.18) }
html[data-theme="dark"] .changelog-box { background: linear-gradient(135deg, #121a29 0%, #101625 100%) !important; color: #cfe6ff !important; border-left-color: #7bbbff !important; border-color: rgba(159,208,255,.18) !important; box-shadow: 0 6px 24px rgba(123,187,255,.25) !important }
html[data-theme="dark"] .stat-card:hover { box-shadow: 0 12px 36px rgba(123,187,255,.25) }
html[data-theme="dark"] .changelog-box:hover { box-shadow: 0 12px 36px rgba(123,187,255,.28) !important }
html[data-theme="dark"] .stat-card h3 { color: #9fd0ff }
html[data-theme="dark"] .changelog-header h3 { color: #9fd0ff !important }
html[data-theme="dark"] .stat-card p { background: linear-gradient(135deg, #274c77, #1b2b41); -webkit-background-clip: text; background-clip: text; color: transparent }
html[data-theme="dark"] .changelog-date { color: #a8c6e8 !important }
html[data-theme="dark"] .changelog-item { color: #cfe6ff !important }
 


/* ========================================
/* ========================================
Line 48: Line 48:
/* Desktop médio: 992px - 1199px */
/* Desktop médio: 992px - 1199px */
@media (max-width: 1199px) {
@media (max-width: 1199px) {
   .changelog-box {
   .quick-stats {
     padding: 18px;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     border-radius: 11px;
     gap: 18px;
     margin: 18px 0;
     margin: 18px 0;
   }
   }
    
    
   .changelog-header {
   .stat-item {
     margin-bottom: 13px;
     padding: 18px;
    border-radius: 11px;
   }
   }
    
    
   .changelog-header h3 {
   .stat-value {
     font-size: 1.4rem;
     font-size: 1.8rem;
    margin-bottom: 9px;
   }
   }
    
    
   .changelog-date {
   .stat-label {
    font-size: 0.85em;
  }
 
  .changelog-item {
    padding: 9px 0;
     font-size: 0.95em;
     font-size: 0.95em;
   }
   }
Line 74: Line 71:
/* Desktop pequeno: 768px - 991px */
/* Desktop pequeno: 768px - 991px */
@media (max-width: 991px) {
@media (max-width: 991px) {
   .changelog-box {
   .quick-stats {
     padding: 16px;
     grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
     border-radius: 10px;
     gap: 16px;
     margin: 16px 0;
     margin: 16px 0;
   }
   }
    
    
   .changelog-header {
   .stat-item {
     margin-bottom: 12px;
     padding: 16px;
    border-radius: 10px;
   }
   }
    
    
   .changelog-header h3 {
   .stat-item:hover {
     font-size: 1.3rem;
     transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
   }
   }
    
    
   .changelog-date {
   .stat-value {
     font-size: 0.8em;
     font-size: 1.6rem;
    margin-bottom: 8px;
   }
   }
    
    
   .changelog-item {
   .stat-label {
    padding: 8px 0;
     font-size: 0.9em;
     font-size: 0.9em;
   }
   }
Line 100: Line 99:
/* Tablet: 576px - 767px */
/* Tablet: 576px - 767px */
@media (max-width: 767px) {
@media (max-width: 767px) {
   .changelog-box {
   .quick-stats {
     padding: 14px;
     grid-template-columns: repeat(2, 1fr);
     border-radius: 8px;
     gap: 14px;
     margin: 14px 0;
     margin: 14px 0;
   }
   }
    
    
   .changelog-header {
   .stat-item {
     margin-bottom: 10px;
     padding: 14px;
    border-radius: 8px;
   }
   }
    
    
   .changelog-header h3 {
   .stat-item:hover {
     font-size: 1.2rem;
     transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
   }
   }
    
    
   .changelog-date {
   .stat-value {
     font-size: 0.75em;
     font-size: 1.4rem;
    margin-bottom: 7px;
   }
   }
    
    
   .changelog-item {
   .stat-label {
    padding: 7px 0;
     font-size: 0.85em;
     font-size: 0.85em;
   }
   }
Line 126: Line 127:
/* Mobile: até 575px */
/* Mobile: até 575px */
@media (max-width: 575px) {
@media (max-width: 575px) {
   .changelog-box {
   .quick-stats {
     padding: 12px;
     grid-template-columns: 1fr;
     border-radius: 6px;
     gap: 12px;
     margin: 12px 0;
     margin: 12px 0;
   }
   }
    
    
   .changelog-header {
   .stat-item {
     margin-bottom: 8px;
     padding: 12px;
    border-radius: 6px;
   }
   }
    
    
   .changelog-header h3 {
   .stat-item:hover {
     font-size: 1.1rem;
     transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
   }
   }
    
    
   .changelog-date {
   .stat-value {
     font-size: 0.7em;
     font-size: 1.2rem;
    margin-bottom: 6px;
   }
   }
    
    
   .changelog-item {
   .stat-label {
    padding: 6px 0;
     font-size: 0.8em;
     font-size: 0.8em;
   }
   }
}
}

Revision as of 11:39, 3 December 2025


/* Quick Stats Grid */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: #ff6b9d;
}

.stat-card p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  background: linear-gradient(135deg, #ff6b9d, #d63384);
  
  color: transparent;
}
html[data-theme="dark"] .stat-card { background: #141c2a; border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 24px rgba(123,187,255,.18) }
html[data-theme="dark"] .stat-card:hover { box-shadow: 0 12px 36px rgba(123,187,255,.25) }
html[data-theme="dark"] .stat-card h3 { color: #9fd0ff }
html[data-theme="dark"] .stat-card p { background: linear-gradient(135deg, #274c77, #1b2b41); -webkit-background-clip: text; background-clip: text; color: transparent }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Desktop médio: 992px - 1199px */
@media (max-width: 1199px) {
  .quick-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 18px 0;
  }
  
  .stat-item {
    padding: 18px;
    border-radius: 11px;
  }
  
  .stat-value {
    font-size: 1.8rem;
    margin-bottom: 9px;
  }
  
  .stat-label {
    font-size: 0.95em;
  }
}

/* Desktop pequeno: 768px - 991px */
@media (max-width: 991px) {
  .quick-stats {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 16px 0;
  }
  
  .stat-item {
    padding: 16px;
    border-radius: 10px;
  }
  
  .stat-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }
  
  .stat-value {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }
  
  .stat-label {
    font-size: 0.9em;
  }
}

/* Tablet: 576px - 767px */
@media (max-width: 767px) {
  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 14px 0;
  }
  
  .stat-item {
    padding: 14px;
    border-radius: 8px;
  }
  
  .stat-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  }
  
  .stat-value {
    font-size: 1.4rem;
    margin-bottom: 7px;
  }
  
  .stat-label {
    font-size: 0.85em;
  }
}

/* Mobile: até 575px */
@media (max-width: 575px) {
  .quick-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px 0;
  }
  
  .stat-item {
    padding: 12px;
    border-radius: 6px;
  }
  
  .stat-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  
  .stat-value {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
  
  .stat-label {
    font-size: 0.8em;
  }
}