MediaWiki:Monobook.css

Version vom 4. Oktober 2012, 21:20 Uhr von Yukii (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „→‎CSS placed here will affect users of the Monobook skin: #content { margin-left: 196px !important; padding: 0px 1em 1.5em 1em !important; background: w…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* CSS placed here will affect users of the Monobook skin */

#content {
	margin-left: 196px !important;
	padding: 0px 1em 1.5em 1em !important;
	background: white !important;
	color: black !important;
	border: 1px solid #000000 !important;
	border-right: none !important;
	line-height: 1.5em !important;
	z-index: 2 !important;
}
#column-content {
	margin-top: 50px !important;
	margin-left: -196px !important;
}

<!-- Logo -->
#p-logo a, #p-logo a:hover {
	display: block !important;
	background-image: url(<!-- PFAD hier -->) !important;
	background-color: transparent;
}

#p-logo {
	margin-left: 21px;
        width: 233px;
} 

<!-- Hintergrundbild -->
body {
	background: #000000 url(<!-- PFAD hier -->) repeat;
}

#searchInput {
	margin-bottom: 6px !important;
}
#mw-searchButton {
	display: none;
	margin-bottom: 10px !important;
}

#p-cactions {
margin-top: 50px !important;
	left: 183px !important;
	background-color: transparent;
	border-bottom: none;
}

#p-cactions li {
	border: 1px solid #9FC;
	border-bottom: none;
}
#p-cactions li.selected {
	border: 1px solid #9FC;
	border-bottom: none;
}

#p-cactions li a:hover {
	z-index: 3;
	text-decoration: none;
	background-color: white;
	border: 1px solid #9FC;
	border-bottom: none;
        color: black;
}

#p-cactions ul li, #p-cactions ul li a {
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
}

#content {
	border-top-left-radius: 1em;
	border-bottom-left-radius: 1em;
}

.toc {
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
}

/* Personal links at top right */
#p-personal .pBody ul {
	background: #ffffff;
	border-bottom: 1px solid #9FC;
	border-left: 1px solid #9FC;
	float: right;
	padding-left: 0;
	height: 1.45em;
	border-bottom-left-radius: 0.5em;
}
#p-personal li {
	color: #000000;
	margin: 0;
}
#p-personal li a {
	color: #000000;
	padding: 0.5em;
}
#p-personal li a:hover {
	background: transparent;
	border-bottom: 1px solid #9FC;
}
#p-personal li a.new {
	color: #F00;
}

/* Navigation and other left-menu boxes */
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
	margin: 1em 0;
	margin-left: 7px;
}
 
.pBody {
	padding: 0;
	margin: 0;
}

#p-Navigation ul, #p-Interaction ul, #p-search ul, #p-tb ul, #p-lang ul {
	margin: 0;
	padding: 0;
}
#p-Navigation li, #p-Interaction li, #p-search li, #p-tb li, #p-lang li {
	list-style: none;
	font-family: Tahoma,arial,sans-serif;
	font-weight: bold;
	font-size: 110%;
	display: block;
	margin: 0;
	padding: 2px 0 2px 5px;
}
#p-tb li, #p-lang li {
	margin-left: 11px;
}
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
	background: #FFFFFF url(<!-- PFAD HIER, falls notwendig -->) repeat-x;
	width: 180;
	padding-top: 1px;
	border: 1px solid #000000;
	border-bottom-left-radius: 1em;
	border-top-left-radius: 1em;
	border-bottom-right-radius: 1em;
	border-top-right-radius: 1em;
}
#p-search, #p-lang, #p-lang .pBody, #p-lang .pBody ul, #searchform, #searchBody {
	border-bottom-left-radius: 1em !important;
	border-bottom-right-radius: 1em !important;
}
#p-Navigation h5, #p-Interaction h5, #p-search h5, #p-tb h5, #p-lang h5 {
	display: block;
	border: none;
	position: relative;
	left: -180px;
	width: 282px;
	height: 16px;
}

#p-Navigation h5 {
	background: url(http://www.khwiki.net/images/2/2f/Sidebar-Navigation.png) no-repeat 180px top;
}
#p-Interaction h5 {
	background: url(http://www.khwiki.net/images/9/93/Sidebar-Community.png) no-repeat 180px top;
}
#p-search h5 {
	background: url(<!-- Schriftzug für die Suche -->) no-repeat 180px top;
}
#p-tb h5 {
	background: url(<!-- Schriftzug für Werkzeugkasten -->) no-repeat 180px top;
}
#p-lang h5 {
	background: url(<!-- Schriftzug für andere Sprachen -->) no-repeat 180px top;
}

