MediaWiki:Monobook.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
mNo edit summary
 
(325 intermediate revisions by 9 users not shown)
Line 1: Line 1:
/* edit this file to customize the monobook skin for the entire site */  
/* CSS placed here will affect users of the Monobook skin */


/* <pre><nowiki> */
#globalWrapper {
overflow: hidden;
background: none !important;
}
p { margin: 0.6em 0 0.7em 0; }
h3 + dl, h4 + dl, h5 + dl {
margin-top: -0.1em;
}
.ns-talk p + dl, .ns-110 p + dl,
.rootpage-Halopedia_Changing_username p + dl {
margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl,
.rootpage-Halopedia_Changing_username dl + dl {
margin-top: -0.2em;
}
 
a { color: #00f; }
a:active { color: orange; }
a:visited { color: #00c; }
 
.mw-parser-output a.external[href^="https://www.halopedia.org"] {
color: #00f !important;
background: none;
padding: 0;
}
 
body {
background: #4F7065 url(https://halo.wiki.gallery/images/bodybg-monobook.jpg) no-repeat fixed 0 0 / cover;
}
#bodyContent {
position: relative;
background: transparent url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
}
 
body.skin-monobook #p-cactions li a:hover {
border-bottom: 1px solid #fff;
}


/* Classes for collapsible portlets, customize as needed */
body.skin-monobook #p-cactions li.selected a {
h5.portletCollapsible {
border-bottom: 1px solid #fff;
  display:block;
padding-bottom: 2px;
  padding:0;
  height:auto;
}
}
.portletCollapsible a {
 
  padding:1px 1px .2em 15px;
body.skin-monobook .pBody,
  display:block;
body.skin-monobook .portlet h3,
  text-decoration:none;
body.skin-monobook #footer #f-list {
  color:white;
font-family: verdana;
}
}
.portletClosed { background:center left url("http://images.wikia.com/common/skins/common/images/Arr_d.png") no-repeat; }
.portletOpened { background:center left url("http://images.wikia.com/common/skins/common/images/Arr_u.png") no-repeat; }


.portlet h5 {
body.skin-monobook .special li {
    font-size: 14px;
line-height: 19px;
    color: white;
    background: url("http://images1.wikia.com/halo/images/f/ff/Navalpha.jpg");
    border: thin solid black;
}
}


.pBody {
body.skin-monobook #p-personal a.new {
    color: white;
color: #f00;
    background: #2d3032;
}
}


.allpagesredirect a { background: url(http://uncyclopedia.org/images/5/5c/Allpagesredirect.gif) center left no-repeat; padding-left: 13px; }
body.skin-monobook #p-personal a.new:visited {
color: #c00;
}


li#pt-userpage, li#pt-anonuserpage, li#pt-login
@media all and (min-width: 551px) {
{
body.skin-monobook li#pt-login,
    background: url("http://images.wikia.com/halofanon/images/8/8b/USERICON.png") top left no-repeat;
body.skin-monobook li#pt-userpage,
body.skin-monobook li#pt-anonuserpage {
background: url(https://halo.wiki.gallery/images/smallchief.gif) top left no-repeat;
padding-left: 16px;
line-height: 17px;
}
}
}


body {  
@media all and (min-width: 551px) {
  font-size: 10px;
body.skin-monobook #p-personal ul {
  font-family: Verdana;
height: 19px;
  background: #f9f9f9 url("http://images.wikia.com/halo/images/a/a2/Halopedia.Background.Alpha2.jpg");
background: #fff;
  background-attachment: fixed;
border-left: 1px solid #aaa;
}
border-bottom: 1px solid #aaa;
border-bottom-left-radius: 1em;
padding-left: 0;
}
}


#content {
pre {
  background: #2d3032;
border: 1px dashed #06f;
  color: #dddddd;
}
}


a { color: #bcf; }  
.mw-dismissable-notice {
padding: 2px;
border-top: 2px solid #ccc;
border-bottom: 2px solid #ccc;
background: #fff;
}


a:visited { color: #bcc; }  
.catlinks {
margin-top: 10px;
}


a:active { color: orange; }  
#navbox {
font-size: 95%;
border: 1px solid #aaa;
background-color: #f9f9f9;
margin-bottom: 15px;
margin-left: 15px;
padding: 5px;
}


p-personal a.new { color: #bcf; }  
body.skin-monobook #p-personal li a:hover {
p-personal a.new:visited { color:#bcc; }
text-decoration: underline;
p { margin: 0.9em 0em 1em 0em; }  
background-color: transparent;
}
 
body.skin-monobook #p-cactions li a {
color: #00c;
}


h1, h2, h3, h4, h5, h6 {  
body.skin-monobook #p-cactions .new a {
  color: white;
color: #c00;
  margin: 0px;
}
}  


