MediaWiki:ChangelogBox.css: Difference between revisions
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: | ||
/* | |||
. | |||
/* 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; | |||
box-shadow: 0 | |||
} | } | ||
. | .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; | |||
} | } | ||
/* ======================================== | /* ======================================== | ||
| Line 48: | Line 42: | ||
/* Desktop médio: 992px - 1199px */ | /* Desktop médio: 992px - 1199px */ | ||
@media (max-width: 1199px) { | @media (max-width: 1199px) { | ||
. | .changelog-box { | ||
padding: 18px; | |||
border-radius: 11px; | |||
margin: 18px 0; | margin: 18px 0; | ||
} | } | ||
. | .changelog-header { | ||
margin-bottom: 13px; | |||
} | |||
.changelog-header h3 { | |||
font-size: 1.4rem; | |||
} | } | ||
. | .changelog-date { | ||
font-size: | font-size: 0.85em; | ||
} | } | ||
. | .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) { | ||
. | .changelog-box { | ||
padding: 16px; | |||
border-radius: 10px; | |||
margin: 16px 0; | margin: 16px 0; | ||
} | } | ||
. | .changelog-header { | ||
margin-bottom: 12px; | |||
} | } | ||
. | .changelog-header h3 { | ||
font-size: 1.3rem; | |||
} | } | ||
. | .changelog-date { | ||
font-size: | font-size: 0.8em; | ||
} | } | ||
. | .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) { | ||
. | .changelog-box { | ||
padding: 14px; | |||
border-radius: 8px; | |||
margin: 14px 0; | margin: 14px 0; | ||
} | } | ||
. | .changelog-header { | ||
margin-bottom: 10px; | |||
} | } | ||
. | .changelog-header h3 { | ||
font-size: 1.2rem; | |||
} | } | ||
. | .changelog-date { | ||
font-size: | font-size: 0.75em; | ||
} | } | ||
. | .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) { | ||
. | .changelog-box { | ||
padding: 12px; | |||
border-radius: 6px; | |||
margin: 12px 0; | margin: 12px 0; | ||
} | } | ||
. | .changelog-header { | ||
margin-bottom: 8px; | |||
} | } | ||
. | .changelog-header h3 { | ||
font-size: 1.1rem; | |||
} | } | ||
. | .changelog-date { | ||
font-size: | font-size: 0.7em; | ||
} | } | ||
. | .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;
}
}