MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus ATS Wiki
K (Infoboxen-css überarbeitet)
Zeile 2: Zeile 2:




/* Test-infobox styles */
/* region Infoboxen-Css */
.infobox {
  .infobox {
    background: #eee;
      background: #eee;
    border: 1px solid #aaa;
      border: 1px solid #aaa;
    float: right;
      float: right;
    margin: 0 0 1em 1em;
      margin: 0 0 1em 1em;
    padding: 1em;
      padding: 1em;
     width: 400px;
  }
}
 
.infobox-title {
  .infobox-header {
    font-size: 2em;
     background: #6b6b6e;
    text-align: center;
  }
}
 
.infobox-image {
  .infobox-title {
    text-align: center;
      font-size: 2em;
}
      text-align: center;
.infobox th {
  }
    text-align: right;
  .infobox-image {
    vertical-align: top;
      text-align: center;
    width: 120px;
  }
}
  .infobox th {
.infobox td {
      text-align: left;
    vertical-align: top;
      vertical-align: top;
}
      width: 120px;
  }
  .infobox td {
      vertical-align: top;
  }
 
  .infobox table td ul {
    margin-top: 0;
    list-style-type: none;
  }
/* endregion Infoboxen-Css */

Version vom 6. Juli 2022, 09:54 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */


/* region Infoboxen-Css */
  .infobox {
      background: #eee;
      border: 1px solid #aaa;
      float: right;
      margin: 0 0 1em 1em;
      padding: 1em;
  }

  .infobox-header {
    background: #6b6b6e;
  }

  .infobox-title {
      font-size: 2em;
      text-align: center;
  }
  .infobox-image {
      text-align: center;
  }
  .infobox th {
      text-align: left;
      vertical-align: top;
      width: 120px;
  }
  .infobox td {
      vertical-align: top;
  }

  .infobox table td ul {
    margin-top: 0;
    list-style-type: none;
  }
/* endregion Infoboxen-Css */