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
| How to add a widget area to your theme. | |
| <div id="sidebar"> | |
| <ul> | |
| <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar()) : ?> | |
| <li><!-- stuff shown here in case no widgets active --></li> | |
| <?php endif; ?> | |
| </ul> | |
| </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
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title></title> | |
| <!-- Stylesheets --> | |
| <link rel="stylesheet" type="text/css" href="style/reset.css"> | |
| <link rel="stylesheet" type="text/css" href="style/style.css" media="screen"> | |
| <!-- JavaScript --> |
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
| <!DOCTYPE html> | |
| <html lang=en> | |
| <head> | |
| <title></title> | |
| <!-- CSS --> | |
| <link rel="stylesheet" type="text/css" href="css/style.css" /> | |
| <!--[if IE]> | |
| <link rel="stylesheet" href="css/ie.css" type="text/css" media="screen, projection" /> |
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
| /*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
| /* ========================================================================== | |
| HTML5 display definitions | |
| ========================================================================== */ | |
| /** | |
| * Correct `block` display not defined in IE 8/9. | |
| */ |
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
| .info, .success, .warning, .error, .validation { | |
| border: 1px solid; | |
| margin: 10px 0px; | |
| padding:15px 10px 15px 50px; | |
| background-repeat: no-repeat; | |
| background-position: 10px center; | |
| } | |
| .info { | |
| color: #00529B; | |
| background-color: #BDE5F8; |
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
| /* | |
| * Author: David Walsh | |
| * Source: http://css-tricks.com/redesigning-with-sass/ | |
| */ | |
| @mixin vendorize($property, $value) { | |
| -webkit-#{$property}: $value; | |
| -moz-#{$property}: $value; | |
| -ms-#{$property}: $value; | |
| -o-#{$property}: $value; |
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
| javascript:(function() {var _p='http://squizlabs.github.com/HTML_CodeSniffer/build/';var _i=function(s,cb) {var sc=document.createElement('script');sc.onload = function() {sc.onload = null;sc.onreadystatechange = null;cb.call(this);};sc.onreadystatechange = function(){if(/^(complete|loaded)$/.test(this.readyState) === true){sc.onreadystatechange = null;sc.onload();}};sc.src=s;if (document.head) {document.head.appendChild(sc);} else {document.getElementsByTagName('head')[0].appendChild(sc);}}; var options={path:_p};_i(_p+'HTMLCS.js',function(){HTMLCSAuditor.run('WCAG2AA',null,options);});})(); |
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
| /** | |
| * Author: <AUTHOR> | |
| * Name: <FILENAME> | |
| * Description: <DESCRIPTION> | |
| * | |
| * ============================================ | |
| * | |
| * CONTENT: | |
| * -------------------------------------------- | |
| * CH01 - Resets |
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
| /** | |
| * Replace `$search` with `$replace` in `$string` | |
| * @author Hugo Giraudel | |
| * @param {String} $string - Initial string | |
| * @param {String} $search - Substring to replace | |
| * @param {String} $replace ('') - New value | |
| * @return {String} - Updated string | |
| */ | |
| @function str-replace($string, $search, $replace: '') { |
OlderNewer