pre {
#preftoc a:active {
  border: 1px dashed #06f;
color: #00c;
  background: #2d3032;
}
  color: #dddddd;
}  


#bodyContent h1,
@media all and (min-width: 551px) {
#bodyContent h2,
#content {
#bodyContent h3,
border-top-left-radius: 1em;
#bodyContent h4,
border-bottom-left-radius: 1em;
#bodyContent h5 {  
}
  margin-bottom:0.6em;
}
  background: #2d3032 !important;
  color: #dddddd !important;
}
#bodyContent table {
    background-color: #2f3234 !important;
    color: #dddddd !important;
}


#siteNotice {
body.skin-monobook #p-cactions {
    padding: 0.3em;
left: 11.8em;
    margin: 10px;
}
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    background-color: #2d3032;
}
#siteNotice table {
    background-color: #2d3032;
    color: #dddddd;
}


#catlinks {
body.skin-monobook .portlet {
    padding: 0.3em;
width: 11.9em;
    margin: 10px;
}
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    background-color: #2d3032;
    color: #dddddd;
}


#navbox {  
body.skin-monobook input.searchButton {
  /*border:1px solid #2f6fab;*/
cursor: pointer;
  border: 1px solid #aaaaaa;
font-weight: normal;
  background-color:#f9f9f9;
background-color: #fff;
  padding: 5px;
border: 1px solid #2f6fab;
  font-size: 95%;
padding: 0 0.4em !important;
  margin-left: 15px;
}  
  margin-bottom: 15px;
}  


#bodyContent a.extiw:active { color: #06f; }
body.skin-monobook #searchButton {
#bodyContent a.external { color: #06f; }
font-weight: normal;
#p-personal li a { color: #06f; }
}
#p-personal li a:hover {  
  background: none;
  text-decoration: underline;
}  


#p-cactions li a { color: #00c; }
body.skin-monobook #searchInput {
#p-cactions .new a { color:#c00; }
border: 1px solid #2f6fab;
#preftoc a:active { color: #00c; }
}  


input.searchButton {
input[type="radio"], input[type="checkbox"] {
  padding: 0 0.4em !important;
border: none;
  cursor: pointer;
}
  background-color: White;
  border: 1px solid #2f6fab;
  font-weight: normal;
}  


#searchGoButton {
select {
  font-weight: normal;
border: 1px solid #2f6fab;
}
color: #000;
}


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


input[type="radio"], input[type="checkbox"] {
.oldh3 {
  border: none;
font-size: 132%;
}
}


/*Gives the personal zone a nice area*/
.right {
#p-personal > div > ul {
text-align: right;
        background: #000000;
        border-left: 1px solid #aaaaaa;
        border-bottom: 1px solid #aaaaaa;
        width: auto;
        display: inline;
        position: absolute;
        right: -7px;
        padding-left: 0px;
        padding-bottom: 1px;
}
}


/*Gives adbars a styled area.*/
body.skin-monobook #p-cactions ul li,
#column-google div,
body.skin-monobook #p-cactions ul li a,
#column-google iframe
body.skin-monobook #p-cactions li.selected,
{
body.skin-monobook #p-cactions li.selected a {
        background: #030000;
border-top-left-radius: 1em;
        border: 1px solid #aaaaaa;
border-top-right-radius: 1em;
        border-right: 0px;
        padding: 5px 0px 5px 5px;
}
}


/* </nowiki> */
body.skin-monobook #p-cactions li {
padding-bottom: 1em;
border-top-left-radius: 0.72em !important;
border-top-right-radius: 0.72em !important;
}


ul {
@media all and (min-width: 551px) {
    list-style-image: url('http://images.wikia.com/flyff/de/images/6/62/Flyffdot-blue.png');
body.skin-monobook .portlet#p-search h3 {
display: none;
}
}
}
ul li:hover {  
 
    list-style-image: url('http://images.wikia.com/flyff/de/images/b/b5/Flyffdot-yellow.png');  
body.skin-monobook .portlet#p-search {
margin-top: -1px;
}
}


