User:Marphy/common.css: Difference between revisions

From the Combine OverWiki, the original Half-Life and Portal wiki
Jump to navigation Jump to search
Created page with "@media (max-width: 639px) { .content table.diff td.diff-lineno:first-child, .content table.diff td.diff-context.diff-side-deleted, .content table.diff td.diff-marker:has(+ td.diff-context.diff-side-deleted), .content table.diff td:empty { display: none !important; } } .content table.diff td.diff-deletedline { border-color: #e57373; } .content table.diff td.diff-addedline { border-color: #75c877; } .content table.diff td.diff-deletedline .diffchange {..."
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
@media (max-width: 639px) {
@media (max-width: 639px) {
   .content table.diff td.diff-lineno:first-child,
   .skin-minerva .content table.diff {
  .content table.diff td.diff-context.diff-side-deleted,
    display: table !important;
  .content table.diff td.diff-marker:has(+ td.diff-context.diff-side-deleted),
    width: 100% !important;
  .content table.diff td:empty {
    max-width: none !important;
     display: none !important;
    table-layout: fixed;
    font-size: 0.7em;
  }
 
  .skin-minerva .content table.diff > tbody {
     display: table-row-group !important;
   }
   }
}


.content table.diff td.diff-deletedline {
  .skin-minerva .content table.diff > tbody > tr {
  border-color: #e57373;
    display: table-row !important;
}
  }


.content table.diff td.diff-addedline {
  .skin-minerva .content table.diff td {
  border-color: #75c877;
    display: table-cell !important;
}
    padding: 0.22em !important;
    overflow-wrap: anywhere;
  }


.content table.diff td.diff-deletedline .diffchange {
  .skin-minerva .content table.diff td.diff-otitle .mw-diff-usermetadata {
  background-color: #e57373;
    display: none !important;
  }
}
}


.content table.diff td.diff-addedline .diffchange {
.mw-special-Recentchanges .mw-body-content > .cdx-message--warning,
   background-color: #75c877;
.mw-special-Watchlist .mw-body-content > .cdx-message--warning {
   display: none;
}
}

Latest revision as of 00:59, 25 November 2026

@media (max-width: 639px) {
  .skin-minerva .content table.diff {
    display: table !important;
    width: 100% !important;
    max-width: none !important;
    table-layout: fixed;
    font-size: 0.7em;
  }

  .skin-minerva .content table.diff > tbody {
    display: table-row-group !important;
  }

  .skin-minerva .content table.diff > tbody > tr {
    display: table-row !important;
  }

  .skin-minerva .content table.diff td {
    display: table-cell !important;
    padding: 0.22em !important;
    overflow-wrap: anywhere;
  }

  .skin-minerva .content table.diff td.diff-otitle .mw-diff-usermetadata {
    display: none !important;
  }
}

.mw-special-Recentchanges .mw-body-content > .cdx-message--warning,
.mw-special-Watchlist .mw-body-content > .cdx-message--warning {
  display: none;
}