MediaWiki:Common.css: Difference between revisions

From Halopedia, the Halo wiki

m (Reverted edits by Guesty-Persony-Thingy (Talk); changed back to last version by RelentlessRecusant)
mNo edit summary
 
(771 intermediate revisions by 20 users not shown)
Line 1: Line 1:
/** CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins on desktop */


div.Boxmerge,
/* Navbox style
div.NavFrame {
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-NavboxStyle.css
        margin: 0px;
  Staff highlights
        padding: 4px;
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-StaffHighlights.css
        border: 1px solid #aaa;
  Custom wallpapers
        text-align: center;
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-Wallpapers.css */
        border-collapse: collapse;
 
        font-size: 95%;
/* General CSS changes */
 
h1 { font-size: 2.00em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.45em; }
h4 { font-size: 1.32em; }
h5 { font-size: 1.15em; }
h6 { font-size: 1.00em; }
 
.fakeh2 {
font-size: 1.75em;
border-bottom: 1px solid #a2a9b1;
padding-top: 0.5em;
padding-bottom: 0.17em;
margin-bottom: 0.6em;
}
}
div.Boxmerge div.NavFrame {
.fakeh3 {
        border-style: none;
font-size: 1.45em;
        border-style: hidden;
font-weight: bold;
padding-top: 0.5em;
padding-bottom: 0.17em;
margin-bottom: 0.3em;
}
}
div.NavFrame + div.NavFrame {
 
        border-top-style: none;
div.tleft, div.tright {
        border-top-style: hidden;
margin-top: 0.2em;
margin-bottom: 0.8em;
}
}
div.NavPic {
 
        background-color: #fff;
.catlinks {
        margin: 0px;
background: #f9f9f9 url(https://halo.wiki.gallery/images/chiefcat.jpg) no-repeat top right;
        padding: 2px;
        float: left;
}
}
div.NavFrame div.NavHead {
 
        height: 1.6em;
.mw-parser-output > .col-begin {
        font-weight: bold;
margin-top: 0.3em;
        background-color: #ccf;
        position:relative;
}
}
div.NavFrame p {
 
        font-size: 100%;
.featurelist .mw-collapsible {
margin-right: 10px;
}
}
div.NavFrame div.NavContent {
.featurelist h3 {
        font-size: 100%;
padding-top: 0;
padding-bottom: 0.5em;
}
}
div.NavFrame div.NavContent p {
.featurelist .mw-collapsible-content {
        font-size: 100%;
margin-top: -0.5em;
margin-bottom: 0.5em;
}
}
div.NavEnd {
.featurelist td > p {
        margin: 0px;
display: none;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
}
a.NavToggle {
 
        position:absolute;
/* Site subtitle */
        top:0px;
p.subtitle, #siteSub {
        right:3px;
display: block;
        font-weight:normal;
font-size: 90%;
        font-size:smaller;
font-style: italic;
margin: 0;
}
}


#column-content #content {position: relative; }
/* Infoboxes */
.infobox {
float: right;
clear: right;
font-size: 90%;
margin: 0 0 1em 1em;
padding: 2px;
}
.infoboxheading {
font-size: 130%;
}


