MediaWiki:Mobile.css: Difference between revisions

927 bytes added ,  17:24, 22 August 2019
no edit summary
No edit summary
No edit summary
Line 1,168: Line 1,168:
   --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,174: Line 1,174:
   --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,208: Line 1,215:
   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,231: Line 1,241:
   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,410: Line 1,424:
  *  ===================================
  *  ===================================
  */
  */
.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 1,416: Line 1,443:
   border-collapse: collapse;
   border-collapse: collapse;
   width: 100%;
   width: 100%;
  table-layout: fixed;
}
}
.qud-stat-details-entry {
.qud-stat-details-entry {
Line 1,426: Line 1,454:
   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 1,433: Line 1,461:
   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 1,515: Line 1,551:
   font-weight: bold;
   font-weight: bold;
   font-family: var(--qud-font-infobox-content);
   font-family: var(--qud-font-infobox-content);
   max-width: 260px;
   /* max-width: 260px; */ /* <-- disabled for mobile */
   padding: 0.4em 0;
   padding: 0.4em 0;
}
}