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
/** | |
* Font-sizes | |
*/ | |
html, | |
body, | |
table { | |
font-family: "Open Sans", sans-serif; | |
font-size: 16px; | |
} |
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
/** | |
* Spécificité accrue | |
*/ | |
#main h1 { color: rebeccapurple; } | |
#article h1 { color: green; } |
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 | |
$path = '/home/www/7studio/www/assets/stylesheets/'; | |
$cmd = 'find '.$path.' -iname "*.css"'; | |
$out = array(); | |
exec($cmd, $out); | |
echo '<strong>Fichiers CSS explorés</strong>'; | |
echo '<ul>'; | |
foreach($out as $V){ |
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
// | |
// La fonction qui fait tout | |
// | |
function flyOut() { | |
var menuFlyOut = document.getElementById("flyoutaria"), | |
lisFlyOut = menuFlyOut.querySelectorAll("> ul > li"); | |
// | |
// Motif de conception « fly-out » | |
// @note Motif édité par le WAI |
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
/** | |
* Couleurs et variables | |
*/ | |
:root { | |
--ma-teinte: 10; | |
} | |
body { | |
font-family: monospace; | |
} |
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
/** | |
* Fixed and centered flex block | |
*/ | |
main { | |
background: lightgray; | |
display: flex; | |
flex: 1; | |
flex-flow: row nowrap; | |
justify-content: space-around; |
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
/** | |
* Flexbox layout | |
*/ | |
*:not(html) { | |
background: rgba(30, 144, 255, .5); | |
color: white; | |
font-family: sans-serif; | |
font-weight: 700; | |
padding: 1em; | |
text-align:center; |
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
/** | |
* Flexbox layout | |
*/ | |
*:not(html) { | |
background: rgba(30, 144, 255, .5); | |
color: white; | |
font-family: sans-serif; | |
font-weight: 700; | |
padding: 1em; | |
text-align:center; |
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
/** | |
* animations | |
*/ | |
@keyframes descente-1 { | |
from { | |
transform: translate3d( -.5rem, -.5rem, 0 ) rotate( 5deg ); | |
} to { | |
transform: none; | |
} | |
} |