/* <pre><nowiki> */
.random-users-avatars img {
/* Forum formatting -Algorithm & -Splaka */
background: #fff;
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }
}
.forumlist td.forum_edited a { color: black; text-decoration: none }
.forumlist td.forum_title a { padding-left: 20px; }
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif)
center left no-repeat; padding-left: 20px; }
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
.forumlist th.forum_title { padding-left: 20px; }
/* class for forum navigation templates ([[Template:forumtop|forumtop]], [[Template:shtop|shtop]]) */
.forumheader
span.mw-plusminus-pos {color: #006400;}
span.mw-plusminus-neg {color: #8B0000;}
span.mw-plusminus-neg { color: #FF0000; font-weight: bold;}
{
  background: #eee;
  border: 1px solid #aaa;
  padding: 5px;
}


/* MediaWiki:Sitenotice tests by Jack Phoenix */
div.thumb {
border-color: transparent;
}


#siteSub {
/* Main page */
body.page-Main_Page.action-view #bodyContent {
margin-top: 18px;
}


  display: inline;
/* Meet the community */
  font-size: 90%;
.random-users-avatars {
  font-weight: normal;
padding: 0px 0px 0px 10px;
  font-style: italic;
}
        }
.random-users-avatars h2 {
border-bottom: none;
margin: 0px 0px 0px 0px;
padding: 7px 0px 8px 0px;
}
.random-users-avatars img {
border: 1px solid #DCDCDC;
display: block;
float: left;
height: 50px;
margin: 0px 8px 8px 0px;
width: 50px;
}


/* Administrator and bot Hilights by RelentlessRecusant and Guesty-Persony-Thingy */
.page-Special_UpdateProfile_preferences .site-button,
.page-Special_UploadAvatar .site-button {
margin-top: 10px;
}
.page-Special_UpdateProfile_preferences input[type="checkbox"] {
margin: 2px 5px 0 0;
}
.profile-update {
margin-bottom: 5px;
}


table.diff a[title="User:RelentlessRecusant"],
.profile-tab-bar {
ul#pagehistory li a[title="User:RelentlessRecusant"],
margin-top: 26px;
ul.special li a[title="User:RelentlessRecusant"],
}
table.diff a[title="User:Guesty-Persony-Thingy"],
ul#pagehistory li a[title="User:Guesty-Persony-Thingy"],
ul.special li a[title="User:Guesty-Persony-Thingy"],
table.diff a[title="User:ED"],
ul#pagehistory li a[title="User:ED"],
ul.special li a[title="User:ED"],
table.diff a[title="User:ED"],
table.diff a[title="User:Dragonclaws"],
ul#pagehistory li a[title="User:Dragonclaws"],
ul.special li a[title="User:Dragonclaws"] { font-weight: bold;color:olivedrab}


table.diff a[title="User:GPTBot"],
.foreground {
ul#pagehistory li a[title="User:GPTBot"], 
background: url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
ul.special li a[title="User:GPTBot"] { font-weight: bold;color:red}
}
.foreground a {
color: #1AAAE7;
}


/* Help header tests by Catherine */
.hp-tagdesc + p > br:first-of-type {
display: none;
}


/* Notice boxes */
body:not(.ns-6) .noticebox + .noticebox {
margin-top: -5px !important;
}
#mw-imagepage-content .noticebox {
margin-top: 10px !important;
margin-bottom: 2.5px !important;
}


    .basic {
/* Hide reference button in editor toolbar */
        background-image: url('http://images.wikia.com/communitytest/images/3/3b/Greenheader.png');
#wikiEditor-ui-toolbar .oo-ui-buttonElement[rel="reference"] {
        color:#006600;  
display: none !important;
    }
}


    .moderate {
/* Site activity */
        background-image: url('http://images.wikia.com/communitytest/images/7/7f/Blueheader.png');
.mp-activity {
        color:#333399;  
padding: 3px 0;
    }
border: none;
}
.mp-site-activity h2 {
padding: 10px 0 2px 0;
}
.item {
margin: 2px 0 2px 20px
}
.item p {
margin-bottom: 0.3em;
}


    .expert {
/* Adjust inputbox button padding in Firefox */
        background-image: url('http://images.wikia.com/communitytest/images/e/ed/Purpleheader.png');
.bodySearchWrap .mw-ui-button {
        color:#663399;  
padding-top: 7px !important;
    }
padding-bottom: 7px !important;
}
.createboxButton {
padding-top: 6px !important;
padding-bottom: 6px !important;
}
@-moz-document url-prefix() {
.createboxButton {
padding-top: 6px !important;
padding-bottom: 5px !important;
}
}


    .red {
/* Who's online */
        background-image: url('http://images.wikia.com/halo/images/7/79/Redheader.png');
#whosonline {
        color:#990000;  
margin-bottom: 0;
    }
}


/* Site notice */
@media all and (max-width: 1100px) {
#siteNotice {
font-size: 80%;
}
}


    .helpheader {
/* User welcome */
        background-repeat: repeat-y;
.mp-welcome-logged-in {
        font-size: 140%;  
margin-top: -13px;
        line-height: 150%;
width: 270px;
        margin: 15px 0px 3px 0px;  
}
        padding:0.4em;
.mp-welcome-points {
        text-align:left;
width: 170px;
        vertical-align:middle;
padding-left: 5px;
        border-style: none;
}
    }


