Don't like the ads? Then create an account! Users with accounts have more options than anonymous users.

Difference between revisions of "MediaWiki:Monobook.css"

From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(add)
(carrying over from mariowiki)
Line 123: Line 123:
}
}


/* Responsive fix */
/* Responsive fixes */
@media all and (max-width: 550px) {
@media all and (max-width: 550px) {
a.feedlink { padding-left: 16px !important }
div.thumb {
float: none !important;
margin: 1em 0 !important;
}
.infobox {
float: none !important;
width: auto !important;
display: block !important;
margin: 1em 0 !important;
}
.infobox > tbody {
width: 100% !important;
display: table !important;
}
a.feedlink {
padding-left: 16px !important;
}
}
}



Revision as of 18:17, September 24, 2021

/* all pages */ 
div#globalWrapper {
	background:#135B09;
}

body {
	background:#135B09 repeat;
}

#content { 
    background-color: #FFFFE8;
    border: 1px solid #EEC947;
    border-right: none;
}

#footer {
    background-color: #FFFFE8;
}

.mw-footer {
    border: 1px solid #EEC947;
    border: 1px solid #EEC947;
}

.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
h1 { font-size: 193%; }
h3 + dl, h4 + dl, h5 + dl {
	margin-top: -0.1em;
}

/* active tabs */

.portlet .pBody {
    background-color: #FFFFE8;
}

#p-cactions li:hover {
    background:#FFFFE8;
}
#p-cactions li a {
    background:#FFFFE8;
}
#p-cactions li a:hover {
    background:#FFFFE8;
}

#p-cactions li.selected {
    background:#FFFFE8;
}
#p-cactions li.selected a {
    background:#FFFFE8;
}

/* sidebar */
.portlet h3 { color: gold; }
.generated-sidebar .pBody, #p-tb .pBody, #p-lang .pBody, div#searchBody {
	background:#FFFFE8;
	border-top:2px solid #EEC947;
	border-right:2px solid #EEC947;
	border-bottom:2px solid #EEC947;
	border-left:0 !important;
}

/* user links */

#p-personal ul a {
    background-color:#135B09;
    color:gold;
}

#p-personal ul a:hover {
    text-decoration: underline;
    background-color:transparent;
}

#p-personal ul a.new {
    color:#FFF;
}

li#pt-anonuserpage {
    color:gold;
}

/* sitenotice */
#siteNotice {
	border-top: 1px solid green;
	border-bottom: 1px solid green;
	padding: 3px 2px 2px 2px;
	margin: -2px 0 11px;
}

/* user icon */

li#pt-userpage, li#pt-anonuserpage, li#pt-login {
  background: url(player.png) top left no-repeat;
  background-size: 15px;
  padding: 0px 0px 2px 20px;
}

/* search button (thanks to super mario wiki) */

input.searchButton {
	padding: 0 0.4em !important;
	cursor: pointer;
	background-color: white;
	border: 1px solid #135B09; 
	font-weight: normal;
} 
#searchGoButton {
	font-weight: normal;
}
#searchInput {
	border: 1px solid #135B09;
} 

/* page width for mobile optimization */
@media screen and (max-width: 550px) {     .infobox {     width: 100% !important;     } }

select {
	border: 1px solid #135B09;
	color: black;
}

/* Responsive fixes */
@media all and (max-width: 550px) {
	div.thumb {
		float: none !important;
		margin: 1em 0 !important;
	}
	.infobox {
		float: none !important;
		width: auto !important;
		display: block !important;
		margin: 1em 0 !important;
	}
	.infobox > tbody {
		width: 100% !important;
		display: table !important;
	}
	a.feedlink {
		padding-left: 16px !important;
	}
}

/* user prefs */
.oo-ui-tabSelectWidget {
  box-shadow: none;
}

/* Indicator icons */
.mw-indicators {
	top: -10px;
}
.anon .mw-indicators {
	top: -5px;
}
#mw-indicator-shortcut {
	top: 14px;
}

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

/* talk page tab spacing */

li#ca-addsection {
   margin-left:4px;
}

/* miscellaneous */
#p-cactions {
	left: 11.7em;
}

.portlet {
	width: 11.8em;
}

.pBody, 
.portlet h3, 
ul#f-list {
	font-family: verdana, sans-serif;
}

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

.oo-ui-dropdownWidget { max-width:35em; }