1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
|
/* ************************************* COMMUNS BLOG & ARTICLES, début ****************************************** */
object[type="application/pdf"] { /* pdf responsive */
width: 100%;
}
/* paragraphe accroche - champ personnalisé */
.accroche{
position: relative;
}
/* paragraphe accroche */
.accroche::after{
content: "";
display: block;
position: absolute;
left: 0;
right: 0;
bottom: -0.5rem;
height: 0.5rem;
width:100%;
background-image: radial-gradient(farthest-side at top center, #777, #888, #fff);
background-size: 100%;
background-position: top;
background-repeat: no-repeat;
}
.accroche h2{
background-color: LightGray;
color: black;
border-left: 4px solid var(--cassiopeia-color-secondary);
padding: 0.8em 0.6em 0.8em 0.6em;
font-weight: 400;
font-size: 1.2rem;
margin: 20px 0 20px 0;
}
/* Encadré de contenu comme les liens */
.card {
box-shadow : 12px 4px 180px 0px rgba(0, 0, 0, 0.35) ;
-webkit-box-shadow : 12px 4px 18px 0px rgba(0, 0, 0, 0.35) ;
-moz-box-shadow : 12px 4px 18px 0px rgba(0, 0, 0, 0.35) ;
background:var(--cassiopeia-color-primary);
/* border:2px dotted black;
border-radius: 15% 10%;
border-radius: 50% 20% / 10% 40%;*/
border-radius: 20px 20px 10px 10px;
}
/* ajout d'un icone vers lien interne */
.nav-item::before, .mod-tagssimilar>li::before {
font-family: "Font Awesome 6 Free";
content: "\f0c1";
font-weight: 900;
display: inline-block;
width: 20px;
text-align: center;
}
/* couleur et fond des tags */
.tags a.btn {
color: darkblue;
background: var(--cassiopeia-color-secondary);
}
/* ************************************* COMMUNS BLOG & ARTICLES, fin ****************************************** */
/* ****************************************** BLOG D'ARTICLES, début ****************************************** */
/* taille des caractères du texte d'intro d'une catégorie */
.intro-categorie{
font-size: 100%;
}
/* enlève le soulignement de lien sur partie blog */
div.com-content-category-blog__item a{
text-decoration: none;
}
/* limite la hauteur de l'affichage d'une image dans un affichage d'articles en blog */
div.com-content-category-blog__item span.acfup-item {/**/
width: 50%;
float:right;
margin:8px;
}
/*div.com-content-category-blog__item img { span.acfup-item img*/
div.com-content-category-blog__item span.acfup-item img { /**/
object-fit: contain;
vertical-align: top;
}
/*div.com-content-category-blog__item span.acfup-item object{*/
div.com-content-category-blog__item object{
object-fit: contain;
vertical-align: top;
height: 200px;
}
/* mise en page titre blog avec icone */
.item-content h2 {
border-bottom: 2px solid var(--cassiopeia-color-secondary);
margin-left: 20px;
}
/* encadrement des items de menu principaux, pas possible de mettre padding sans sautillement */
.container-header .metismenu > li.level-1.active > a, .container-header .metismenu > li.level-1 > a:hover{
outline:2px solid black;
}
/* encadrement des items de menu principaux quand on se trouve dans un sous-menu (cf discussion forum et note) */
body.view-category.encadre-menu-parent-doc li.item-191 > a, body.encadre-menu-parent-doc li.item-191 > a,
body.view-category.encadre-menu-parent-orga li.item-192 > a, body.encadre-menu-parent-orga li.item-192 > a {
outline: 2px solid black;
}
/* masque le terme inutilisé "détails" */
.article-info-term{
display: none;
}
/* affichage des icones, selon les catégories, sur les pages blog */
.blog-items a[href^="/site-web/media-web/"]::before {
font-family: "Font Awesome 6 Free";
content: "\f2d2";
font-weight: 900;
display: inline-block;
width: 40px;
text-align: center;
margin-left: -40px;
}
.blog-items a[href^="/document/livre/"]::before {
font-family: "Font Awesome 6 Free";
content: "\f02d";
font-weight: 900;
display: inline-block;
width: 40px;
text-align: center;
margin-left: -40px;
}
....
/* ****************************************** BLOG D'ARTICLES, fin ****************************************** */
/* ****************************************** ARTICLES, début ****************************************** */
/* diminution de la taille du titre en haut de la catégorie */
.com-content-category-blog h1{
font-size:1.2rem;
}
/* texte mis à droite de l'image du contenu s'il y a un minimum de 33% */
div.encadre p:before {
content: "";
min-width: 33%;
display: block;
overflow: hidden;
}
/* Img: mise en forme pour éviter d'agrandir les petites images */
/* .com-content-article__body div.encadre { test ok mais peut-être effet de bord */
.com-content-article__body .acfup-item {
float: left;
display: flex;
align-items: center;
min-width: 300px;
/*max-width: 600px; a supprimer si j'enlève .acfup-item */
max-height: 800px;
justify-content: center;
margin: 10px;
}
/* Img: mise en forme (limité la grandeur, texte mis à droite de l'image, marge ) */
/*.com-content-article__body div.encadre > img { test ok mais peut-être effet de bord */
.com-content-article__body .acfup-item img {
/*float:left;
margin: 10px;
width: 600px;*/
height: auto;
max-height: 800px;
object-fit: contain;
}
/*retour du bloc de partage réseaux sociaux sous la photo */
.jssocials-shares{
clear: left;
}
/* affichage en gras d'éléments d'informations d'un champ personnalisé */
.encadre>div>span {
font-weight: 800;
font-size: 1.1em;
/*word-spacing: 3.5rem;*/
}
/* modification affichage si 1 seul élément */
.fields-container > li:only-child {
list-style: none;
}
/* démarrage en haut de la boite à droite de la saisie de la carte CB */
#cf6 .cf-content-wrap{
align-items: start;
}
/* séparateur et encadré .separateur,.encadre{ */
.separateur{
position: relative;
}
/* encadré fiche général */
.encadre{
position: relative;
}
.encadre{
position: relative;
}
.encadre::after{
content: "";
display: block;
position: absolute;
left: 0;
right: 0;
bottom: -0.5rem;
height: 0.5rem;
width:100%;
background-image: radial-gradient(farthest-side at top center, #777, #888, #fff);
background-size: 100%;
background-position: top;
background-repeat: no-repeat;
}
/* encadré */
.encadre>div{
border-radius: 10px;
border: 1px solid var(--cassiopeia-color-secondary);
overflow: hidden;
color: #444;
background: #fff;
padding:1em;
}
/* séparateur */
div.separateur
{
text-align: center;
background-image: radial-gradient(#777, #888, #fff);
background-size: 100% 0.1vw;
background-position: center bottom 0.25em;
background-repeat: no-repeat;
margin: 2em 0 0 0 ;
}
.separateur h2, .separateur h3
{
display: inline-block;
margin: 0;
padding: 0 1em;
background: #fff;
/*font-size: 1.5rem;*/
}
/* décalage titre akeeba engage */
.akengage-title{
padding-top: 10px;
}
/* icone sur url externe */
.com-content-article a[href*="http"]:after {
content: '\f14d';
font-family: "Font Awesome 6 Free";
font-weight: 900;
background-size: 16px 16px;
padding-left: 5px;
}
.com-content-article a[href*="http"] {
text-decoration: none; }
h2.media-web::before {
font-family: "Font Awesome 6 Free";
content: "\f2d2";
font-weight: 900;
display: inline-block;
width: 40px;
text-align: center;
}
h2.livre::before {
font-family: "Font Awesome 6 Free";
content: "\f02d";
font-weight: 900;
display: inline-block;
width: 40px;
text-align: center;
}
...
/* ****************************************** ARTICLES, fin ****************************************** */
/* EN TEST */
/* encadré liste lié aux pro */
.film-presentation{
position: relative;
}
.film-presentation::after{
content: "";
display: block;
position: absolute;
left: 0;
right: 0;
bottom: -0.5rem;
height: 0.5rem;
width:100%;
background-image: radial-gradient(farthest-side at top center, #777, #888, #fff);
background-size: 100%;
background-position: top;
background-repeat: no-repeat;
}
.film-presentation>div{
border-radius: 10px;
border: 1px solid var(--cassiopeia-color-secondary);
overflow: hidden;
color: #444;
background: #fff;
padding:1em;
} |
Partager