.portlet ul {
body.skin-monobook .portlet .pBody {
    list-style-image: url('http://images.wikia.com/flyff/de/images/6/62/Flyffdot-blue.png');
border-top-right-radius: 1em;
border-bottom-right-radius: 1em;
}
}
.portlet ul li:hover {  
#p-Navigation .pBody > ul > li:last-of-type > a,
    list-style-image: url('http://images.wikia.com/flyff/de/images/b/b5/Flyffdot-yellow.png');
#p-Community .pBody > ul > li:last-of-type > a {
border-bottom-right-radius: 1em;
}
}


/*
/* Fix footer spacing */
** Diff rendering
body.skin-monobook #f-list {
*/
line-height: 17px;
table.diff, td.diff-otitle, td.diff-ntitle {
background-color: #2f3234;
}
}
td.diff-addedline {
 
background: #668866;
/* Indicator icons */
font-size: smaller;
.mw-indicators {
top: 4px;
}
}
td.diff-deletedline {
#mw-indicator-rc {
background: #888855;
top: 12px;
font-size: smaller;
}
}
td.diff-context {
.mw-indicators img {
background: #777777;
width: auto !important;
font-size: smaller;
max-height: 28px !important;
}
}
.diffchange {
 
color: maroon;
/* Multimedia viewer */
font-weight: bold;
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-icon.oo-ui-icon-check,
text-decoration: none;
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
display: none !important;
}
}


#footer {
/* Responsive fix */
    padding: 0.3em;
@media all and (max-width: 550px) {
    margin: 10px;
body.skin--responsive #sidebar .portlet[role="navigation"] {
    border-top: 2px solid #ccc;
display: none !important;
    border-bottom: 2px solid #ccc;
}
    background-color: #2d3032;
}
}


#p-cactions li {
/* Search up top */
display: inline;
#column-one #sidebar {
border: 1px solid #aaaaaa;
display: flex;
border-bottom: none;
flex-direction: column;
padding: 0 0 .1em 0;
margin: 0 .3em 0 0;
overflow: visible;
background-color: #2d3032;
}
}
#p-cactions li.selected {
#p-search {
border-color: #ffffff;
order: -1;
padding: 0 0 .2em 0;
font-weight: bold;
}
}
#p-cactions li a {
 
background-color: #1c282a;
/* Who's Online spacing */
color: #dddddd;
#WhosOnlineDiv {
border: none;
margin-bottom: -11px;
padding: 0 .8em .3em;
}
position: relative;
 
z-index: 0;
/* Social talk tabs */
margin: 0;
.ns-200 #ca-talk a,
text-decoration: none;
.ns-202 #ca-talk a {
color: #00c !important;
}
 
/*** Monobook Sidebar ***/
@media all and (min-width: 551px) {
#n-Halopedia-Archive > a {
font-size: 125% !important;
}
/* without an ugly padding */
#p-Navigation ul, #p-Community ul {
margin: 0;
}
#p-Navigation > div, #p-Community > div {
background: #fff;
padding: 0;
}
/* que no sea un list */
#p-Navigation li, #p-Community li {
display: block;
list-style-image: none !important; /* for IE */
}
/* general design of the links */
#p-Navigation li > a, #p-Community li > a {
display: block;
position: relative;
background: #fff;
color: #000;
font-size: 14.9px;
font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
padding: 0 0 0 10px;
line-height: 24px;
font-weight: bold;
text-decoration: none;
border-bottom: 1px solid #EEEEEE;
}
/* special menu just for the class */
#p-Navigation > div > ul > li > a, #p-Community > div > ul > li > a {
background: url(https://halo.wiki.gallery/images/menu_gradient.png) no-repeat left center;
margin: 1px 1px 0 1px;
padding: 0 0 0 10px;
color: #000;
width: auto;
}
#p-Navigation > div > ul > li.hover > a, #p-Community > div > ul > li.hover > a {
color: #2A2A2A;
text-shadow: #AAA46C 1px 1px 3px;
}
#p-Navigation > div > ul > li > a > em, #p-Community > div > ul > li > a > em {
right: 8px;
}
/* submenu marker */
#p-Navigation em, #p-Community em {
font-style: normal;
font-family: arial,sans-serif;
font-size: 16pt;
font-weight: bold;
line-height: 20px;
position: absolute;
right: 8px;
top: 0px
}
/* hover */
#p-Navigation li > ul > li.hover > a, #p-Community li > ul > li.hover > a {
background-color: #DCDCDC; /* Gainsboro */
}
 
#p-Navigation li.hover > ul.sub-menu, #p-Community li.hover > ul.sub-menu {
display: block;
}
 
