MediaWiki:ChangelogBox.css: Difference between revisions

From CoraTO Wiki - Official Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:


/* Quick Stats Grid */
 
.quick-stats {
 
   display: grid;
/* Changelog Box */
   grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
.changelog-box {
   gap: 15px;
   background: var(--bg-1) !important;
   margin: 25px 0;
   padding: 25px 30px !important;
  border-radius: 16px !important;
  border: 1px solid var(--border) !important;
  border-left: 5px solid var(--primary) !important;
  box-shadow: 0 4px 20px var(--shadow-soft), 0 2px 8px var(--shadow-soft) !important;
   margin: 25px 0 !important;
   transition: all 0.3s ease !important;
  font-size: 1.05em !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
  position: relative !important;
}
}


.stat-card {
.changelog-box:hover {
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
   transform: translateY(-2px) !important;
  border-radius: 10px;
   box-shadow: 0 6px 25px var(--shadow-medium), 0 3px 10px var(--shadow-soft) !important;
  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 {
.changelog-with-image {
   transform: translateY(-5px);
   display: flex !important;
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  align-items: center !important;
   gap: 25px !important;
  margin: 25px 0 !important;
}
}


.stat-card h3 {
.changelog-with-image .changelog-box {
   margin: 0 0 10px 0;
   flex: 1 !important;
  font-size: 1.2rem;
   margin: 0 !important;
   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 }


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

Latest revision as of 08:22, 2 January 2026




/* Changelog Box */
.changelog-box {
  background: var(--bg-1) !important;
  padding: 25px 30px !important;
  border-radius: 16px !important;
  border: 1px solid var(--border) !important;
  border-left: 5px solid var(--primary) !important;
  box-shadow: 0 4px 20px var(--shadow-soft), 0 2px 8px var(--shadow-soft) !important;
  margin: 25px 0 !important;
  transition: all 0.3s ease !important;
  font-size: 1.05em !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
  position: relative !important;
}

.changelog-box:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px var(--shadow-medium), 0 3px 10px var(--shadow-soft) !important;
}

.changelog-with-image {
  display: flex !important;
  align-items: center !important;
  gap: 25px !important;
  margin: 25px 0 !important;
}

.changelog-with-image .changelog-box {
  flex: 1 !important;
  margin: 0 !important;
}


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

/* Desktop médio: 992px - 1199px */
@media (max-width: 1199px) {
  .changelog-box {
    padding: 18px;
    border-radius: 11px;
    margin: 18px 0;
  }
  
  .changelog-header {
    margin-bottom: 13px;
  }
  
  .changelog-header h3 {
    font-size: 1.4rem;
  }
  
  .changelog-date {
    font-size: 0.85em;
  }
  
  .changelog-item {
    padding: 9px 0;
    font-size: 0.95em;
  }
}

/* Desktop pequeno: 768px - 991px */
@media (max-width: 991px) {
  .changelog-box {
    padding: 16px;
    border-radius: 10px;
    margin: 16px 0;
  }
  
  .changelog-header {
    margin-bottom: 12px;
  }
  
  .changelog-header h3 {
    font-size: 1.3rem;
  }
  
  .changelog-date {
    font-size: 0.8em;
  }
  
  .changelog-item {
    padding: 8px 0;
    font-size: 0.9em;
  }
}

/* Tablet: 576px - 767px */
@media (max-width: 767px) {
  .changelog-box {
    padding: 14px;
    border-radius: 8px;
    margin: 14px 0;
  }
  
  .changelog-header {
    margin-bottom: 10px;
  }
  
  .changelog-header h3 {
    font-size: 1.2rem;
  }
  
  .changelog-date {
    font-size: 0.75em;
  }
  
  .changelog-item {
    padding: 7px 0;
    font-size: 0.85em;
  }
}

/* Mobile: até 575px */
@media (max-width: 575px) {
  .changelog-box {
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
  }
  
  .changelog-header {
    margin-bottom: 8px;
  }
  
  .changelog-header h3 {
    font-size: 1.1rem;
  }
  
  .changelog-date {
    font-size: 0.7em;
  }
  
  .changelog-item {
    padding: 6px 0;
    font-size: 0.8em;
  }
}