{
/* Social profile */
    body, #content { background: white!important; }
.pagetitle {
 
display: block !important;
    /* tweaks for title-messing templates */
}
    #title-override { left: 0px!important; font-weight: bold!important; background: #f4f8ff!important; }
.mw-special-UpdateProfile input[type="text"],
    #title-eraicons { display: none!important; visibility: hidden;!important }
.mw-special-EditProfile input[type="text"] {
 
width: 225px;
    div.tleft { border: none!important; }
border: 1px solid #c8ccd1;
    div.tright { margin-left: 13px!important; }
    div.thumb { background: inherit!important; }
 
    h1, h2, h3, h4, h5, h6, .firstHeading { background: inherit;!important }
 
    #toc { background: inherit!important; border-width: 0px!important }
 
    /* temporary hack; that div should be assigned class=noprint */
    .infoboxfooter { display:none;!important }
 
    .printfooter { background: inherit!important; }
    #catlinks, #footer { display:none;!important }
}
}
 
.mw-special-UpdateProfile select,
#search-icon-wrapper
.mw-special-EditProfile select {
{
width: 229px;
    cursor: pointer;
border: 1px solid #c8ccd1;
}
}
 
.mw-special-EditProfile textarea {
#search-popup
width: 95%;
{
    position: absolute;
    background: #f2f5f9;
    text-align: left;
    z-index: 8;
}
}
 
.user-section-heading {
/* JS Tab System, Jacked and Hacked from the jsprefs in monobook/main.css -Dantman */
.tabtoc {
margin: 0;
padding: 0;
width: 100%;
clear: both;
clear: both;
}
}
.tabtoc li {
.user-section-title {
background-color: #f0f0f0;
letter-spacing: normal;
color: #000;
}
#profile-toggle-button {
top: 10px !important;
}
#profile-top {
margin-bottom: 15px;
}
table, div#profile-top, .profile-info {
background-color: transparent;
}
}
/* @media screen, projection { */
.profile-info-container p {
.tabtoc li {
margin: 0 0 8px 10px;
margin: 1px -2px 1px 2px;
float: left;
padding: 2px 0 3px 0;
border: 1px solid #fff;
border-right-color: #716f64;
border-bottom: 0;
position: relative;
white-space: nowrap;
list-style-type: none;
list-style-image: none;
z-index: 3;
}
/* } */
.tabtoc li.selected {
font-weight: bold;
background-color: #f9f9f9;
border: 1px solid #aaa;
border-bottom: none;
cursor: default;
top: 1px;
padding-top: 2px;
margin-right: -3px;
}
}
.tabtoc > li.selected {
.user-home-item-gift {
top: 2px;
margin: 2px 25px;
}
}
.tabtoc a,
.user-board-message {
.tabtoc a:active {
background: #fff;
display: block;
color: #000;
padding: 0 .7em;
position: relative;
text-decoration: none;
}
}
.tabtoc li.selected a {
.user-board-message img {
cursor: default;
max-width: 100% !important;
text-decoration: none;
height: auto !important;
}
}
.tabcontainer {
.user-board-message-content {
margin: 0;
margin: 0 5px;
border: 1px solid #aaa;
clear: both;
padding: 1.5em;
background-color: #F9F9F9;
}
}
.tabsection {
.user-board-message-body {
border: none;
float: none;
padding: 0;
margin: 0;
}
}
.tabsection .tabbox {
.user-board-message-from {
border: 1px solid #aaa;
background-color: #F8F5F5;
float: left;
margin-right: 2em;
}
}
.tabsection .tab {
.no-info-container {
font-weight: bold;  
background-color: #F8F5F5;
}
}
.tabsection table, .tabsection .tab {
.profile-tab a:hover {
background-color: #F9F9F9;
color: #466C2C !important;
}
}
/* @media screen, projection { */
.page-nav {
.mainTab {
margin: 8px 5px 10px;
display: none;
}
/* } */
 
/* </nowiki>*/
 
/** Extra toolbar options ******************************************************
  *
  *  Description: UNDOCUMENTED
  *  Maintainers: [[User:MarkS]]?, [[User:Voice of All]], [[User:R. Koot]]
  */
//This is a modified copy of a script by User:MarkS for extra features added by User:Voice of All.
// This is based on the original code on Wikipedia:Tools/Editing tools
// To disable this script, add <code>mwCustomEditButtons = [];<code> to [[Special:Mypage/monobook.js]]
if (mwCustomEditButtons) {
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png",
    "speedTip": "Redirect",
    "tagOpen": "#REDIRECT [[",
    "tagClose": "]]",
    "sampleText": "Insert text"};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png",
    "speedTip": "Strike",
    "tagOpen": "<s>",
    "tagClose": "</s>",
    "sampleText": "Strike-through text"};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png",
    "speedTip": "Line break",
    "tagOpen": "<br />",
    "tagClose": "",
    "sampleText": ""};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png",
    "speedTip": "Superscript",
    "tagOpen": "<sup>",
    "tagClose": "</sup>",
    "sampleText": "Superscript text"};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/7/70/Button_lower_letter.png",
    "speedTip": "Subscript",
    "tagOpen": "<sub>",
    "tagClose": "</sub>",
    "sampleText": "Subscript text"};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/5/58/Button_small.png",
    "speedTip": "Small",
    "tagOpen": "<small>",
    "tagClose": "</small>",
    "sampleText": "Small Text"};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png",
    "speedTip": "Insert hidden Comment",
    "tagOpen": "<!-- ",
    "tagClose": " -->",
    "sampleText": "Comment"};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/12/Button_gallery.png",
    "speedTip": "Insert a picture gallery",
    "tagOpen": "\n<gallery>\n",
    "tagClose": "\n</gallery>",
    "sampleText": "Image:Example.jpg|Caption1\nImage:Example.jpg|Caption2"};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
    "speedTip": "Insert block of quoted text",
    "tagOpen": "<blockquote>\n",
    "tagClose": "\n</blockquote>",
    "sampleText": "Block quote"};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png",
    "speedTip": "Insert a table",
    "tagOpen": '{| class="wikitable"\n|-\n',
    "tagClose": "\n|}",
    "sampleText": "! header 1\n! header 2\n! header 3\n|-\n| row 1, cell 1\n| row 1, cell 2\n| row 1, cell 3\n|-\n| row 2, cell 1\n| row 2, cell 2\n| row 2, cell 3"};
}
 
