Difference between revisions of "MediaWiki:Common.css"
| Line 23: | Line 23: | ||
padding: 0 .5em; | padding: 0 .5em; | ||
display: inline; | display: inline; | ||
| + | position: relative; | ||
} | } | ||
| Line 30: | Line 31: | ||
padding: 0; | padding: 0; | ||
} | } | ||
| + | |||
.parallel | .parallel | ||
{ | { | ||
background-image: url( 'images/layout-2-equal.png'); | background-image: url( 'images/layout-2-equal.png'); | ||
} | } | ||
| + | |||
.commentary | .commentary | ||
{ | { | ||
| Line 75: | Line 78: | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
| − | margin-top: | + | top: 100%; |
| + | left: 0; | ||
| + | margin-top: 0; | ||
border: 2px dotted darkslategray; | border: 2px dotted darkslategray; | ||
padding: 1em; | padding: 1em; | ||
| Line 83: | Line 88: | ||
min-width: 50%; | min-width: 50%; | ||
width: 95%; | width: 95%; | ||
| − | right: | + | right: auto; |
} | } | ||
| Line 102: | Line 107: | ||
height: 250px; | height: 250px; | ||
overflow-y: auto; | overflow-y: auto; | ||
| − | |||
} | } | ||
Revision as of 16:50, 24 July 2026
/* CSS placed here will be applied to all skins */
/* .picturescont { border-left: 3px dotted lightblue; } */
.picturescont
{
margin-top: -1.5em;
height: 2.25em;
padding: 0;
position: absolute;
z-index: inherit;
}
.meter,
.parallel,
.commentary,
.pictures,
.outline,
.comment,
.word
{
background-image: url( 'images/metrical.png');
background-repeat: no-repeat;
padding: 0 .5em;
display: inline;
position: relative;
}
.word
{
background-image: none;
padding: 0;
}
.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,
.word .wordtext
{
display: none;
}
.meter.open .metertext,
.parallel.open .paralleltext,
.commentary.open .commentarytext,
.pictures.open .picturestext,
.outline.open .outlinetext,
.comment.open .commenttext,
.word.open .wordtext
{
display: block;
position: absolute;
top: 100%;
left: 0;
margin-top: 0;
border: 2px dotted darkslategray;
padding: 1em;
background-color:rgb(255,255,255);
z-index: 500;
max-width: 100%;
min-width: 50%;
width: 95%;
right: auto;
}
.pictures.open .picturestext *
{
position: relative;
margin-left: auto;
margin-right: auto;
}
.word.open .wordtext
{
width: 95%;
}
.outline.open .outlinetext
{
height: 250px;
overflow-y: auto;
}
#bodyContent table td
{
padding: .25em 1em;
}