Difference between revisions of "MediaWiki:Common.css"

From Hanna-Barbera Wiki
Jump to navigationJump to search
(infobox class)
(mf-welcome)
 
(3 intermediate revisions by the same user not shown)
Line 199: Line 199:
   font-family: verdana, sans-serif;
   font-family: verdana, sans-serif;
   font-size: 10px;
   font-size: 10px;
  background-color: #f7f8ff;
  border:1px solid #8888aa;
}
.infobox tr:first-child th {
  font-size:14px;
  padding:3px;
}
}


Line 229: Line 236:
}
}


#mf-welcome {
    padding-right:128px;
}


/* OOUI fix */
/* OOUI fix */

Latest revision as of 22:48, 31 March 2021

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


/* <h3> Shared interface </h3> */

pre {
	overflow: auto;
}

#toc, .toc {
	margin-bottom: 3px;
}

div.tleft, div.tright {
	margin-top: 0.2em;
	margin-bottom: 0.8em;
}
.thumb .mediaContainer {
	margin: 4px auto 2px;
}
.thumb .multiVert .mediaContainer {
	margin: 3px auto -1px;
}

ul.gallery, li.gallerybox div.thumb {
	margin-bottom: 0;
	padding-bottom: 0;
}
#bodyContent ul.gallery {
	margin: 2px;
	padding: 2px;
}
li.gallerycaption {
	text-align: unset;
}

.mw_metadata {
	margin-top: 5px;
}

.catlinks {
	margin-top: 10px;
}
#catlinks li {
	margin: 0.28em 0;
	line-height: 1em;
}

blockquote {
	border-left: 3px solid #06f;
	margin-left: 2em;
	padding-left: 1em;
}

.mw-collapsible-toggle {
	padding-right: 0.3em;
}
.infobox .mw-collapsible-toggle-expanded {
	padding-left: 0.5em;
}
.contentbox > .mw-collapsible-toggle {
	float: none !important;
}

/* recent changes */
.mw-changeslist-legend {
    border: 1px solid #aaa;
}

/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
	color: #888 !important;
}

/* All pages */

.special li {
	line-height: 19px;
}
#preftoc a:active {
	color: #00c; 
}

#bodyContent {
	position: relative;
}
.mw-newarticletext {
	margin-bottom: 10px;
}

/* Upload form */
#mw-htmlform-description .mw-editTools {
	display: none;
}

/* References */
ol.references {
	margin-top: 0;
	font-size: 90%;
}
ol.references div {
	display: inline;
}
ol.references span {
	line-height: 1;
}

.ns-3 [style*="position:fixed"] {
	display: none;
}

.ipa {
	font-family: "Arial Unicode MS","Charis SIL","DejaVu Sans",Gentium,"Lucida Sans Unicode","TITUS Cyberbit","DoulosSIL",Arial;
}


/* Edit box */
.wikiEditor-ui-toolbar .section-main,
.wikiEditor-ui-toolbar .tabs {
	height: auto;
}
.wikiEditor-ui textarea#wpTextbox1 {
	height: 474px;
	line-height: 1.4em;
}
.mw-summary-preview {
	margin-bottom: 0.5em;
}
#wpSummaryLabel .oo-ui-textInputWidget textarea,
#wpSummaryLabel .oo-ui-textInputWidget input {
	padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
	margin-right: 3px;
}

/* Edit section */
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
	margin: 0;
	color: unset;
}

/* Indicator icons */
.mw-indicators,
#mw-indicator-shortcut {
	position: relative;
}
.mw-indicator {
	margin: 0 2px;
}
.mw-indicator img {
	image-rendering: auto !important;
}
#mw-indicator-mw-helplink {
	display: none;
}

/* Diff lines */
.diff-addedline, .diff-deletedline, .diff-context {
    font-size: 88% !important;
    line-height: 1.6 !important;
    vertical-align: top;
    white-space: -moz-pre-wrap;
    white-space: pre-wrap;
    border-style: solid;
    border-width: 1px 1px 1px 4px;
    border-radius: 0.33em;
}

.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context {
    font: x-small sans-serif;
}

.diff-addedline, .diffchange {
    background: #FFF;
}

/* Width fixes */
table {
	max-width: 100%;
}
@media all and (max-width: 1100px) {
	.mw-parser-output table {
		min-width: 0 !important;
	}
}

/* infobox templates */

.infobox {
  float:right;
  width:300px;
  margin: 0 0 1em 1em;
  padding:2px;
  border-spacing:0;
  font-family: verdana, sans-serif;
  font-size: 10px;
  background-color: #f7f8ff;
  border:1px solid #8888aa;
}

.infobox tr:first-child th {
  font-size:14px;
  padding:3px;
}

/* fileinfo template */

#fileinfo {
   width:100%;
   padding: 4px;
   font-size: 11px;
   border-radius:1em;
}

#fileinfo tr:first-child {
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}

#fileinfo th {
  border-radius:1em;
}

/* main page */
.mainpagebox#welcome {
    padding: 2px 2px 2px 0;
}
.mainpagebox {
    border: 2px solid #914800;
    padding: 2px;
    background: ghostwhite;
}

#mf-welcome {
    padding-right:128px;
}

/* OOUI fix */
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
	overflow: visible;
}

/* Captcha spacing */
#editform #wpCaptchaWord {
	margin-top: 2.5px;
}
.mw-ui-vform-field:nth-of-type(6) .mw-input {
	margin-top: 10px;
}
#userloginForm .mw-ui-vform-field:nth-of-type(6) {
	margin-bottom: 5px;
}
.mw-input img, #editform img, label img {
	image-rendering: auto !important;
}
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
	margin-top: 1px;
}
.editOptions .g-recaptcha {
	margin-bottom: 10px;
}
.mw-ui-vform {
	width: 302px;
}