MediaWiki:Common.css

From SmashWiki, the Super Smash Bros. wiki
Revision as of 19:09, August 6, 2024 by Porplemontage (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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 on desktop */

/* Navbox style
       Edit here: https://www.ssbwiki.com/MediaWiki:Gadget-NavboxStyle.css
   Staff highlights
       Edit here: https://www.ssbwiki.com/MediaWiki:Gadget-StaffHighlights.css
       Also here: https://www.ssbwiki.com/MediaWiki:Gadget-StaffIcons.css
   External link icons
       Edit here: https://www.ssbwiki.com/MediaWiki:Gadget-ExternalLinkIcons.css */

/* Forum formatting -Algorithm & -Splaka */
.forumheader {
	border: 1px solid #aaa;
	margin: 1em 0 15px;
	padding: 12px;
}
.forumlist td.forum_edited a {
	color: #000;
	text-decoration: none;
}
.forumlist td.forum_title a {
	padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
	font-weight: bold;
	background: url(https://ssb.wiki.gallery/images/forum_new.png) center left no-repeat;
	padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
	background: none;
	font-weight: normal;
	padding-left: 20px;
}
.forumlist th.forum_title {
	padding-left: 20px;
}

/* Infobox templates */
.infobox {
	color: #000;
	float: right;
	clear: right;
	font-size: 90%;
	text-align: left;
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
}
.infobox td,
.infobox th {
	vertical-align: top;
}
.infobox caption {
	font-size: larger;
	margin-left: inherit;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

/* Messagebox templates */
.messagebox {
	width: 80%;
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin: 0 auto 1em;
	padding: 0.2em;
}
.messagebox + .messagebox {
	margin-top: -0.5em;
}
.navbox + .messagebox {
	margin-top: 1em;
}
#mw-imagepage-content .messagebox {
	margin: 1em auto 0;
}
#mw-imagepage-content .messagebox + .messagebox {
	margin-top: 0.5em;
}
#siteNotice .messagebox {
	margin: 0.6em auto;
}
.ve-ui-mwNoticesPopupTool-item .messagebox {
	width: 100% !important;
	text-align: left !important;
}
.ve-ui-mwNoticesPopupTool-item .messagebox tr.plainlinks {
	text-align: center !important;
}
.messagebox.merge {
	text-align: center;
	border: 1px solid #c0b8cc;
	background-color: #f0e5ff;
}
.messagebox.cleanup {
	text-align: center;
	border: 1px solid #9f9fff;
	background-color: #efefff;
}
.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.messagebox.nested-talk {
	width: 100%;
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	margin: 2px 4px 2px 4px;
}
.messagebox.small {
	width: 238px;
	font-size: 85%;
	line-height: 1.25em;
	margin: 0 0 1em 1em;
	float: right;
	clear: both;
}

/* Special moves navigation */
.special-moves {
	margin-top: 25px !important;
}
.special-moves .special-moves {
	margin-top: 0 !important;
}
.special-moves + .navbox,
.special-moves + .special-moves {
	margin-top: 10px !important;
}

/* Prevents line breaks in links (navbox) */
.nowraplinks a {
	white-space: nowrap;
}

/* Light gray highlight on stuff */
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, .CodeMirror-focused,
#wpOldTitle:focus, #wpReason:focus, #wpSummary:focus, #searchInput:focus {
	background: #F9F9F9
}

/* Show site tagline, located at MediaWiki:Tagline */
#siteSub {
	font-size: 92%;
	display: inline;
	font-weight: normal;
}

/* Bold edit tab */
#ca-edit a {
	font-weight: bold !important;
}

/* Video table */
.videoTable {
	display: block;
	overflow: auto;
}
.videoTable tbody {
	width: 100%;
	display: table;
}

/* SW:1226 stuff */
.blockquote {
	display:       block;
	margin-top:    1em;
	margin-bottom: 1em;
	margin-left:   40px;
	margin-right:  40px;
}
/* the borders should be #d4d0c8 outset/inset, but the outset/inset behaviour has changed, so need to fake it */
table.border-1 {
	border-collapse:separate;
	border-top: 1px solid #d4d0c8;
	border-left: 1px solid #d4d0c8;
	border-right: 1px solid #84827d;
	border-bottom: 1px solid #84827d;
}
table.border-2 {
	border-collapse:separate;
	border-top: 2px solid #d4d0c8;
	border-left: 2px solid #d4d0c8;
	border-right: 2px solid #84827d;
	border-bottom: 2px solid #84827d;
}
table.border-1 th, table.border-1 td, table.border-2 th, table.border-2 td {
	border-collapse:separate;
	border-top: 1px solid #84827d;
	border-left: 1px solid #84827d;
	border-right: 1px solid #d4d0c8;
	border-bottom: 1px solid #d4d0c8;
}
.ssb64-site-img-1px {
	border: 1px solid #000;
}
.ssb64-site-img-2px {
	border: 2px solid #000;
}
.ssb64-site-img-3px {
	border: 3px solid #000;
}
.ssb64-site-img-4px {
	border: 4px solid #000;
}
.ssb64-site-img-5px {
	border: 5px solid #000;
}
.ssb64-site-img-6px {
	border: 6px solid #000;
}

/* Hide pointless "your edit was saved" box */
.postedit { display: none !important; }

/* InputBox button */
.bodySearchWrap .mw-ui-button, .createboxButton {
	padding-top: 6px;
	padding-bottom: 6px;
}

/* Fix code tag formatting */
code {
	border: none;
	padding: 0;
}

/* Width fixes */
@media all and (max-width: 1250px) {
	table.wikitable.hitboxtable {
		clear: both;
	}
}