Mudanças entre as edições de "Widget:MainPageChangelog"
Ir para navegação
Ir para pesquisar
m |
m |
||
| Linha 5: | Linha 5: | ||
"> | "> | ||
<style> | <style> | ||
.widget-changelog { | .widget-changelog { | ||
max-height: var(--changelog-max-height); | max-height: var(--changelog-max-height); | ||
| Linha 37: | Linha 36: | ||
.notice-icon { object-fit: contain; flex-shrink: 0; } | .notice-icon { object-fit: contain; flex-shrink: 0; } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
.notice-item { background: #1b1b1b; border-color: #333; } | .notice-item { background: #1b1b1b; border-color: #333; } | ||
| Linha 46: | Linha 44: | ||
</style> | </style> | ||
{{{body}}} | <!-- wrapper pra aplicar o CSS da widget --> | ||
<div class="widget-changelog"> | |||
{{{body}}} | |||
</div> | |||
</div> | </div> | ||
Edição das 18h36min de 2 de setembro de 2025
<style>
.widget-changelog {
max-height: var(--changelog-max-height);
overflow-y: auto;
padding-right: var(--changelog-padding-right);
box-sizing: border-box;
}
.notice-item {
display: flex;
align-items: flex-start;
background: #fff;
border: 1px solid #ddd;
border-radius: 6px;
margin-bottom: 10px;
padding: 8px 10px;
box-sizing: border-box;
border-left: 5px solid var(--notice-color, #f5b700);
}
.notice-content { flex: 1; }
.notice-title {
display: block;
font-size: 1.3em;
font-weight: bold;
color: #333;
text-decoration: none;
margin: 0;
}
.notice-title:hover { text-decoration: underline; }
.notice-date { font-size: 0.9em; color: #888; margin: -5px 0; }
.notice-desc { color: #555; line-height: 1.3; margin: 0; }
.notice-icon { object-fit: contain; flex-shrink: 0; }
@media (prefers-color-scheme: dark) {
.notice-item { background: #1b1b1b; border-color: #333; }
.notice-title { color: #e6e6e6; }
.notice-date { color: #aaa; }
.notice-desc { color: #ccc; }
}
</style>