/* general submenu */
#p-Navigation ul.sub-menu, #p-Community ul.sub-menu {
border: 1px solid #aaa;
display: none;
background: #fff;
position: absolute;
padding: 1px;
width: 185px;
margin-left: 180px;
margin-top: -25px;
z-index: 100;
}
/* Only the first */
#p-Navigation > div > ul > li > ul.sub-menu, #p-Community > div > ul > li > ul.sub-menu {
margin-left: 13em;
}
}
}
#p-cactions li.selected a {
@media all and (max-width: 550px) {
z-index: 3;
body.skin--responsive .portlet ul.sub-menu,
padding: 0 1em .2em!important;
body.skin--responsive .portlet .with-sub-menu em {
background-color: #2d3032;
display: none !important;
}
}
}

Latest revision as of 15:17, May 10, 2024

/* CSS placed here will affect users of the Monobook skin */

#globalWrapper {
	overflow: hidden;
	background: none !important;
}
p { margin: 0.6em 0 0.7em 0; }
h3 + dl, h4 + dl, h5 + dl {
	margin-top: -0.1em;
}
.ns-talk p + dl, .ns-110 p + dl,
.rootpage-Halopedia_Changing_username p + dl {
	margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl,
.rootpage-Halopedia_Changing_username dl + dl {
	margin-top: -0.2em;
}

a { color: #00f; }
a:active { color: orange; }
a:visited { color: #00c; }

.mw-parser-output a.external[href^="https://www.halopedia.org"] {
	color: #00f !important;
	background: none;
	padding: 0;
}

body {
	background: #4F7065 url(https://halo.wiki.gallery/images/bodybg-monobook.jpg) no-repeat fixed 0 0 / cover;
}
#bodyContent {
	position: relative;
	background: transparent url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
}

body.skin-monobook #p-cactions li a:hover {
	border-bottom: 1px solid #fff;
}

body.skin-monobook #p-cactions li.selected a {
	border-bottom: 1px solid #fff;
	padding-bottom: 2px;
}

body.skin-monobook .pBody,
body.skin-monobook .portlet h3,
body.skin-monobook #footer #f-list {
	font-family: verdana;
}

body.skin-monobook .special li {
	line-height: 19px;
}

body.skin-monobook #p-personal a.new {
	color: #f00;
}

body.skin-monobook #p-personal a.new:visited {
	color: #c00;
}

@media all and (min-width: 551px) {
	body.skin-monobook li#pt-login,
	body.skin-monobook li#pt-userpage,
	body.skin-monobook li#pt-anonuserpage {
		background: url(https://halo.wiki.gallery/images/smallchief.gif) top left no-repeat;
		padding-left: 16px;
		line-height: 17px;
	}
}

@media all and (min-width: 551px) {
	body.skin-monobook #p-personal ul {
		height: 19px;
		background: #fff;
		border-left: 1px solid #aaa;
		border-bottom: 1px solid #aaa;
		border-bottom-left-radius: 1em;
		padding-left: 0;
	}
}

pre {
	border: 1px dashed #06f;
}

.mw-dismissable-notice {
	padding: 2px;
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	background: #fff;
}

.catlinks {
	margin-top: 10px;
}

#navbox {
	font-size: 95%;
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin-bottom: 15px;
	margin-left: 15px;
	padding: 5px;
}

body.skin-monobook #p-personal li a:hover {
	text-decoration: underline;
	background-color: transparent;
}

body.skin-monobook #p-cactions li a {
	color: #00c;
}

body.skin-monobook #p-cactions .new a {
	color: #c00;
}

#preftoc a:active {
	color: #00c;
}

@media all and (min-width: 551px) {
	#content {
		border-top-left-radius: 1em;
		border-bottom-left-radius: 1em;
	}
}

body.skin-monobook #p-cactions {
	left: 11.8em;
}

body.skin-monobook .portlet {
	width: 11.9em;
}

body.skin-monobook input.searchButton {
	cursor: pointer;
	font-weight: normal;
	background-color: #fff;
	border: 1px solid #2f6fab;
	padding: 0 0.4em !important;
} 

body.skin-monobook #searchButton {
	font-weight: normal;
}

body.skin-monobook #searchInput {
	border: 1px solid #2f6fab;
} 

input[type="radio"], input[type="checkbox"] {
	border: none;
}

select {
	border: 1px solid #2f6fab;
	color: #000;
}

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

.oldh3 {
	font-size: 132%;
}

.right {
	text-align: right;
}

body.skin-monobook #p-cactions ul li,
body.skin-monobook #p-cactions ul li a,
body.skin-monobook #p-cactions li.selected,
body.skin-monobook #p-cactions li.selected a {  
	border-top-left-radius: 1em;
	border-top-right-radius: 1em;
}

