correction affichage des groupes

This commit is contained in:
Pierre 2020-02-03 02:19:59 +01:00
parent b44113a29e
commit 0ba5bf6c27
3 changed files with 42 additions and 46 deletions

View file

@ -223,6 +223,16 @@ body{
} }
} }
.bloc-ville{
text-align: center;
div{
color: $dark;
}
&:hover div{
color: $couleur-liens;
}
}
// 4. SECTION NOUS CONTACTER // 4. SECTION NOUS CONTACTER
#nous-contacter{ #nous-contacter{
background: $bg-nous-contacter; background: $bg-nous-contacter;
@ -323,7 +333,7 @@ body{
background: $fond-footer; background: $fond-footer;
padding: 3rem 0; padding: 3rem 0;
a{ a{
color: $page-active; color: $dark;
} }
} }
@ -431,24 +441,7 @@ body{
} }
} }
.bloc-ville{
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
min-height: 100%;
border: solid 1px #ddd;
background: $fond-formulaires;
border-radius: 0.2rem;
padding: 1.5rem;
text-align: center;
a div{
color: $dark;
}
a:hover div{
color: $couleur-liens;
}
}
.bloc-groupe{ .bloc-groupe{
background: $fond-transparent; background: $fond-transparent;
@ -622,6 +615,14 @@ body{
margin-bottom: 1.5rem;; margin-bottom: 1.5rem;;
} }
/**********************************************************************/
/************************* PAGE GERER MEMBRES *************************/
/**********************************************************************/
.liste-auteurs{
align-items: center;
}
/**********************************************************************/ /**********************************************************************/
/****************************** spip_admin ****************************/ /****************************** spip_admin ****************************/
/**********************************************************************/ /**********************************************************************/

View file

@ -12120,6 +12120,18 @@ body {
flex-grow: 1; flex-grow: 1;
} }
.bloc-ville {
text-align: center;
}
.bloc-ville div {
color: #595959;
}
.bloc-ville:hover div {
color: #f67638;
}
#nous-contacter { #nous-contacter {
background: url("../images/Fond-contact-bleuvert.jpg"); background: url("../images/Fond-contact-bleuvert.jpg");
padding: 4rem 0 3rem 0; padding: 4rem 0 3rem 0;
@ -12235,7 +12247,7 @@ body {
} }
#footer-infos a { #footer-infos a {
color: #ffdb70; color: #595959;
} }
.footer { .footer {
@ -12368,31 +12380,6 @@ body {
} }
} }
.bloc-ville {
display: -webkit-box;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
-webkit-box-pack: justify;
justify-content: space-between;
width: 100%;
min-height: 100%;
border: solid 1px #ddd;
background: rgba(255, 255, 255, 0.8);
border-radius: 0.2rem;
padding: 1.5rem;
text-align: center;
}
.bloc-ville a div {
color: #595959;
}
.bloc-ville a:hover div {
color: #f67638;
}
.bloc-groupe { .bloc-groupe {
background: rgba(255, 255, 255, 0.92); background: rgba(255, 255, 255, 0.92);
padding: 1.5rem; padding: 1.5rem;
@ -12610,6 +12597,14 @@ body {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
/**********************************************************************/
/************************* PAGE GERER MEMBRES *************************/
/**********************************************************************/
.liste-auteurs {
-webkit-box-align: center;
align-items: center;
}
/**********************************************************************/ /**********************************************************************/
/****************************** spip_admin ****************************/ /****************************** spip_admin ****************************/
/**********************************************************************/ /**********************************************************************/

View file

@ -1,6 +1,6 @@
[(#REM) affichage du bloc d'un article ] [(#REM) affichage du bloc d'un article ]
<BOUCLE_art(ARTICLES){id_article = #ENV{id_article}}> <BOUCLE_art(ARTICLES){id_article = #ENV{id_article}}>
<div class="bloc-article"> <div class="bloc-article bloc-ville">
<div class="bloc-contenu"> <div class="bloc-contenu">
<a href="[(#URL_PAGE{groupe}|parametre_url{id_article,#ID_ARTICLE})]"> <a href="[(#URL_PAGE{groupe}|parametre_url{id_article,#ID_ARTICLE})]">
<INCLURE{fond=inclure/photo_article,env,id_article=#ENV{id_article},ajax=recharger_photo,groupe=oui}> <INCLURE{fond=inclure/photo_article,env,id_article=#ENV{id_article},ajax=recharger_photo,groupe=oui}>