Mudanças entre as edições de "Widget:MainPageChangelog"

De Wiki Gla
Ir para navegação Ir para pesquisar
m
m
Linha 1: Linha 1:
<!-- Widget:MainPageChangelog -->
<style>
<div class="mp-changelog" style="
   .widget-changelog{
  --changelog-max-height: {{{max_height|280px}}};
    max-height: var(--changelog-max-height, 280px);
  --changelog-padding-right: {{{padding_right|5px}}};
    overflow-y: auto;
">
    padding-right: var(--changelog-pr, 5px);
   <style>
    box-sizing: border-box;
    .widget-changelog {
  }
      max-height: var(--changelog-max-height);
  .notice-item{
      overflow-y: auto;
    display:flex; align-items:flex-start;
      padding-right: var(--changelog-padding-right);
    background:#fff; border:1px solid #ddd; border-radius:6px;
      box-sizing: border-box;
    margin-bottom:10px; padding:8px 10px; box-sizing:border-box;
    }
    border-left:5px solid var(--notice-color, #f5b700);
    .notice-item {
  }
      display: flex;
  .notice-content{ flex:1; }
      align-items: flex-start;
  .notice-title{
      background: #fff;
    display:block; font-size:1.3em; font-weight:bold; color:#333; text-decoration:none; margin:0;
      border: 1px solid #ddd;
  }
      border-radius: 6px;
  .notice-title:hover{ text-decoration:underline; }
      margin-bottom: 10px;
  .notice-date{ font-size:.9em; color:#888; margin:-5px 0; }
      padding: 8px 10px;
  .notice-desc{ color:#555; line-height:1.3; margin:0; }
      box-sizing: border-box;
  .notice-icon{ object-fit:contain; flex-shrink:0; }
      border-left: 5px solid var(--notice-color, #f5b700);
  @media (prefers-color-scheme: dark){
    }
    .notice-item{ background:#1b1b1b; border-color:#333; }
    .notice-content { flex: 1; }
    .notice-title{ color:#e6e6e6; }
    .notice-title {
    .notice-date{ color:#aaa; }
      display: block;
    .notice-desc{ color:#ccc; }
      font-size: 1.3em;
  }
      font-weight: bold;
</style>
      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>
 
  <div class="widget-changelog">
    {{{body}}}
  </div>
</div>

Edição das 18h57min de 2 de setembro de 2025

<style>

 .widget-changelog{
   max-height: var(--changelog-max-height, 280px);
   overflow-y: auto;
   padding-right: var(--changelog-pr, 5px);
   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:.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>