/** * 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%;} /* Pour que le bouton "version texte" soit en dessous (dans l'espace prive) */ .ciwidget_bouton_version_texte_wrap{clear:both;margin-bottom:1rem;} .version_texte{clear:both;margin-bottom:1rem;text-align:left;} /* Invisible sauf pour les lecteurs d'ecran */ .ciwidget_hidden { 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%; } /* Pour chaque type de widget */ [(#VAL|ciwidget_css)]