Mudanças entre as edições de "MediaWiki:Common.css"
De VRWiki
| Linha 6: | Linha 6: | ||
} | } | ||
| + | |||
| + | |||
| + | |||
| + | ------------------------ teste do slider abaixo | ||
| + | |||
| + | #container{ | ||
| + | width:604px; | ||
| + | height:453px; | ||
| + | position:relative; | ||
| + | } | ||
| + | |||
| + | #container ul{ | ||
| + | width:604px; | ||
| + | height:453px; | ||
| + | list-style:none outside none; | ||
| + | position:relative; | ||
| + | overflow:hidden; | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| + | #container li:first-child{ | ||
| + | display:list-item; | ||
| + | position:absolute; | ||
| + | } | ||
| + | |||
| + | #container li{ | ||
| + | position:absolute; | ||
| + | display:none; | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | #container .prevButton{ | ||
| + | height:72px; | ||
| + | width:68px; | ||
| + | position:absolute; | ||
| + | background:url('buttons.png') no-repeat; | ||
| + | top:50%; | ||
| + | margin-top:-36px; | ||
| + | cursor:pointer; | ||
| + | z-index:2000; | ||
| + | background-position:left top; | ||
| + | left:0 | ||
| + | } | ||
| + | |||
| + | #container .prevButton:hover{background-position:left bottom;left:0;} | ||
Edição das 13h31min de 12 de fevereiro de 2016
/** o código CSS colocado aqui será aplicado a todos os temas */
pre {
white-space: pre-line;
}
------------------------ teste do slider abaixo
#container{
width:604px;
height:453px;
position:relative;
}
#container ul{
width:604px;
height:453px;
list-style:none outside none;
position:relative;
overflow:hidden;
}
#container li:first-child{
display:list-item;
position:absolute;
}
#container li{
position:absolute;
display:none;
}
#container .prevButton{
height:72px;
width:68px;
position:absolute;
background:url('buttons.png') no-repeat;
top:50%;
margin-top:-36px;
cursor:pointer;
z-index:2000;
background-position:left top;
left:0
}
#container .prevButton:hover{background-position:left bottom;left:0;}