/* message boxes */
.iumb table.hidable-content, .ooumb table.hidable-content
{
    padding: 0;
}
}
 
.page-nav a, .page-nav a:visited {
.iumb-hidable-button, .ooumb-hidable-button
border: 1px solid #ccc;
{
padding: 2px 6px;
    text-align: right;
background: #F8F5F5;
    margin: 0;
color: #000;
    padding: 0 5px 0 0;
    font-size: 0.8em;
    vertical-align: bottom;
}
}
 
.page-nav a:hover {
.nb2-end a, .nb2-end .hidable-button
background: #eee;
{
text-decoration: none;
    color: #f9f9f9;
    text-transform: lowercase;
    text-decoration: none;
}
}
 
.g-give-all {
.hidable-button
background: #fff;
{
    color: #088;
    cursor: pointer;
}
}


.infobox .hidable-button
/*
{
To limit the size of the preview warningbox
    color: #f0f0f0;
when many template errors/warnings are displayed
*/
.warningbox, .mw-warning-box {
max-height: 300px;
overflow-y: auto;
}
}
/**/

Latest revision as of 09:14, August 20, 2024

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

/* Navbox style
       Edit here: https://www.halopedia.org/MediaWiki:Gadget-NavboxStyle.css
   Staff highlights
       Edit here: https://www.halopedia.org/MediaWiki:Gadget-StaffHighlights.css
   Custom wallpapers
       Edit here: https://www.halopedia.org/MediaWiki:Gadget-Wallpapers.css */

/* General CSS changes */

h1 { font-size: 2.00em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.45em; }
h4 { font-size: 1.32em; }
h5 { font-size: 1.15em; }
h6 { font-size: 1.00em; }

.fakeh2 {
	font-size: 1.75em;
	border-bottom: 1px solid #a2a9b1;
	padding-top: 0.5em;
	padding-bottom: 0.17em;
	margin-bottom: 0.6em;
}
.fakeh3 {
	font-size: 1.45em;
	font-weight: bold;
	padding-top: 0.5em;
	padding-bottom: 0.17em;
	margin-bottom: 0.3em;
}

div.tleft, div.tright {
	margin-top: 0.2em;
	margin-bottom: 0.8em;
}

.catlinks {
	background: #f9f9f9 url(https://halo.wiki.gallery/images/chiefcat.jpg) no-repeat top right;
}

.mw-parser-output > .col-begin {
	margin-top: 0.3em;
}

.featurelist .mw-collapsible {
	margin-right: 10px;
}
.featurelist h3 {
	padding-top: 0;
	padding-bottom: 0.5em;
}
.featurelist .mw-collapsible-content {
	margin-top: -0.5em;
	margin-bottom: 0.5em;
}
.featurelist td > p {
	display: none;
}

/* Site subtitle */
p.subtitle, #siteSub {
	display: block;
	font-size: 90%;
	font-style: italic;
	margin: 0;
}

/* Infoboxes */
.infobox {
	float: right;
	clear: right;
	font-size: 90%;
	margin: 0 0 1em 1em;
	padding: 2px;
}
.infoboxheading {
	font-size: 130%;
}

