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
.feedEkList{ | |
color: #918d8a; | |
} | |
.itemTitle { | |
width: 300px; | |
height: 25px; | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} |
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
var f_page = "smashmag"; // the page name for your fan page, e.g. the 'smashmag' part of http://facebook.com/smashmag | |
var t_page = "smashingmag"; // the account name for your main twitter account | |
function add_commas(number) { | |
if (number.length > 3) { | |
var mod = number.length % 3; | |
var output = (mod > 0 ? (number.substring(0,mod)) : ''); | |
for (i=0 ; i < Math.floor(number.length / 3); i++) { | |
if ((mod == 0) && (i == 0)) { | |
output += number.substring(mod+ 3 * i, mod + 3 * i + 3); |
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
$(window).load(function() { | |
$('img').each(function() { | |
if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) { | |
// image was broken, replace with your new image | |
this.src = 'http://www.tranism.com/weblog/images/broken_ipod.gif'; | |
} | |
}); | |
}); |
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
$f($("#vimeo_player iframe")[currentVideo].id).api("play"); |
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
background: #e8e8ea; | |
background-image: -moz-linear-gradient(top, #f6f6f7, #e8e8ea); | |
background-image: -webkit-gradient(linear, center top, center bottom, from(#f6f6f7), to(#e8e8ea)); | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f7', endColorstr='#e8e8ea'); | |
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f7', endColorstr='#e8e8ea')"; | |
background-image: linear-gradient(top, #f6f6f7, #e8e8ea); |
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: 5px; | |
-moz-border-radius: 5px; | |
-webkit-border-radius: 5px; |
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
/*------------------------------------------------- | |
LAYOUT: GENERAL | |
Major layout defintions should be prefixed with a | |
letter "l-" | |
-------------------------------------------------*/ |
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
/* ----------------------------------------------- | |
Version: 0.1 [DD MM YY] | |
SMACSS [Scalable Modular Architecture for CSS] | |
Reference: http://smacss.com/ | |
CATEGORIES: | |
1. Master - Default elements style redefinitions | |
2. Layout - Stacking/Placement of elements | |
3. Modules - Module wise style definitions |
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
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
if (typeof jQuery == 'undefined') { | |
document.write(unescape("%3Cscript src='/scripts/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E")); | |
} | |
</script> |
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
::selection { | |
background: #FE57A1; | |
color: white; | |
text-shadow: none; | |
} |