MediaWiki:Common.css

From Warren's Fast Fur Shader
Revision as of 18:46, 27 March 2023 by SoftDiamond (talk | contribs) (Created page with "→‎CSS placed here will be applied to all skins: #f-list #privacy { display: none; } #f-list #disclaimer { display: none; } →‎Navbox template style: table.navbox { border: 1px solid #aaa; clear: both; →‎font-size: 12px;: margin-top: 0.75em !important; →‎text-align: center;: width: 100%; border-radius: 8px; padding: 6px; background-color: var(--template-background-color-1); } →‎Border between adjacent navboxes: table.navbo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump 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 */

#f-list #privacy { display: none; }
#f-list #disclaimer { display: none; }

/* Navbox template style */
table.navbox {
    border: 1px solid #aaa;
    clear: both;
    /*font-size: 12px;*/
    margin-top: 0.75em !important;
    /*text-align: center;*/
    width: 100%; 
    border-radius: 8px;
    padding: 6px;
    background-color: var(--template-background-color-1);
}

/* Border between adjacent navboxes */
table.navbox + table.navbox {
    margin-top: -1px;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

.navbox-group {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}

/* Base background */
.navbox, .navbox-subgroup {
    background: rgba(0, 0, 0, 0.1);
}

.navbox-list {
    border-color: rgba(0, 0, 0, 0.1); /* Must match background color */
}

/** CSS placed here will be applied to all skins */
div#norate{
display:none;
}

#bottom{
width:730px;
margin: 0 auto;
margin-top: 10px;
}

#ca-rater{
margin-left:1.7em !important;
}

.rater_red{
color:#A00;
}

.rater_green{
color:#0A0;
}

.rater_box{
border: 1px #AAA solid;
padding: 5px;
padding-top:0px;
margin-bottom:7px;
}

table.pre-table pre { 
	padding: 0; 
	margin: 0; 
	border: 0; 
	background: inherit;
}
table.prettytable td, table.prettytable th {
	position: relative; /* for {{text anchor}} */
}

a.new, #p-personal a.new {
	color: #9D1212;
}
a.new, #quickbar a.new { color: #9D1212; }

a.new:visited, #p-personal a.new:visited {
	color: #9D1212;
}
#p-cactions .new a {
	color: #9D1212;
}

a {
	text-decoration: none;
	color: #36b;
	background: none;
}
a:visited {
	color: #322588;
}
a:active {
	color: #CA7A02;
}
a:hover {
	text-decoration: underline;
}
a.stub {
	color: #772233;
}



body.page-Main_Page h1.firstHeading { display: none !important; }

pre, .mw-code {
    overflow-x: auto;
}

#f-poweredbyico { display: none; }

div.topicon {
    top: -3.2em;
    position: absolute; 
    z-index: 10; 
    display: block !important;
}

.text-anchor > a, .text-anchor > a:visited {
  color: #339;
}

/* Cell sizes for *mbox 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: 0px;
    width: 1px;
}
 
/* Article message box styles */
table.ambox {
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa;
    /* @noflip */
    border-left: 10px solid #1e90ff;  /* Default "notice" blue */
    background: #fbfbfb;
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    /* @noflip */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    /* @noflip */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}
 
table.ambox-notice {
    /* @noflip */
    border-left: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
    background: #fee;                   /* Pink */
}
table.ambox-delete {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    /* @noflip */
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    /* @noflip */
    border-left: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
    /* @noflip */
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    /* @noflip */
    border-left: 10px solid #bba;       /* Gray-gold */
}