Jump to content

Template:License/styles.css: Difference between revisions

From MTRNord's Wiki
Created page with ".mw-license-box { display: inline-table; border: 1px solid #aaa; font-size: 88%; margin: 0.2em 0; clear: right; float: right; } .mw-license-box td { vertical-align: middle; padding: 3px 6px; } .mw-license-badge { font-weight: bold; font-size: 115%; text-align: center; min-width: 52px; border-right: 1px solid #aaa; white-space: nowrap; } .mw-license-desc { max-width: 220p..."
 
No edit summary
Line 1: Line 1:
.mw-license-box {
.mw-license-box {
      display: inline-table;
    display: inline-table;
      border: 1px solid #aaa;
    border: 1px solid #aaa;
      font-size: 88%;
    font-size: 88%;
      margin: 0.2em 0;
    margin: 0.2em 0;
      clear: right;
    clear: right;
      float: right;
    float: right;
  }
}
  .mw-license-box td {
.mw-license-box td {
      vertical-align: middle;
    vertical-align: middle;
      padding: 3px 6px;
    padding: 3px 6px;
  }
}
  .mw-license-badge {
.mw-license-badge {
      font-weight: bold;
    font-weight: bold;
      font-size: 115%;
    font-size: 115%;
      text-align: center;
    text-align: center;
      min-width: 52px;
    min-width: 52px;
      border-right: 1px solid #aaa;
    border-right: 1px solid #aaa;
      white-space: nowrap;
    white-space: nowrap;
  }
}
  .mw-license-desc {
.mw-license-desc {
      max-width: 220px;
    max-width: 220px;
  }
}
  .mw-license-desc a { font-weight: bold; }
.mw-license-desc a { font-weight: bold; }


  .mw-license-cc-by      .mw-license-badge { background: #b3e0b3; }
.mw-license-cc-by      .mw-license-badge { background: #b3e0b3; }
  .mw-license-cc-by-sa    .mw-license-badge { background: #99d699; }
.mw-license-cc-by-sa    .mw-license-badge { background: #99d699; }
  .mw-license-cc-by-nc    .mw-license-badge { background: #fde68a; }
.mw-license-cc-by-nc    .mw-license-badge { background: #fde68a; }
  .mw-license-cc-by-nc-sa .mw-license-badge { background: #fcd34d; }
.mw-license-cc-by-nc-sa .mw-license-badge { background: #fcd34d; }
  .mw-license-cc-by-nd    .mw-license-badge { background: #a5d8f3; }
.mw-license-cc-by-nd    .mw-license-badge { background: #a5d8f3; }
  .mw-license-cc-by-nc-nd .mw-license-badge { background: #f3a5d8; }
.mw-license-cc-by-nc-nd .mw-license-badge { background: #f3a5d8; }
  .mw-license-cc0        .mw-license-badge { background: #c4b5fd; }
.mw-license-cc0        .mw-license-badge { background: #c4b5fd; }
  .mw-license-arr        .mw-license-badge { background: #e8e8e8; }
.mw-license-arr        .mw-license-badge { background: #e8e8e8; }

Revision as of 11:23, 18 April 2026

.mw-license-box {
    display: inline-table;
    border: 1px solid #aaa;
    font-size: 88%;
    margin: 0.2em 0;
    clear: right;
    float: right;
}
.mw-license-box td {
    vertical-align: middle;
    padding: 3px 6px;
}
.mw-license-badge {
    font-weight: bold;
    font-size: 115%;
    text-align: center;
    min-width: 52px;
    border-right: 1px solid #aaa;
    white-space: nowrap;
}
.mw-license-desc {
    max-width: 220px;
}
.mw-license-desc a { font-weight: bold; }

.mw-license-cc-by       .mw-license-badge { background: #b3e0b3; }
.mw-license-cc-by-sa    .mw-license-badge { background: #99d699; }
.mw-license-cc-by-nc    .mw-license-badge { background: #fde68a; }
.mw-license-cc-by-nc-sa .mw-license-badge { background: #fcd34d; }
.mw-license-cc-by-nd    .mw-license-badge { background: #a5d8f3; }
.mw-license-cc-by-nc-nd .mw-license-badge { background: #f3a5d8; }
.mw-license-cc0         .mw-license-badge { background: #c4b5fd; }
.mw-license-arr         .mw-license-badge { background: #e8e8e8; }