/** * CIWIDGET * Auteur : Christophe IMBERTI * Licence Creative commons by-nc-sa */ /* Alignement */ .ciwidget_center{margin-right: auto; margin-left: auto; text-align: center;} .ciwidget_left{float: left; margin-right: 1.5em;} .ciwidget_right{float: right; margin-left: 1.5em;} /* Pour tweet et twitter (responsive) */ .ciwidget_tweet{max-width:100%;} .ciwidget_twitter{max-width:100%;} /* Pour dailymotion et youtube (responsive) */ .ciwidget_embed_video_rwd{position:relative; background-color:#333; max-width:100%;} .ciwidget_embed_video_rwd:after{content:'';display:block;padding-bottom:56.25%;} .ciwidget_embed_video_rwd iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;} /* Pour video, videodistante, streamhls, dailymotion, youtube */ .ciwidget_commun_video{max-width:100%;} .ciwidget_titre{text-align:center;margin-bottom:1rem;max-width:100%;} .ciwidget_titre p, #contenu .texte .ciwidget_titre p { margin: 0; text-align: center; } .ciwidget_titre .spip_doc_titre { font-weight: bold; } .ciwidget_titre .spip_doc_titre .ciwidget_duree { font-weight: normal; } /* Pour le bouton "version texte" */ #contenu .texte .bouton_version_texte { clear: both; text-decoration: none; background-color: #484848; border: 0 none; border-radius: 5px; color: #fff; font-size: 1.2em; margin-right: 0; padding: 5px 20px; } #contenu .texte .bouton_version_texte:hover, #contenu .texte .bouton_version_texte:focus, #contenu .texte .bouton_version_texte:active { background-color: #000; } /* Pour que le bouton "version texte" soit en dessous (dans l'espace prive) */ .ciwidget_bouton_version_texte_wrap{clear:both;margin-bottom:1rem;} #wysiwyg .ciwidget_bouton_version_texte_wrap{text-align:right;} .version_texte{clear:both;margin-bottom:1rem;text-align:left;} /* Ne pas afficher */ .ciwidget_hidden { display:none; } /* Invisible sauf pour les lecteurs d'ecran */ .ciwidget_invisible { display:block; position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; width: 1px; } /* Nettoyeur */ .ciwidget_nettoyeur { clear: both; height: 0; margin: 0; padding: 0; border: 0; line-height: 1px; font-size: 1px; } /* Offscreen */ .ciwidget_offscreen { position: absolute; left: -999em; height: 1%; } /* Display inherit */ .ciwidget_display_inherit { display:inherit; } /* Passage des div en p */ .ciwidget_infographie .ciwidget_doc_legende p, #contenu .texte .ciwidget_infographie .ciwidget_doc_legende p { margin: 0; text-align: center; } .ciwidget_infographie .ciwidget_doc_legende p.spip_doc_titre { font-weight: bold; } .ciwidget_infographie figure { margin-bottom: 1rem; } .ciwidget_graphique p, #contenu .texte .ciwidget_graphique p { margin: 0; } #wysiwyg .ciwidget_graphique_telecharger { margin-bottom: 1rem; } /* Pour chaque type de widget */ [(#VAL|ciwidget_css)]