This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .bloc { | |
| padding: 25px; | |
| border: 1px solid #ccc; | |
| vertical-align: middle; | |
| } | |
| .button { | |
| display: inline-block; | |
| background-color: #ed2345; | |
| border: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .bloc { | |
| padding: 30px; | |
| border: 1px solid #ccc; | |
| vertical-align: midle; | |
| } | |
| .button { | |
| vertical-align: middle; | |
| display: inline-block; | |
| background-color: #ed2345; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .domino_page_bouton, | |
| .domino_page_bouton:visited { | |
| display: inline-block; | |
| color: #fff; | |
| text-decoration: none; | |
| text-align: center; | |
| font-size: 18px; | |
| line-height: 20px; | |
| /* Add and remove font-family to see the bug. This happen only in Google Chrome */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Exemple de data-URI | |
| */ | |
| body { | |
| background-color: #f1f1f1; | |
| } | |
| strong { | |
| display: block; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Centrer une bannière en CSS avec des côtés fixes et des blocs étirables | |
| * | |
| * @note: De manière plus moderne, le display table et l'utilisation de border-image pourraient aussi être des solutions possiblement plus propre.* | |
| */ | |
| #banniere { | |
| position: relative; | |
| height: 100px; /* pour donner une taille */ | |
| } | |
| #banniere > div { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Centrer une bannière en CSS avec des côtés fixes et des blocs étirables | |
| * | |
| * @note: De manière plus moderne, le display table et l'utilisation de border-image pourraient aussi être des solutions possiblement plus propre.* | |
| */ | |
| #banniere { | |
| position: relative; | |
| height: 100px; /* pour donner une taille */ | |
| } | |
| #banniere > div { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ol { | |
| counter-reset: section; /* on instancie un compteur */ | |
| padding: 0; | |
| /* style */ | |
| background-color: #120517 | |
| } | |
| ol li:before { | |
| display: block; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| li { | |
| float: left; | |
| list-style-position: inside; | |
| margin-left: 15px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| p { | |
| display: list-item; | |
| list-style-position:inside; | |
| color: red; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getDefaultLanguage() { | |
| if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) | |
| return parseDefaultLanguage($_SERVER["HTTP_ACCEPT_LANGUAGE"]); | |
| else | |
| return parseDefaultLanguage(NULL); | |
| } | |
| function parseDefaultLanguage($http_accept, $deflang = "fr") { | |
| if( isset($http_accept) && strlen($http_accept) > 1 ) { | |
| // Split possible languages into array |