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
<meta property="og:title" content="Facebook Open Graph META Tags"/> | |
<meta property="og:image" content="http://davidwalsh.name/wp-content/themes/klass/img/facebooklogo.png"/> | |
<meta property="og:site_name" content="David Walsh Blog"/> | |
<meta property="og:description" content="Facebook's Open Graph protocol allows for web developers to turn their websites into Facebook "graph" objects, allowing a certain level of customization over how information is carried over from a non-Facebook website to Facebook when a page is 'recommended', 'liked', or just generally shared."/> | |
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
/* Document level adjustments for rems */ | |
html { | |
font-size: 18px; | |
} | |
@media (max-width: 900px) { | |
html { font-size: 15px; } | |
} | |
@media (max-width: 400px) { |
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
$('html, body').animate({ | |
scrollTop: $("#elementID").offset().top | |
}, 2000); |
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
/* add body class */ | |
var loc = window.location.pathname.match(/^\/?(\w+)\b/); | |
if(loc) $(document.body).addClass(loc[1].toLowerCase()); |
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
*:active { | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
-moz-tap-highlight-color: rgba(0,0,0,0); | |
tap-highlight-color: rgba(0,0,0,0); | |
} |