Difference between revisions of "User:Otten/monobook.css"

From ICPWiki
Jump to: navigation, search
Line 6: Line 6:
  
 
#p-navigation{
 
#p-navigation{
position:absolute;  
+
width: 100%;
top: 0em;
+
white-space: nowrap;
right: 0 em;  
+
padding: 0;
z-index:0;
+
margin: 0;
padding:0;
+
position: absolute;
margin:0;
+
left: 0;
border:none;
+
top: 0;
overflow:visible;
+
z-index: 0;
width:20%;
+
border: none;
 +
background: none;
 +
overflow: visible;
 +
line-height: 1.2em;
 
}
 
}
  
Line 21: Line 24:
 
}
 
}
  
#p-navigation a {color:green; font-size: 12pt;}
+
#p-navigation .portlet,
 
+
#p-navigation .pBody {
#p-navigation li {display: inline;}
+
padding: 0;
#p-navigation ul {display:inline;}
+
margin: 0;
 +
border: none;
 +
z-index: 0;
 +
overflow: visible;
 +
background: none;
 +
}
 +
/* this is the ul contained in the portlet */
 +
#p-navigation ul {
 +
border: none;
 +
line-height: 1.4em;
 +
color: #2f6fab;
 +
padding: 0 2em 0 3em;
 +
margin: 0;
 +
text-align: right;
 +
text-transform: lowercase;
 +
list-style: none;
 +
z-index: 0;
 +
background: none;
 +
cursor: default;
 +
}
 +
#p-navigation li {
 +
z-index: 0;
 +
border: none;
 +
padding: 0;
 +
display: inline;
 +
color: #2f6fab;
 +
margin-left: 1em;
 +
line-height: 1.2em;
 +
background: none;
 +
}
 +
#p-navigation li.active {
 +
font-weight: bold;
 +
}
 +
#p-navigation li a {
 +
text-decoration: none;
 +
color: #005896;
 +
padding-bottom: .2em;
 +
background: none;
 +
}
 +
#p-navigation i a:hover {
 +
background-color: white;
 +
padding-bottom: .2em;
 +
text-decoration: none;
 +
}
 +
#p-navigation li.active a:hover {
 +
background-color: transparent;
 +
}
  
 
#p-cactions{left: 220pt;}
 
#p-cactions{left: 220pt;}

Revision as of 14:27, 18 January 2007

body{background:white; font-size: 8pt;}

#column-one{background:white}
#column-content{}
#content{background:white; left: 20pt;}

#p-navigation{
	width: 100%;
	white-space: nowrap;
	padding: 0;
	margin: 0;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	border: none;
	background: none;
	overflow: visible;
	line-height: 1.2em;
}

#p-navigation h5{
display: none;
}

#p-navigation .portlet,
#p-navigation .pBody {
	padding: 0;
	margin: 0;
	border: none;
	z-index: 0;
	overflow: visible;
	background: none;
}
/* this is the ul contained in the portlet */
#p-navigation ul {
	border: none;
	line-height: 1.4em;
	color: #2f6fab;
	padding: 0 2em 0 3em;
	margin: 0;
	text-align: right;
	text-transform: lowercase;
	list-style: none;
	z-index: 0;
	background: none;
	cursor: default;
}
#p-navigation li {
	z-index: 0;
	border: none;
	padding: 0;
	display: inline;
	color: #2f6fab;
	margin-left: 1em;
	line-height: 1.2em;
	background: none;
}
#p-navigation li.active {
	font-weight: bold;
}
#p-navigation li a {
	text-decoration: none;
	color: #005896;
	padding-bottom: .2em;
	background: none;
}
#p-navigation i a:hover {
	background-color: white;
	padding-bottom: .2em;
	text-decoration: none;
}
#p-navigation li.active a:hover {
	background-color: transparent;
}

#p-cactions{left: 220pt;}
div#bodyContent{}


/* change background of unselected tabs */
#p-cactions ul li a {background: #C7FDC7; }
/* change background of selected tabs */
#p-cactions ul li.selected a {background: white; }

/*edit textarea, summary (also in den Edit-Bereichen, Texteingabe)*/
textarea#wpTextbox1{background: #C0C0C0;}
input#wpSummary{background: #C0C0C0;}

/* make corners round: code adapted from http://meta.wikimedia.org/wiki/User_styles */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

/* same following the css3 draft specs, any browsers supporting this? */
#p-cactions ul li, #p-cactions ul li a {  
  border-radius-topleft: 1em;
  border-radius-topright: 1em;
}
#content { 
  border-radius-topleft: 1em;
  border-radius-bottomleft: 1em;
}
div.pBody {
  border-radius-topright: 1em;
  border-radius-bottomright: 1em;
}

/*toolbar a sidebox*/

/* Transform the user toolbar into a sidebox */
#p-personal {
    position:relative;
    z-index:12;
    width: 11.6em;
}

#p-personal .pBody {
    width: 10.7em;
    border: none;
    margin: 0 0 0.1em 0em;
    float: none;
    overflow: hidden;
    font-size: 95%;
    background: White;
    border-collapse: collapse;
    border: 1px solid #aaaaaa;
    padding: 0 0.8em 0.3em 0.5em;
}

#p-personal ul {
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url("/style/monobook/bullet.gif");

    font-size:95%;
    margin: 0 0 0 1.5em;
    padding:0;
    text-align:left;
    text-transform: none;
}

#p-personal li {
    display: list-item;
    padding:0;
    margin: 0 0 0 0;
    margin-bottom: 0.1em;
}

/* suppress the person icon by your username */
/* needed if not already in place */
li#pt-userpage { background: none }