MediaWiki:Common.css

From Chicory: A Colorful Tale Wiki
Revision as of 13:30, 10 February 2024 by Ngyikp (talk | contribs) (fix ugly formatting on Extension:ArticleToCategory2)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* [[File:Domigorgon Plus.woff2]] */
@font-face {
  font-family: 'Domigorgon';
  src: url('https://static.miraheze.org/chicorywiki/c/c7/Domigorgon_Plus.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* [[File:Five Cents.woff2]] */
@font-face {
	font-family: 'Five Cents';
	src: url('https://static.miraheze.org/chicorywiki/e/ea/Five_Cents.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* [[File:Lulus.woff2]] */
@font-face {
	font-family: 'Lulus';
	src: url('https://static.miraheze.org/chicorywiki/1/1a/Lulus.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* [[File:Metafors.woff2]] */
@font-face {
	font-family: 'Metafors';
	src: url('https://static.miraheze.org/chicorywiki/e/ed/Metafors.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* [[File:Shannnn.woff2]] */
@font-face {
	font-family: 'Shannnn';
	src: url('https://static.miraheze.org/chicorywiki/d/d6/Shannnn.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* Fix ugly formatting on https://www.mediawiki.org/wiki/Extension:ArticleToCategory2 */
.ns-14 table[width="423"] {
	float: none;
	width: auto;
}

/* From https://dev.miraheze.org/wiki/MediaWiki:Common.css */
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;     /* 0.9em left/right */
	width: 100%;               /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                /* The left image cell */
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}
td.mbox-imageright {           /* The right image cell */
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
	text-align: center;
}
td.mbox-empty-cell {           /* An empty narrow cell */
	border: none;
	padding: 0;
	width: 1px;
}

/* Other pages message box styles */
table.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;    /* Default "notice" gray */
	background-color: #f8f9fa;
	box-sizing: border-box;
}

table.ombox-notice {
	border: 1px solid #a2a9b1;    /* Gray */
}
table.ombox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}
table.ombox-delete {
	border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
	border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
	border: 1px solid #fc3;       /* Yellow */
}
table.ombox-move {
	border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
	border: 2px solid #a2a9b1;    /* Gray-gold */
}

/* These mbox-small classes must be placed after all other
   ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
   they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
	/* @noflip */
	clear: right;
	/* @noflip */
	float: right;
	/* @noflip */
	margin: 4px 0 4px 1em;
	box-sizing: border-box;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}
html body.mediawiki .mbox-small-left {   /* For the "small=left" option. */
	/* @noflip */
	margin: 4px 1em 4px 0;
	box-sizing: border-box;
	overflow: hidden;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}