MediaWiki:Common.css : Différence entre versions
De Wiki des communs
(Utilise Flex pour la page d'accueil) |
|||
| Ligne 2 : | Ligne 2 : | ||
.page-Accueil .firstHeading { | .page-Accueil .firstHeading { | ||
| − | + | display: none; | |
} | } | ||
.page-Accueil .two-col { | .page-Accueil .two-col { | ||
| − | + | display: flex; | |
| − | + | flex-wrap: wrap; | |
| − | + | justify-content: space-around; | |
| − | |||
} | } | ||
| − | .page-Accueil .actus, .page-Accueil .participer, .page-Accueil .structures, .page-Accueil .outils { | + | .page-Accueil .actus, |
| − | border: solid 1px #e7e7e7; | + | .page-Accueil .participer, |
| + | .page-Accueil .structures, | ||
| + | .page-Accueil .outils { | ||
| + | border: solid 1px #e7e7e7; | ||
| + | border-radius: 1em; | ||
| + | padding: 1rem; | ||
| + | width: 95%; | ||
| + | padding: 5px; | ||
| + | background-color: #f8f8f8; | ||
| + | flex-basis: calc(50% - 15px); | ||
} | } | ||
| − | .page-Accueil .actus, .page-Accueil .participer { | + | .page-Accueil .actus, |
| − | margin-bottom: | + | .page-Accueil .participer { |
| + | margin-bottom: 1rem; | ||
| + | text-align: center; | ||
} | } | ||
| − | .lille {float:right;} | + | .lille { |
| − | .identite {border-radius: 1em; background-color:#E3FBFF;margin:10px 10px;border:1px #68C0C3 solid; width: 48%; padding: 10px; text-align: left;} | + | float: right; |
| − | .informations {border-radius: 1em; background-color:#FFE7D3;margin:10px 10px;border:1px #F3974A solid; width: 48%; padding: 10px; text-align: left;} | + | } |
| + | |||
| + | .identite { | ||
| + | border-radius: 1em; | ||
| + | background-color: #E3FBFF; | ||
| + | margin: 10px 10px; | ||
| + | border: 1px #68C0C3 solid; | ||
| + | width: 48%; | ||
| + | padding: 10px; | ||
| + | text-align: left; | ||
| + | } | ||
| + | |||
| + | .informations { | ||
| + | border-radius: 1em; | ||
| + | background-color: #FFE7D3; | ||
| + | margin: 10px 10px; | ||
| + | border: 1px #F3974A solid; | ||
| + | width: 48%; | ||
| + | padding: 10px; | ||
| + | text-align: left; | ||
| + | } | ||
Version du 16 avril 2020 à 14:37
/* Le CSS placé ici sera appliqué à tous les habillages. */
.page-Accueil .firstHeading {
display: none;
}
.page-Accueil .two-col {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.page-Accueil .actus,
.page-Accueil .participer,
.page-Accueil .structures,
.page-Accueil .outils {
border: solid 1px #e7e7e7;
border-radius: 1em;
padding: 1rem;
width: 95%;
padding: 5px;
background-color: #f8f8f8;
flex-basis: calc(50% - 15px);
}
.page-Accueil .actus,
.page-Accueil .participer {
margin-bottom: 1rem;
text-align: center;
}
.lille {
float: right;
}
.identite {
border-radius: 1em;
background-color: #E3FBFF;
margin: 10px 10px;
border: 1px #68C0C3 solid;
width: 48%;
padding: 10px;
text-align: left;
}
.informations {
border-radius: 1em;
background-color: #FFE7D3;
margin: 10px 10px;
border: 1px #F3974A solid;
width: 48%;
padding: 10px;
text-align: left;
}