MediaWiki:Timeless.css: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 77: Line 77:
}
}
.infobox {
.infobox {
   word-break: normal;
   word-break: break-word;
}
}

Revision as of 22:51, 12 August 2019

/* CSS placed here will affect users of the Timeless skin */
/* Thumb image border fix */
.thumbborder {
    border: 0.5px Solid #dbdbdb;
}

/* Possible Timless single-sidebar mode */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
  margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
    float: left;
    clear: left;
  }
}
@media (min-width: 1560px) {
  #mw-content {
    width: 81%;
  }
}
@media (min-width: 1340px) and (max-width: 1559px) {
  #mw-content {
    width: 78%;
  }
}

@media (min-width: 851px) and (max-width: 1099px) {
  #mw-related-navigation {
    float: left;
  }
}

/* Accent color changes */
.color-left {
  background: #006699;
}
.color-right {
  background: #006699;
}
#mw-content-container {
border-bottom: solid 4px #006699;
}

/* Improved Infobox & Table Contrast */
.infobox {
  border: 1px solid #c3c3c3;
}
.infobox.geography td, .infobox.geography th {
  border-top: 1px solid #c3c3c3;
}
table.wikitable > tr > th, table.wikitable > * > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > td {
  border: 1px solid #c3c3c3;
}

/* Hide Site Name if Logo Displayed */
@media (min-width: 1100px) {
  #p-logo-text {
    display: none !important;
  }
}

/* Stop tables from overflowing containers */
table {
  word-break: break-all;
}
.infobox {
  word-break: break-word;
}