MediaWiki:ChangelogBox.css

From CoraTO Wiki - Official Wiki
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.



/* 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;
  }
}