Actions

MediaWiki

Common.css: Difference between revisions

From SUALEX

No edit summary
No edit summary
Line 17: Line 17:
   line-height: 1.4;
   line-height: 1.4;
   box-sizing: border-box;
   box-sizing: border-box;
  max-width: 100%;
  word-wrap: break-word;
}
}



Revision as of 05:38, 29 January 2026

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

/* Term styling */
.value-term {
	font-weight: bold !important;
}

/* Message box styling */
.mbox {
  margin: 1em 0;
  padding: 0.6em 1em;
  border: 1px solid #a2a9b1;
  border-left-width: 10px;
  background-color: #f8f9fa;
  color: #202122;
  font-size: 0.95em;
  line-height: 1.4;
  box-sizing: border-box;
  max-width: 100%;
  word-wrap: break-word;
}

.mbox-title {
  font-weight: bold;
  margin-bottom: 0.3em;
}

.mbox-info {
  border-left-color: #36c;
}

.mbox-warning {
  border-left-color: #f28500;
  background-color: #fffaf3;
}

.mbox-error {
  border-left-color: #d33;
  background-color: #fff6f6;
}

.mbox-success {
  border-left-color: #14866d;
  background-color: #f4fbf9;
}

/* Responsive, horizontally scrollable table */
@media (max-width: 720px) {
  .wikitable {
    display: block;
    overflow-x: auto;
    width: 100%;
  }
}