« Modèle:Infobox personnalité politique/styles.css » : différence entre les versions

De Wiki Kabylie
Aller à la navigation Aller à la recherche
Page créée avec « .wk-infobox { width: 320px; float: right; clear: right; margin: 0 0 24px 28px; overflow: hidden; border: 1px solid #dfe5ea; border-radius: 16px; background: #fff; color: #263b4d; font-size: 13px; line-height: 1.45; } .wk-infobox-header { padding: 22px 22px 18px; border-bottom: 1px solid #dfe5ea; background: #f7fafc; } .wk-infobox-kicker { margin-bottom: 6px; color: #267a50; font-size: 10px; font-weight: 800; letter-spacing:... »
 
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
/* ============================================================
  WikiKabylie — Infobox personnalité politique
  Modèle:Infobox personnalité politique/styles.css
  ============================================================ */
/* ------------------------------------------------------------
  CONTENEUR
  ------------------------------------------------------------ */
.wk-infobox {
.wk-infobox {
  width: 320px;
    width: 330px;
  float: right;
    float: right;
  clear: right;
    clear: right;
  margin: 0 0 24px 28px;
 
  overflow: hidden;
    margin: 0 0 28px 30px;
  border: 1px solid #dfe5ea;
 
  border-radius: 16px;
    overflow: hidden;
  background: #fff;
 
  color: #263b4d;
    border: 1px solid #dfe5ea;
  font-size: 13px;
    border-radius: 16px;
  line-height: 1.45;
 
    background: #ffffff;
 
    color: #263b4d;
 
    font-size: 13px;
    line-height: 1.5;
}
}
/* ------------------------------------------------------------
  EN-TÊTE
  ------------------------------------------------------------ */


.wk-infobox-header {
.wk-infobox-header {
  padding: 22px 22px 18px;
    padding: 22px 22px 18px;
  border-bottom: 1px solid #dfe5ea;
 
  background: #f7fafc;
    border-bottom: 1px solid #dfe5ea;
 
    background: #f7fafc;
}
}


.wk-infobox-kicker {
.wk-infobox-kicker {
  margin-bottom: 6px;
    margin-bottom: 6px;
  color: #267a50;
 
  font-size: 10px;
    color: #267a50;
  font-weight: 800;
 
  letter-spacing: .12em;
    font-size: 10px;
    font-weight: 800;
 
    letter-spacing: .12em;
 
    text-transform: uppercase;
}
}


.wk-infobox-name {
.wk-infobox-name {
  color: #13283d;
    color: #13283d;
  font-family: Georgia, "Times New Roman", serif;
 
  font-size: 26px;
    font-family:
  font-weight: 700;
        Georgia,
  line-height: 1.1;
        "Times New Roman",
        serif;
 
    font-size: 27px;
    font-weight: 700;
 
    line-height: 1.1;
 
    letter-spacing: -.02em;
}
}


.wk-infobox-subtitle {
.wk-infobox-subtitle {
  margin-top: 6px;
    margin-top: 7px;
  color: #718091;
 
  font-size: 12px;
    color: #718091;
 
    font-size: 12px;
}
}
/* ------------------------------------------------------------
  PHOTO
  ------------------------------------------------------------ */


.wk-infobox-image {
.wk-infobox-image {
  padding: 14px 14px 10px;
    padding: 14px 14px 11px;
  text-align: center;
 
  background: #fff;
    text-align: center;
 
    background: #ffffff;
}
}


.wk-infobox-image img,
.wk-infobox-image img,
.wk-infobox-image .mw-file-element {
.wk-infobox-image .mw-file-element {
  max-width: 100%;
    max-width: 100%;
  height: auto;
    height: auto;
  border-radius: 10px;
 
    border-radius: 10px;
}
}


.wk-infobox-caption {
.wk-infobox-caption {
  margin-top: 8px;
    margin-top: 8px;
  color: #718091;
 
  font-size: 11px;
    color: #718091;
  line-height: 1.4;
 
    font-size: 11px;
    line-height: 1.4;
}
}
/* ------------------------------------------------------------
  TITRES DE SECTION
  ------------------------------------------------------------ */


.wk-infobox-section-title {
.wk-infobox-section-title {
  padding: 10px 16px;
    padding: 10px 16px;
  border-top: 1px solid #dfe5ea;
 
  border-bottom: 1px solid #dfe5ea;
    border-top: 1px solid #dfe5ea;
  background: #f3f7f9;
    border-bottom: 1px solid #dfe5ea;
  color: #0b5fa8;
 
  font-size: 10px;
    background: #f3f7f9;
  font-weight: 800;
 
  letter-spacing: .1em;
    color: #0b5fa8;
 
    font-size: 10px;
    font-weight: 800;
 
    letter-spacing: .1em;
 
    text-transform: uppercase;
}
}
/* ------------------------------------------------------------
  DONNÉES
  ------------------------------------------------------------ */


.wk-infobox-data {
.wk-infobox-data {
  background: #fff;
    background: #ffffff;
}
}


.wk-infobox-row {
.wk-infobox-row {
  display: grid;
    display: grid;
  grid-template-columns: 38% 62%;
 
  border-bottom: 1px solid #eef1f3;
    grid-template-columns: 38% 62%;
 
    border-bottom: 1px solid #eef1f3;
}
}


.wk-infobox-row:last-child {
.wk-infobox-row:last-child {
  border-bottom: 0;
    border-bottom: 0;
}
}


.wk-infobox-label {
.wk-infobox-label {
  padding: 10px 8px 10px 16px;
    padding: 10px 8px 10px 16px;
  color: #6c7b88;
 
  font-size: 11px;
    color: #6c7b88;
  font-weight: 700;
 
    font-size: 11px;
    font-weight: 700;
}
}


.wk-infobox-value {
.wk-infobox-value {
  padding: 10px 16px 10px 8px;
    padding: 10px 16px 10px 8px;
  overflow-wrap: anywhere;
 
    color: #263b4d;
 
    overflow-wrap: break-word;
}
 
 
.wk-infobox-value strong {
    color: #13283d;
 
    font-weight: 700;
}
}
.wk-infobox-muted {
    color: #718091;
    font-size: 11px;
}
/* ------------------------------------------------------------
  FONCTION PRINCIPALE
  ------------------------------------------------------------ */


.wk-infobox-row-featured {
.wk-infobox-row-featured {
  background: #f7fbff;
    background: #f7fbff;
}
}


.wk-infobox-muted {
 
  color: #718091;
/* ------------------------------------------------------------
  font-size: 11px;
  BLOC DE MANDAT
  ------------------------------------------------------------ */
 
.wk-infobox-mandate {
    padding: 15px 16px;
 
    border-bottom: 1px solid #e8edf1;
 
    background: #f7fbff;
}
 
 
.wk-infobox-mandate-title {
    color: #13283d;
 
    font-family:
        Georgia,
        "Times New Roman",
        serif;
 
    font-size: 17px;
    font-weight: 700;
 
    line-height: 1.25;
}
 
 
.wk-infobox-mandate-period {
    margin-top: 5px;
 
    color: #718091;
 
    font-size: 11px;
}
 
 
/* ------------------------------------------------------------
  INFORMATIONS D'UN MANDAT
  ------------------------------------------------------------ */
 
.wk-infobox-mini-row {
    display: grid;
 
    grid-template-columns: 43% 57%;
 
    gap: 8px;
 
    margin-top: 9px;
 
    font-size: 11px;
}
 
 
.wk-infobox-mini-row span {
    color: #718091;
}
 
 
.wk-infobox-mini-row strong {
    color: #263b4d;
 
    font-weight: 700;
}
 
 
/* ------------------------------------------------------------
  LIGNES LARGES
  ouvrages / œuvres / publications
  ------------------------------------------------------------ */
 
.wk-infobox-row-wide {
    grid-template-columns: 32% 68%;
}
 
 
/* ------------------------------------------------------------
  LISTES DANS L'INFOBOX
  ------------------------------------------------------------ */
 
.wk-infobox-value ul {
    margin: 2px 0 2px 17px;
 
    padding: 0;
}
 
 
.wk-infobox-value li {
    margin: 3px 0;
}
}
/* ------------------------------------------------------------
  LIENS
  ------------------------------------------------------------ */


.wk-infobox a {
.wk-infobox a {
  text-decoration: none;
    text-decoration: none;
}
}
.wk-infobox a:hover {
    text-decoration: underline;
}
/* ------------------------------------------------------------
  LIENS OFFICIELS
  ------------------------------------------------------------ */
.wk-infobox-official {
    padding: 13px 16px;
    border-top: 1px solid #e5e9ee;
    background: #fafbfc;
}
.wk-infobox-official a {
    font-weight: 700;
}
/* ------------------------------------------------------------
  SIGNATURE
  ------------------------------------------------------------ */
.wk-infobox-signature {
    text-align: center;
}
.wk-infobox-signature img,
.wk-infobox-signature .mw-file-element {
    max-width: 160px;
    height: auto;
}
/* ------------------------------------------------------------
  COULEURS OPTIONNELLES
  ------------------------------------------------------------ */
.wk-infobox-politique .wk-infobox-header {
    border-top: 4px solid #0b5fa8;
}
.wk-infobox-politique .wk-infobox-section-title {
    border-left: 3px solid #258052;
}
/* ------------------------------------------------------------
  AMÉLIORATION DES ÉLÉMENTS LONGS
  ------------------------------------------------------------ */
.wk-infobox-value,
.wk-infobox-mandate-title,
.wk-infobox-mini-row strong {
    word-break: normal;
    overflow-wrap: break-word;
}
/* ------------------------------------------------------------
  MOBILE
  ------------------------------------------------------------ */


@media (max-width: 720px) {
@media (max-width: 720px) {
  .wk-infobox {
 
    width: 100%;
    .wk-infobox {
    float: none;
        width: 100%;
    margin: 0 0 28px;
 
  }
        float: none;
        clear: both;
 
        margin: 0 0 30px;
    }
 
 
    .wk-infobox-name {
        font-size: 25px;
    }
 
 
    .wk-infobox-row {
        grid-template-columns: 36% 64%;
    }
 
 
    .wk-infobox-mini-row {
        grid-template-columns: 42% 58%;
    }
 
}
 
 
/* ------------------------------------------------------------
  TRÈS PETITS ÉCRANS
  ------------------------------------------------------------ */
 
@media (max-width: 480px) {
 
    .wk-infobox-row {
        display: block;
    }
 
 
    .wk-infobox-label {
        padding: 10px 14px 2px;
 
        color: #718091;
    }
 
 
    .wk-infobox-value {
        padding: 2px 14px 11px;
    }
 
 
    .wk-infobox-mini-row {
        display: block;
    }
 
 
    .wk-infobox-mini-row span {
        display: block;
 
        margin-bottom: 2px;
    }
 
 
    .wk-infobox-mini-row strong {
        display: block;
    }
 
}
}

Version du 9 août 2026 à 00:26

/* ============================================================
   WikiKabylie — Infobox personnalité politique
   Modèle:Infobox personnalité politique/styles.css
   ============================================================ */


/* ------------------------------------------------------------
   CONTENEUR
   ------------------------------------------------------------ */

.wk-infobox {
    width: 330px;
    float: right;
    clear: right;

    margin: 0 0 28px 30px;

    overflow: hidden;

    border: 1px solid #dfe5ea;
    border-radius: 16px;

    background: #ffffff;

    color: #263b4d;

    font-size: 13px;
    line-height: 1.5;
}


/* ------------------------------------------------------------
   EN-TÊTE
   ------------------------------------------------------------ */

.wk-infobox-header {
    padding: 22px 22px 18px;

    border-bottom: 1px solid #dfe5ea;

    background: #f7fafc;
}


.wk-infobox-kicker {
    margin-bottom: 6px;

    color: #267a50;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.wk-infobox-name {
    color: #13283d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -.02em;
}


.wk-infobox-subtitle {
    margin-top: 7px;

    color: #718091;

    font-size: 12px;
}


/* ------------------------------------------------------------
   PHOTO
   ------------------------------------------------------------ */

.wk-infobox-image {
    padding: 14px 14px 11px;

    text-align: center;

    background: #ffffff;
}


.wk-infobox-image img,
.wk-infobox-image .mw-file-element {
    max-width: 100%;
    height: auto;

    border-radius: 10px;
}


.wk-infobox-caption {
    margin-top: 8px;

    color: #718091;

    font-size: 11px;
    line-height: 1.4;
}


/* ------------------------------------------------------------
   TITRES DE SECTION
   ------------------------------------------------------------ */

.wk-infobox-section-title {
    padding: 10px 16px;

    border-top: 1px solid #dfe5ea;
    border-bottom: 1px solid #dfe5ea;

    background: #f3f7f9;

    color: #0b5fa8;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;
}


/* ------------------------------------------------------------
   DONNÉES
   ------------------------------------------------------------ */

.wk-infobox-data {
    background: #ffffff;
}


.wk-infobox-row {
    display: grid;

    grid-template-columns: 38% 62%;

    border-bottom: 1px solid #eef1f3;
}


.wk-infobox-row:last-child {
    border-bottom: 0;
}


.wk-infobox-label {
    padding: 10px 8px 10px 16px;

    color: #6c7b88;

    font-size: 11px;
    font-weight: 700;
}


.wk-infobox-value {
    padding: 10px 16px 10px 8px;

    color: #263b4d;

    overflow-wrap: break-word;
}


.wk-infobox-value strong {
    color: #13283d;

    font-weight: 700;
}


.wk-infobox-muted {
    color: #718091;

    font-size: 11px;
}


/* ------------------------------------------------------------
   FONCTION PRINCIPALE
   ------------------------------------------------------------ */

.wk-infobox-row-featured {
    background: #f7fbff;
}


/* ------------------------------------------------------------
   BLOC DE MANDAT
   ------------------------------------------------------------ */

.wk-infobox-mandate {
    padding: 15px 16px;

    border-bottom: 1px solid #e8edf1;

    background: #f7fbff;
}


.wk-infobox-mandate-title {
    color: #13283d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.25;
}


.wk-infobox-mandate-period {
    margin-top: 5px;

    color: #718091;

    font-size: 11px;
}


/* ------------------------------------------------------------
   INFORMATIONS D'UN MANDAT
   ------------------------------------------------------------ */

.wk-infobox-mini-row {
    display: grid;

    grid-template-columns: 43% 57%;

    gap: 8px;

    margin-top: 9px;

    font-size: 11px;
}


.wk-infobox-mini-row span {
    color: #718091;
}


.wk-infobox-mini-row strong {
    color: #263b4d;

    font-weight: 700;
}


/* ------------------------------------------------------------
   LIGNES LARGES
   ouvrages / œuvres / publications
   ------------------------------------------------------------ */

.wk-infobox-row-wide {
    grid-template-columns: 32% 68%;
}


/* ------------------------------------------------------------
   LISTES DANS L'INFOBOX
   ------------------------------------------------------------ */

.wk-infobox-value ul {
    margin: 2px 0 2px 17px;

    padding: 0;
}


.wk-infobox-value li {
    margin: 3px 0;
}


/* ------------------------------------------------------------
   LIENS
   ------------------------------------------------------------ */

.wk-infobox a {
    text-decoration: none;
}


.wk-infobox a:hover {
    text-decoration: underline;
}


/* ------------------------------------------------------------
   LIENS OFFICIELS
   ------------------------------------------------------------ */

.wk-infobox-official {
    padding: 13px 16px;

    border-top: 1px solid #e5e9ee;

    background: #fafbfc;
}


.wk-infobox-official a {
    font-weight: 700;
}


/* ------------------------------------------------------------
   SIGNATURE
   ------------------------------------------------------------ */

.wk-infobox-signature {
    text-align: center;
}


.wk-infobox-signature img,
.wk-infobox-signature .mw-file-element {
    max-width: 160px;
    height: auto;
}


/* ------------------------------------------------------------
   COULEURS OPTIONNELLES
   ------------------------------------------------------------ */

.wk-infobox-politique .wk-infobox-header {
    border-top: 4px solid #0b5fa8;
}


.wk-infobox-politique .wk-infobox-section-title {
    border-left: 3px solid #258052;
}


/* ------------------------------------------------------------
   AMÉLIORATION DES ÉLÉMENTS LONGS
   ------------------------------------------------------------ */

.wk-infobox-value,
.wk-infobox-mandate-title,
.wk-infobox-mini-row strong {
    word-break: normal;
    overflow-wrap: break-word;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 720px) {

    .wk-infobox {
        width: 100%;

        float: none;
        clear: both;

        margin: 0 0 30px;
    }


    .wk-infobox-name {
        font-size: 25px;
    }


    .wk-infobox-row {
        grid-template-columns: 36% 64%;
    }


    .wk-infobox-mini-row {
        grid-template-columns: 42% 58%;
    }

}


/* ------------------------------------------------------------
   TRÈS PETITS ÉCRANS
   ------------------------------------------------------------ */

@media (max-width: 480px) {

    .wk-infobox-row {
        display: block;
    }


    .wk-infobox-label {
        padding: 10px 14px 2px;

        color: #718091;
    }


    .wk-infobox-value {
        padding: 2px 14px 11px;
    }


    .wk-infobox-mini-row {
        display: block;
    }


    .wk-infobox-mini-row span {
        display: block;

        margin-bottom: 2px;
    }


    .wk-infobox-mini-row strong {
        display: block;
    }

}