.random-users-avatars img {
	background: #fff;
}

div.thumb {
	border-color: transparent;
}

/* Main page */
body.page-Main_Page.action-view #bodyContent {
	margin-top: 18px;
}

/* Meet the community */
.random-users-avatars {
	padding: 0px 0px 0px 10px;
}
.random-users-avatars h2 {
	border-bottom: none;
	margin: 0px 0px 0px 0px;
	padding: 7px 0px 8px 0px;
}
.random-users-avatars img {
	border: 1px solid #DCDCDC;
	display: block;
	float: left;
	height: 50px;
	margin: 0px 8px 8px 0px;
	width: 50px;
}

.page-Special_UpdateProfile_preferences .site-button,
.page-Special_UploadAvatar .site-button {
	margin-top: 10px;
}
.page-Special_UpdateProfile_preferences input[type="checkbox"] {
	margin: 2px 5px 0 0;
}
.profile-update {
	margin-bottom: 5px;
}

.profile-tab-bar {
	margin-top: 26px;
}

.foreground {
	background: url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
}
.foreground a {
	color: #1AAAE7;
}

.hp-tagdesc + p > br:first-of-type {
	display: none;
}

/* Notice boxes */
body:not(.ns-6) .noticebox + .noticebox {
	margin-top: -5px !important;
}
#mw-imagepage-content .noticebox {
	margin-top: 10px !important;
	margin-bottom: 2.5px !important;
}

/* Hide reference button in editor toolbar */
#wikiEditor-ui-toolbar .oo-ui-buttonElement[rel="reference"] {
	display: none !important;
}

/* Site activity */
.mp-activity {
	padding: 3px 0;
	border: none;
}
.mp-site-activity h2 {
	padding: 10px 0 2px 0;
}
.item {
	margin: 2px 0 2px 20px
}
.item p {
	margin-bottom: 0.3em;
}

/* Adjust inputbox button padding in Firefox */
.bodySearchWrap .mw-ui-button {
	padding-top: 7px !important;
	padding-bottom: 7px !important;
}
.createboxButton {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}
@-moz-document url-prefix() { 
	.createboxButton {
		padding-top: 6px !important;
		padding-bottom: 5px !important;
	}
}

/* Who's online */
#whosonline {
	margin-bottom: 0;
}

/* Site notice */
@media all and (max-width: 1100px) {
	#siteNotice {
		font-size: 80%;
	}
}

/* User welcome */
.mp-welcome-logged-in {
	margin-top: -13px;
	width: 270px;
}
.mp-welcome-points {
	width: 170px;
	padding-left: 5px;
}

/* Social profile */
.pagetitle {
	display: block !important;
}
.mw-special-UpdateProfile input[type="text"],
.mw-special-EditProfile input[type="text"] {
	width: 225px;
	border: 1px solid #c8ccd1;
}
.mw-special-UpdateProfile select,
.mw-special-EditProfile select {
	width: 229px;
	border: 1px solid #c8ccd1;
}
.mw-special-EditProfile textarea {
	width: 95%;
}
.user-section-heading {
	clear: both;
}
.user-section-title {
	letter-spacing: normal;
}
#profile-toggle-button {
	top: 10px !important;
}
#profile-top {
	margin-bottom: 15px;
}
table, div#profile-top, .profile-info {
	background-color: transparent;
}
.profile-info-container p {
	margin: 0 0 8px 10px;
}
.user-home-item-gift {
	margin: 2px 25px;
}
.user-board-message {
	background: #fff;
}
.user-board-message img {
	max-width: 100% !important;
	height: auto !important;
}
.user-board-message-content {
	margin: 0 5px;
}
.user-board-message-body {
	float: none;
}
.user-board-message-from {
	background-color: #F8F5F5;
}
.no-info-container {
	background-color: #F8F5F5;
}
.profile-tab a:hover {
	color: #466C2C !important;
}
.page-nav {
	margin: 8px 5px 10px;
}
.page-nav a, .page-nav a:visited {
	border: 1px solid #ccc;
	padding: 2px 6px;
	background: #F8F5F5;
	color: #000;
}
.page-nav a:hover {
	background: #eee;
	text-decoration: none;
}
.g-give-all {
	background: #fff;
}

/*
To limit the size of the preview warningbox
when many template errors/warnings are displayed
*/
.warningbox, .mw-warning-box {
	max-height: 300px;
	overflow-y: auto;
}