Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Created page with "CSS placed here will be applied to all skins: .portable-infobox { float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em; width: 300px; background-color: #1e2a35; border: 1px solid #444; font-size: 0.9em; } .pi-title { text-align: center; font-size: 1.2em; font-weight: bold; padding: 0.5em; background-color: #2a3f52; } .pi-image img { width: 100%; height: auto; } .pi-header { background-col..."
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


.portable-infobox {
@font-face {
    float: right;
  font-family: "Helvetica Black";
     clear: right;
  src: url("https://verybad.wiki/images/3/3f/Helveticablackoriginal_bold.otf")
    margin: 0 0 1em 1em;
     format("opentype");
    padding: 0.5em;
  font-weight: 900;
    width: 300px;
  font-style: normal;
    background-color: #1e2a35;
  font-display: swap;
    border: 1px solid #444;
  unicode-range: U+0020-007E;
    font-size: 0.9em;
}
 
h1, h2, h3, h4, h5, h6, .pi-title, .mw-logo-wordmark {
  font-family: "Helvetica Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
}
}


.pi-title {
.mw-parser-output > p:empty {
    text-align: center;
  display: none;
    font-size: 1.2em;
  margin: 0;
    font-weight: bold;
  padding: 0;
    padding: 0.5em;
    background-color: #2a3f52;
}
}


.pi-image img {
 
     width: 100%;
#footer-tagline {
     height: auto;
     text-align: left;
     max-width: 50%;
}
}


.pi-header {
.wikitable {
    background-color: #2a3f52;
  background-color: var(--color-surface-1);
    padding: 0.3em 0.5em;
  border-color: var(--border-color-base);
    font-weight: bold;
    text-align: center;
}
}


.pi-data {
.wikitable th {
    display: flex;
  background-color: var(--color-surface-2);
    padding: 0.3em 0.5em;
  color: var(--color-base);
    border-top: 1px solid #444;
}
}


.pi-data-label {
.wikitable td {
    flex: 0 0 40%;
  border-color: var(--border-color-base);
    font-weight: bold;
    color: #aaa;
}
}


.pi-data-value {
@media screen and (max-width: 768px) {
     flex: 1;
  table.wikitable thead {
    display: none;
  }
 
  table.wikitable tr {
    display: block;
    margin-bottom: 1em;
    border: 1px solid #444;
  }
 
  table.wikitable td {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #444;
  }
 
  table.wikitable td::before {
    content: attr(data-label);
    position: absolute;
    left: 0.5em;
    font-weight: bold;
     text-align: left;
  }
}
}

Latest revision as of 20:44, 21 March 2026

/* CSS placed here will be applied to all skins */

@font-face {
  font-family: "Helvetica Black";
  src: url("https://verybad.wiki/images/3/3f/Helveticablackoriginal_bold.otf")
    format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E;
}

h1, h2, h3, h4, h5, h6, .pi-title, .mw-logo-wordmark {
  font-family: "Helvetica Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
}

.mw-parser-output > p:empty {
  display: none;
  margin: 0;
  padding: 0;
}


#footer-tagline {
    text-align: left;
    max-width: 50%;
}

.wikitable {
  background-color: var(--color-surface-1);
  border-color: var(--border-color-base);
}

.wikitable th {
  background-color: var(--color-surface-2);
  color: var(--color-base);
}

.wikitable td {
  border-color: var(--border-color-base);
}

@media screen and (max-width: 768px) {
  table.wikitable thead {
    display: none;
  }

  table.wikitable tr {
    display: block;
    margin-bottom: 1em;
    border: 1px solid #444;
  }

  table.wikitable td {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #444;
  }

  table.wikitable td::before {
    content: attr(data-label);
    position: absolute;
    left: 0.5em;
    font-weight: bold;
    text-align: left;
  }
}