MediaWiki:Common.css

aus GenWiki, dem genealogischen Lexikon zum Mitmachen.
Version vom 28. März 2011, 10:56 Uhr von Baumbuwegen (Diskussion • Beiträge) (Klassen wikitable sortable und prettytable für Tabellen aus der WP geclont)
Zur Navigation springen Zur Suche springen

Beachten Sie: Nach dem Speichern müssen Sie Ihren Browser veranlassen, die neue Version zu laden: Mozilla/Firefox: Strg-Shift-R, IE: Strg-F5, Safari: Cmd-Shift-R, Konqueror: F5.

body {
/* Addendum for GenWiki font size added, font-family changed */
font-size: 12px;
font-family: Arial, Verdana, Helvetica, sans-serif;
background: #f9f9f9 ;
color: black;
margin: 0;
padding: 0;

/* background: #ffffff; */
}

#globalWrapper {
	width: 100%;
/* Change for GenWiki font size from 127 to 110% */
	font-size: 110%;
	margin: 0;
	padding: 0;
/* Addendum for GenWiki */
        position: absolute;
        top: 50px;
}


.portlet {
   background-color: #FFE000;
   border-color: #eeeeee;
   border-style: solid;
   border-top-width: 1px; 
   border-right-width: 1px;
   border-bottom-width: 1px; 
   border-left-width: 1px;
   text-align: left;
	margin: 0 0 .5em;
	padding: 0;
	float: none;
	width: 11.6em;
	overflow: hidden;
}


.portlet-04 {
   background-color: #FFE000;
   border-color: #eeeeee;
   border-style: solid;
   border-top-width: 1px;
   border-right-width: 1px;
   border-bottom-width: 1px;
   border-left-width: 1px;
   text-align: left;
        margin: 0 0 .5em;
        padding: 0;
        float: none;
        width: 12.2em;
        overflow: hidden;
}

.portlet h4 {
	font-size: 95%;
	font-weight: normal;
	white-space: nowrap;
}

.portlet h5 {
	background: transparent;
	padding: 0 1em 0 .5em;
	display: inline;
	height: 1em;
	font-size: 100%;
	font-weight: bold;
	white-space: nowrap;
}
.portlet h6 {
	background: #ffae2e;
	border: 1px solid #2f6fab;
	border-style: solid solid none solid;
	padding: 0 1em 0 1em;
	display: block;
	font-size: 1em;
	height: 1.2em;
	font-weight: normal;
	white-space: nowrap;
}

	#p-logo {
		top: 0;
		left: 0;
		position: absolute; /*needed to use z-index */
		background: #f9f9f9;
		z-index: 3;
		height: 130px;
		width: 12em;
		overflow: visible;
	}
	#p-logo h5 {
		display: none;
	}
	#p-logo a,
	#p-logo a:hover {
		display: block;
		height: 155px;
		width: 11.6em;
		background-repeat: no-repeat;
		background-position: 35% 50% !important;
		text-decoration: none;
	}


#menue
   {
   position: absolute;
   top: 0px;
   background-color: #eeeeee;
   width: 100%;
   height: 15px;
   border: 0px;
   text-align: center;
   }

#menue-row
   {
   height: 21px;
   background-color: #EEEEEE;
   }

#menue-subrow
   {
   height: 21px;
   background-color: #FFE000;
   }

.home-tab
   {
   background-color: #eeeeee;
   font-size: 12px;
   font-weight: bold;
   color: #000080;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   border-color: #E0E0E0 #C6C5C5 #C6C5C5 #E2E0E0;
   border-style: solid;
   border-top-width: 1px;
   border-right-width: 1px;
   border-bottom-width: 1px;
   border-left-width: 1px;
   text-align: center;
   padding-top: 1px;
   padding-bottom: 5px;
   margin-left: -2px;
   margin-right: -2px;
   vertical-align: middle;
   display: inline;
   }

.home-tab:hover
   {
   background-color: #dddddd;
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   border-color: #E0E0E0 #C6C5C5 #C6C5C5 #E2E0E0;
   border-style: solid;
   border-top-width: 0px;
   border-right-width: 0px;
   border-bottom-width: 0px;
   border-left-width: 1px;
   text-align: center;
   padding-top: 1px;
   padding-bottom: 5px;
   margin-left: -1px;
   margin-right: -1px;
   vertical-align: middle;
   display: inline;
   }

a.home-tab-link:link
   {
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   color : #000000;
   text-decoration: none;
   margin-left: 5px;
   margin-right: 5px;
   margin-bottom: 2px;
   margin-top: 2px;   }

