Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
serveurs:sinp-paca:cms-theme [2020/06/25 07:41] – jpmilcent | serveurs:sinp-paca:cms-theme [2022/03/27 12:29] (Version actuelle) – [CSS additionnel] jpmilcent | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Wordpress - Thème SILENE avec Understrap ====== | ====== Wordpress - Thème SILENE avec Understrap ====== | ||
+ | ===== Options du thème ===== | ||
+ | * Pour adapter le thème // | ||
+ | * Dans le menu "// | ||
+ | * Pour "// | ||
+ | * sélectionner une image du logo de SILENE de 108px de côté au format PNG | ||
+ | * "// | ||
+ | * "// | ||
+ | * "// | ||
+ | * Pour "// | ||
+ | * Pour "// | ||
+ | * Ajouter une image contenant la frise SILENE de pied de page. | ||
+ | * Pour "// | ||
+ | * "//La page d' | ||
+ | * "// | ||
+ | * "// | ||
+ | * Pour "// | ||
+ | * pour la " | ||
+ | * pour " | ||
+ | * Pour "//CSS aditionnel//", | ||
+ | * Dans le menu "// | ||
+ | * " | ||
+ | |||
+ | ==== Modification du theme Understrap ==== | ||
+ | * Sur // | ||
+ | * Se rendre dans le dossier /// | ||
+ | * Éditer le fichier // | ||
+ | * Commenter : <code css> | ||
===== CSS additionnel ===== | ===== CSS additionnel ===== | ||
- | Afin d' | + | Afin d' |
<code css> | <code css> | ||
# | # | ||
Ligne 15: | Ligne 42: | ||
# | # | ||
background-color: | background-color: | ||
+ | width: 100%; | ||
} | } | ||
# | # | ||
Ligne 26: | Ligne 54: | ||
background-color: | background-color: | ||
color: #97BF0D !important; | color: #97BF0D !important; | ||
+ | } | ||
+ | # | ||
+ | margin-left: | ||
} | } | ||
# | # | ||
Ligne 69: | Ligne 100: | ||
} | } | ||
- | @media (min-width: 576px) { | + | # |
- | # | + | background-position: |
- | background-position: | + | background-size: |
- | background-size: | + | |
background-repeat: | background-repeat: | ||
- | background-image: | + | background-image: |
+ | } | ||
+ | |||
+ | @media (min-width: 576px ) { | ||
+ | # | ||
+ | background-position: | ||
+ | background-size: | ||
+ | background-repeat: | ||
+ | background-image: | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @media (max-width: 767.98px) { | ||
+ | # | ||
+ | background-size: | ||
+ | background-image: | ||
+ | height: 91px; | ||
+ | background-repeat: | ||
+ | background-position: | ||
+ | } | ||
+ | |||
+ | # | ||
+ | display: none; | ||
} | } | ||
} | } | ||
Ligne 80: | Ligne 132: | ||
@media (min-width: 768px) { | @media (min-width: 768px) { | ||
# | # | ||
- | background-size: | + | background-position: |
+ | background-size: | ||
+ | background-image: | ||
+ | |||
-webkit-flex-wrap: | -webkit-flex-wrap: | ||
-ms-flex-wrap: | -ms-flex-wrap: | ||
Ligne 94: | Ligne 149: | ||
# | # | ||
font-size: | font-size: | ||
+ | } | ||
+ | |||
+ | # | ||
+ | background-size: | ||
+ | background-image: | ||
+ | height: 91px; | ||
+ | background-repeat: | ||
+ | background-position: | ||
+ | } | ||
+ | |||
+ | # | ||
+ | display: none; | ||
} | } | ||
} | } | ||
Ligne 116: | Ligne 183: | ||
background-color: | background-color: | ||
} | } | ||
+ | |||
+ | /* Silene Expert et Nature */ | ||
+ | .img-silene-nature img:hover { | ||
+ | background-color: | ||
+ | border-color: | ||
+ | } | ||
+ | .btn-silene-nature { | ||
+ | background-color: | ||
+ | border-color: | ||
+ | font-weight: | ||
+ | } | ||
+ | .btn-silene-nature: | ||
+ | color: #97BF0D; | ||
+ | background-color: | ||
+ | border-color: | ||
+ | } | ||
+ | .img-silene-expert img:hover { | ||
+ | background-color: | ||
+ | border-color: | ||
+ | } | ||
+ | .btn-silene-expert { | ||
+ | background-color: | ||
+ | border-color: | ||
+ | font-weight: | ||
+ | } | ||
+ | .btn-silene-expert: | ||
+ | color: #A10D59; | ||
+ | background-color: | ||
+ | border-color: | ||
+ | } | ||
+ | |||
/* Gallerie de Logos */ | /* Gallerie de Logos */ | ||
- | .gallery-logo .thumb { | + | .silene-thumb { |
+ | height: 180px | ||
+ | } | ||
+ | .silene-thumb img { | ||
+ | max-height: | ||
border: 1px solid #dee2e6; | border: 1px solid #dee2e6; | ||
border-radius: | border-radius: | ||
+ | padding: .25rem; | ||
} | } | ||
- | .gallery-logo .thumb img { | + | .silene-card { |
- | max-height:200px; | + | border: 1px solid #dee2e6; |
+ | border-radius: .25rem; | ||
+ | padding: 1em; | ||
+ | } | ||
+ | |||
+ | /* Articles */ | ||
+ | .cat-links { | ||
+ | display: none; | ||
+ | } | ||
+ | .updated { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .byline { | ||
+ | display: none; | ||
} | } | ||
</ | </ |