This file contains 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 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 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
bitwise=true boss=true browser=true debug=true eqeqeq=true eqnull=true es5=true esnext=true expr=true immed=true iterator=true lastsemic=true laxbreak=true laxcomma=true loopfunc=true maxlen=120 multistr=true newcap=true noarg=true onecase=true onevar=true plusplus=true proto=true regexdash=true regexp=true scripturl=true shadow=true smarttabs=true strict=true sub=true supernew=true undef=true validthis=true withstmt=true predef=["window","document"] |
This file contains 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
.monbloc { | |
overflow-y: scroll; | |
height: 300px; | |
width: 300px; | |
border: 1px solid #000; | |
padding: 5px; | |
} | |
p:first-child { | |
margin-top: 0; | |
} |
This file contains 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
<?php | |
# Snippet to include template files from file system | |
# USAGE: [[includeTemplate? &tpl=`mytemplate/template.html`]] | |
if ( !isset($tpl) || $tpl == "") return "Missing Template file!"; | |
$tpl = $base_path . "assets/templates/" . $tpl; | |
ob_start(); | |
include($tpl); | |
return ob_get_clean(); |
This file contains 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
.container { | |
width: 50%; | |
position: relative; | |
padding-bottom: 50%; | |
} | |
.triangle { | |
display: block; | |
position: absolute; | |
left: 0; |
This file contains 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
.monbloc { | |
overflow-y: scroll; | |
height: 300px; | |
width: 300px; | |
border: 1px solid #000; | |
padding: 5px; | |
} | |
p:first-child { | |
margin-top: 0; | |
} |
This file contains 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
/** | |
* Keeping element ratio | |
*/ | |
.container { | |
background: red; | |
width: 100%; | |
padding-bottom: 60%; | |
position: relative; | |
} |
This file contains 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 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
/** | |
* Border-radius rendering | |
*/ | |
body { | |
background-color: #0051a2; | |
} | |
.outer { | |
width: 80%; | |
margin: 40px auto; | |
background: rgba(255,255,255,0.9); |