MediaWiki:Common.css: Difference between revisions

1,140 bytes added ,  17:23, 22 August 2019
some wrapping fixes and stuff
No edit summary
(some wrapping fixes and stuff)
Line 1,770: Line 1,770:
   --qud-font-icon2: 'Source Code Pro','Calibri','Consolas','Lucida Console';
   --qud-font-icon2: 'Source Code Pro','Calibri','Consolas','Lucida Console';
   --qud-font-infobox-title: 'Source Code Pro','Segoe UI','Consolas','Lucida Console','Courier New','Courier';
   --qud-font-infobox-title: 'Source Code Pro','Segoe UI','Consolas','Lucida Console','Courier New','Courier';
   --qud-font-infobox-content: 'Segoe UI','Consolas','Lucida Console','Courier New','Courier';
   --qud-font-infobox-content: 'Segoe UI','Consolas','Lucida Console','Courier New','Courier','Source Code Pro';
   --qud-font-collapser-arrows: 'Source Code Pro, Lucida Console, Consolas';
   --qud-font-collapser-arrows: 'Source Code Pro, Lucida Console, Consolas';


Line 1,776: Line 1,776:
   --qud-bg-color-darker: rgba(6,28,23,0.9);
   --qud-bg-color-darker: rgba(6,28,23,0.9);
   --qud-bg-color-arrow: rgb(9,31,25);
   --qud-bg-color-arrow: rgb(9,31,25);
}
/*
*  QUD STYLES - GENERAL TWEAKS
*  ===========================
*/
b {
  font-weight: 700; /* fix for firefox additive bolding when there are multiple nested <b> tags */
}
}
/*
/*
Line 1,810: Line 1,817:
   background: var(--navbox-background);
   background: var(--navbox-background);
   font-size: 1.12em;
   font-size: 1.12em;
  word-break: break-word;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
}
/*  
/*  
Line 1,833: Line 1,843:
   padding: 0 4px;
   padding: 0 4px;
   background: var(--code-background); /*#0f3b3a;*/
   background: var(--code-background); /*#0f3b3a;*/
}
.qud-collapser-content div,
.qud-collapser-content span {
    font-family: var(--qud-font-infobox-content);
}
}
.qud-collapser-arrow-right {
.qud-collapser-arrow-right {
Line 1,839: Line 1,853:
   line-height: 1.8em;
   line-height: 1.8em;
   font-family: var(--qud-font-collapser-arrows);
   font-family: var(--qud-font-collapser-arrows);
  left: 0.6em;
   z-index: 10;
   z-index: 10;
}
}
Line 1,848: Line 1,861:
   font-family: var(--qud-font-collapser-arrows);
   font-family: var(--qud-font-collapser-arrows);
   background: var(--qud-bg-color-arrow);
   background: var(--qud-bg-color-arrow);
  left: 0.6em;
   z-index: 20;
   z-index: 20;
}
}
Line 2,041: Line 2,053:
  *  ===================================
  *  ===================================
  */
  */
.qud-attributes #mw-customcollapsible-qud-detailed-attributes,
.qud-attributes #collapsible-qud-detailed-attributes {
  width: 260px;
}
@media (max-width: 511px)
{
  .qud-attributes #mw-customcollapsible-qud-detailed-attributes,
  .qud-attributes #collapsible-qud-detailed-attributes {
    width: auto;
  }
}
.qud-stat-table-header:first-child {
  width: 34%;
}
.qud-stat-table-header:nth-child(2) {
  width: 17%;
}
.qud-stat-table-header:nth-child(3) {
  width: 14%;
}
.qud-stat-details-wrapper {
.qud-stat-details-wrapper {
   color: var(--qud-color-y-dark);
   color: var(--qud-color-y-dark);
Line 2,047: Line 2,079:
   border-collapse: collapse;
   border-collapse: collapse;
   width: 100%;
   width: 100%;
  table-layout: fixed;
}
}
.qud-stat-details-entry {
.qud-stat-details-entry {
Line 2,057: Line 2,090:
   display: table-cell;
   display: table-cell;
   text-align: center;
   text-align: center;
   padding: 0 0.4em;
   padding: 0 0.2em;
   color: var(--qud-color-y-dark);
   color: var(--qud-color-y-dark);
   border-left: var(--infobox-border);
   border-left: var(--infobox-border);
Line 2,064: Line 2,097:
   border-left: none;
   border-left: none;
   text-align: left;
   text-align: left;
  padding: 0 0.2em 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: normal;
}
.qud-stat-details-entry > div:nth-child(4) {
  padding: 0 0 0 0.2em;
  word-wrap: break-word;
}
}
.qud-stat-details-entry > div.qud-stat-table-header {
.qud-stat-details-entry > div.qud-stat-table-header {
Line 2,148: Line 2,189:
   max-width: 260px;
   max-width: 260px;
   padding: 0.4em 0;
   padding: 0.4em 0;
}
@media (max-width: 511px)
{
  .qud-skills-wrapper,
  .qud-mutations-wrapper {
    max-width: none;
  }
}
}
.qud-skill-entry,
.qud-skill-entry,