a.home-tab-link:visited
   {
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   color : #000000;
   text-decoration: none;
   margin-left: 5px;
   margin-right: 5px;
   margin-bottom: 2px;
   margin-top: 2px;   }

a.home-tab-link:hover
   {
   font-size: 12px;
   font-weight: bolder;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   color : #000000;
   text-decoration: none;
   margin-left: 5px;
   margin-right: 5px;
   margin-bottom: 2px;
   margin-top: 2px;   }




/* Bereich :: 02 - Datenbanken */

#menue-subrow-Datenbanken
   {
   height: 21px;
   background-color: #FFE000;
   }

#db-content 
   { 
   background-color: #ffffff;
   position:absolute; 
   top: 43px; 
   width: 100%;
   }

.db-tab
   {
   background-color: #FFE000;
   font-size: 12px;
   font-weight: bold;
   color: #000080;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   border-color: #E0E0E0 #C6C5C5 #C6C5C5 #E2E0E0;
   border-style: solid;
   border-top-width: 1px;
   border-right-width: 1px;
   border-bottom-width: 1px;
   border-left-width: 1px;
   text-align: center;
   padding-top: 1px;
   padding-bottom: 5px;
   margin-left: -2px;
   margin-right: -2px;
   vertical-align: middle;
   display: inline;
   }

.db-tab:hover
   {
   background-color: #FDD000;
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   border-color: #E0E0E0 #C6C5C5 #C6C5C5 #E2E0E0;
   border-style: solid;
   border-top-width: 0px;
   border-right-width: 0px;
   border-bottom-width: 0px;
   border-left-width: 1px;
   text-align: center;
   padding-top: 1px;
   padding-bottom: 5px;
   margin-left: -1px;
   margin-right: -1px;
   vertical-align: middle;
   display: inline;
   }

a.db-tab-link:link
   {
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   color : #000000;
   text-decoration: none;
   margin-left: 5px;
   margin-right: 5px;
   margin-bottom: 2px;
   margin-top: 2px;   }

a.db-tab-link:visited
   {
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   color : #000000;
   text-decoration: none;
   margin-left: 5px;
   margin-right: 5px;
   margin-bottom: 2px;
   margin-top: 2px;   }

a.db-tab-link:hover
   {
   font-size: 12px;
   font-weight: bolder;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   color : #000000;
   text-decoration: none;
   margin-left: 5px;
   margin-right: 5px;
   margin-bottom: 2px;
   margin-top: 2px;   }


td.aktiv-tab-02:hover 
   {
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;   
   background-color: #FDEE7E;
   border-color: #D4E6FF #2F6BC1 #23537F #D4E6FF;
   border-style: solid;
   border-top-width: 1px; 
   border-right-width: 1px;
   border-bottom-width: 1px; 
   border-left-width: 1px;
   text-align: center;
   }

td.aktiv-tab-highlight-02
   {
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;   
   background-color: #FDEE7E;
   border-color: #D4E6FF #2F6BC1 #23537F #D4E6FF;
   border-style: solid;
   border-top-width: 1px; 
   border-right-width: 1px;
   border-bottom-width: 1px; 
   border-left-width: 1px;
   text-align: center;
   }

td.aktiv-tab-02
   {
   font-size: 12px;
   font-weight: bold;
   font-family: Arial, Verdana, Helvetica, sans-serif;   
   background-color: #FFE000;
   border-color: #D4E6FF #2F6BC1 #23537F #D4E6FF;
   border-style: solid;
   border-top-width: 1px; 
   border-right-width: 1px;
   border-bottom-width: 1px; 
   border-left-width: 1px;
   text-align: center;
   }
   
td.aktiv-row-02
   {
   background-color: #FFE000
   }

.marginalie-davor-02
   {
   border-right:1px solid #000080;
   padding-left:0px;
   padding-right:1px;
   background-color: #ffffff;
   width:150px;
   }

.marginalie-danach-02
   {
   border-left:1px solid #000080;
   padding-left:3px;
   padding-right:3px;
   background-color: #ffffff;
   }

.marginalie-tab-02
   {
   background-color: #FFE000;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   font-size: 12px;
   font-weight: bold;
   color : #000000;
   }

/* wikitable, sortable, and prettytable class definitions
** based on meta.wikimedia.org MediaWiki:Common.css 
*/

table.wikitable, table.sortable, table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable td, table.sortable td, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th, table.sortable th, table.prettytable th {
  background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
  border: 1px #aaaaaa solid;
  text-align: center;
}

table.wikitable caption, table.sortable caption, table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}