body.skin-monobook #p-cactions li {
	padding-bottom: 1em;
	border-top-left-radius: 0.72em !important;
	border-top-right-radius: 0.72em !important;
}

@media all and (min-width: 551px) {
	body.skin-monobook .portlet#p-search h3 {
		display: none;
	}
}

body.skin-monobook .portlet#p-search {
	margin-top: -1px;
}

body.skin-monobook .portlet .pBody {
	border-top-right-radius: 1em;
	border-bottom-right-radius: 1em;
}
#p-Navigation .pBody > ul > li:last-of-type > a,
#p-Community .pBody > ul > li:last-of-type > a {
	border-bottom-right-radius: 1em;
}

/* Fix footer spacing */
body.skin-monobook #f-list {
	line-height: 17px;
}

/* Indicator icons */
.mw-indicators {
	top: 4px;
}
#mw-indicator-rc {
	top: 12px;
}
.mw-indicators img {
	width: auto !important;
	max-height: 28px !important;
}

/* Multimedia viewer */
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-icon.oo-ui-icon-check,
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
	display: none !important;
}

/* Responsive fix */
@media all and (max-width: 550px) {
	body.skin--responsive #sidebar .portlet[role="navigation"] {
		display: none !important;
	}
}

/* Search up top */
#column-one #sidebar {
	display: flex;
	flex-direction: column;
}
#p-search {
	order: -1;
}

/* Who's Online spacing */
#WhosOnlineDiv {
	margin-bottom: -11px;
}

/* Social talk tabs */
.ns-200 #ca-talk a,
.ns-202 #ca-talk a {
	color: #00c !important;
}

/*** Monobook Sidebar ***/
@media all and (min-width: 551px) {
	#n-Halopedia-Archive > a {
		font-size: 125% !important;
	}
	/* without an ugly padding */
	#p-Navigation ul, #p-Community ul {
		margin: 0;
	}
	#p-Navigation > div, #p-Community > div {
		background: #fff;
		padding: 0;
	}
	/* que no sea un list */
	#p-Navigation li, #p-Community li {
		display: block;
		list-style-image: none !important; /* for IE */
	}
	/* general design of the links */
	#p-Navigation li > a, #p-Community li > a {
		display: block;
		position: relative;
		background: #fff;
		color: #000;
		font-size: 14.9px;
		font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
		padding: 0 0 0 10px;
		line-height: 24px;
		font-weight: bold;
		text-decoration: none;
		border-bottom: 1px solid #EEEEEE;
	}
	/* special menu just for the class */
	#p-Navigation > div > ul > li > a, #p-Community > div > ul > li > a {
		background: url(https://halo.wiki.gallery/images/menu_gradient.png) no-repeat left center;
		margin: 1px 1px 0 1px;
		padding: 0 0 0 10px;
		color: #000;
		width: auto;
	}
	#p-Navigation > div > ul > li.hover > a, #p-Community > div > ul > li.hover > a {
		color: #2A2A2A;
		text-shadow: #AAA46C 1px 1px 3px;
	}
	#p-Navigation > div > ul > li > a > em, #p-Community > div > ul > li > a > em {
		right: 8px;
	}
	/* submenu marker */
	#p-Navigation em, #p-Community em {
		font-style: normal;
		font-family: arial,sans-serif;
		font-size: 16pt;
		font-weight: bold;
		line-height: 20px;
		position: absolute;
		right: 8px;
		top: 0px
	}
	/* hover */
	#p-Navigation li > ul > li.hover > a, #p-Community li > ul > li.hover > a {
		background-color: #DCDCDC; /* Gainsboro */
	}

	#p-Navigation li.hover > ul.sub-menu, #p-Community li.hover > ul.sub-menu {
		display: block;
	}

	/* general submenu */
	#p-Navigation ul.sub-menu, #p-Community ul.sub-menu {
		border: 1px solid #aaa;
		display: none;
		background: #fff;
		position: absolute;
		padding: 1px;
		width: 185px;
		margin-left: 180px;
		margin-top: -25px;
		z-index: 100;
	}
	/* Only the first */
	#p-Navigation > div > ul > li > ul.sub-menu, #p-Community > div > ul > li > ul.sub-menu {
		margin-left: 13em;
	}
}
@media all and (max-width: 550px) {
	body.skin--responsive .portlet ul.sub-menu,
	body.skin--responsive .portlet .with-sub-menu em {
		display: none !important;
	}
}