#p-Navigation .pBody,
#p-Interaction .pBody,
#p-search .pBody,
#p-tb .pBody,
#p-lang .pBody {
	display: block;
	background: #FFFFFF;
}
#p-Navigation .pBody a,
#p-Interaction .pBody a,
#p-search .pBody a,
#p-tb .pBody a,
#p-lang .pBody a {
	color: #000;
	text-decoration: none;
}
#p-Navigation .pBody a:hover,
#p-Interaction .pBody a:hover,
#p-search .pBody a:hover,
#p-tb .pBody a:hover,
#p-lang .pBody a:hover {
	color: #9FC;
}
#p-Navigation li a div:hover,
#p-Interaction li a div:hover,
#p-tb li a div:hover,
#p-lang li a div:hover {
	width: 197px;
	background-color:#9FC;
}
#p-Navigation li a div, #p-Interaction li a div, #p-tb li a div, #p-lang li a div, #feedlinks {
	padding: 2px 5px !important;
	width: 197px;
}

/* Search box */
#searchInput {
	background: #ffffff;
	border: 1px solid #000000;
	margin-bottom: 3px;
	padding: 2px;
	width: 110px;
}
#p-search .pBody {
	padding: 0;
	margin: 0;
}

/* the icon in front of the user name, single quotes in bg url to hide it from iemac */
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
	background: url(<!-- Icon bei der Anmeldung rechts oben -->) top left no-repeat;
	padding-left: 20px;
	text-transform: none;
}

/*** Monobook Sidebar ***/
ul.sub-menu {
	background: white;
}
.sub-menu li {
	font-size: 13px !important;
}

#p-Navigation ul, #p-Interaction ul {
	margin: 0;
}
#p-Navigation > div, #p-Interaction > div {
	background: white;
	padding: 0;
}
/* que no sea un list */
#p-Navigation li, #p-Interaction li {
	display: block;
	list-style-image: none !important; /* for IE */
}
/* general design of the links */
#p-Navigation li > a, #p-Interaction li > a {
	display: block;
	position: relative;
}
/* special menu just for the class */
#p-Navigation > div > ul > li > a, #p-Interaction > div > ul > li > a {
	margin: 1px 1px 0 1px;
	padding: 0 0 0 10px;
	color: black;
	width: auto;
}
#p-Navigation > div > ul > li.hover > a, #p-Interaction > div > ul > li.hover > a {
	color: #e51373;
	text-shadow: #9FC 1px 1px 3px;
}
#p-Navigation > div > ul > li > a > em, #p-Interaction > div > ul > li > a > em {
	right: 8px;
}
/* Submenu marker */
#p-Navigation em, #p-Interaction 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-Interaction li > ul > li.hover > a {
	background-color: #111111;
}

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

/* general submenu */
#p-Navigation ul.sub-menu, #p-Interaction ul.sub-menu {
	border: 1px solid #000000;
	display: none;
	background: #fffffff;
	position: absolute;
	padding: 1px;
	width: 170px;
	margin-left: 161px;
	margin-top: -24px;
	z-index: 100;
}
/* Only the first */
#p-Navigation > div > ul > li > ul.sub-menu, #p-Interaction > div > ul > li > ul.sub-menu {
	margin-left: 168px;
	margin-top: -22px;
}

#p-Navigation .pBody a:hover,
#p-Interaction .pBody a:hover,
#p-search .pBody a:hover,
#p-tb .pBody a:hover,
#p-lang .pBody a:hover {
	color: #9FC;
}

#p-Navigation li a div:hover, 
#p-Interaction li a div:hover,
#p-tb li a div:hover,
#p-lang li a div:hover {
	width: 197px;
	background-color:#9FC;
}
/*** End Monobook Sidebar ***/

div#footer {
	background-color: white;
	border-top: 2px solid #9FC;
	border-bottom: 2px solid #9FC;
	margin: .6em 0 1em 0;
	padding: .4em 0 1.2em 0;
	text-align: center;
	font-size: 90%;
}

#siteNotice {
	padding: 10px 0.9em 0 0.9em;
	background: white;
	margin-bottom: 5px;
	border-radius: 0.5em;
	border: none;
}

/**********  Tauscht das * gegen ein anderes icon, wenn man ein bild einbindet wie bei .portlet ul *************/


ul {
	line-height: 1.5em;
	list-style-type: square;

	margin: .5em 0 0 1.5em;
	padding: 0;

}
/**********  Bild vor den Menüpunkten *************/

.portlet ul {
	line-height: 1.5em;
	list-style-type: none;
	list-style-image: url(http://ffxiii.se-heaven.de/images/ff13/c/c7/Finger.png);
        margin: 0 0 0 3em;
	font-size: 95%;
}


.portlet ul a:hover {
font-size: 100%;
font-weight: bold;
}



pre {
	overflow: auto;
}