Difference between revisions of "MediaWiki:Common.css"

From Waltharius
Jump to: navigation, search
Line 8: Line 8:
 
       padding: 0;
 
       padding: 0;
 
       position: absolute;
 
       position: absolute;
       z-index: -500}
+
       z-index: -500;
 +
}
  
 
.meter,
 
.meter,

Revision as of 15:14, 18 August 2009

/* CSS placed here will be applied to all skins */

.picturescont
{
       border-left: 3px ridge cornflowerblue;
       margin-top: -1.5em;
       height: 3em;
       padding: 0;
       position: absolute;
       z-index: -500;
}

.meter,
.parallel,
.commentary,
.pictures,
.outline,
.comment
{
	background-image: url( 'images/metrical.png');
	background-repeat: no-repeat;
	padding: 0 .5em;
	display: inline;
}

.parallel
{
	background-image: url( 'images/layout-2-equal.png');
}
.commentary
{
	background-image: url( 'images/book-open.png');
}

.pictures
{
	background-image: url( 'images/image.png');
}

.comment
{
	background-image: url( 'images/balloon-left.png');
}

.outline
{
        background-image: url('images/edit-list.png');
}

.meter .metertext,
.parallel .paralleltext,
.commentary .commentarytext,
.pictures .picturestext,
.comment .commenttext,
.outline .outlinetext
{
	display: none;
}

.meter:hover .metertext,
.parallel:hover .paralleltext,
.commentary:hover .commentarytext,
.pictures:hover .picturestext,
.outline:hover .outlinetext,
.comment:hover .commenttext
{
	display: block;
	position: absolute;
	margin-top: -2em;
	border: 2px dotted darkslategray;
	padding: 1em;
	background-color: white;
}

.parallel:hover .paralleltext,
.commentary:hover .commentarytext,
.pictures:hover .picturestext,
.outline:hover .outlinetext,
.comment:hover .commenttext
{
        max-width: 100%;
        min-width: 50%;
        right: 0;
}

.outline:hover .outlinetext
{
       height: 250px;
       overflow-y: auto;
}

#bodyContent table td
{
       padding: .25em 1em;
}