« MediaWiki:Common.css » : différence entre les versions
De Wiki Lylat
Aller à la navigationAller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 70 : | Ligne 70 : | ||
} | } | ||
@media screen and ( | @media screen and (max-width:1023px) | ||
{ | { | ||
#caroussel | #caroussel | ||
Version du 19 août 2025 à 23:03
/* Le CSS placé ici sera appliqué à tous les habillages. */
.index-div-item
{
width: 100%;
}
.index-div-item pre:first-child
{
display: none !important;
}
@media screen and (min-width: 1024px)
{
.index-div-item
{
margin-right: 15px;
}
.item1
{
width: 75%;
}
.item2
{
width: 25%;
}
.index-div
{
display: flex;
width: 99%;
}
}
/** Infobox */
.portable-infobox {
background: #79aaf3;
}
.portable-infobox .pi-title {
background-color: #4471e2;
}
.portable-infobox .pi-header {
background-color: #4471e2;
}
@media screen and (min-width:1024px)
{
#caroussel
{
margin-left: 15%;
}
.slideshow img
{
max-height: 350px;
width: auto;
}
.caroussel-caption
{
text-align: center;
width: 350px;
}
}
@media screen and (max-width:1023px)
{
#caroussel
{
width: 100%;
}
.slideshow img
{
max-height: 350px;
width: auto;
}
.caroussel-caption
{
text-align: center;
width: 100%;
}
}