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
$(document).ready(function() { | |
function heightDetect() { | |
$(".main_head").css("height", $(window).height()); | |
} | |
heightDetect(); | |
$(window).resize(function(){ | |
heightDetect(); | |
}); | |
}); |
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
// SASS | |
.loader | |
background: none repeat scroll 0 0 #ffffff | |
bottom: 0 | |
height: 100% | |
left: 0 | |
position: fixed | |
right: 0 | |
top: 0 | |
width: 100% |
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 if ( have_posts() ) : query_posts('p=1'); | |
while (have_posts()) : the_post(); ?> | |
<?php the_title(); ?> | |
<?php the_content(); ?> | |
<?php the_post_thumbnail(array(100, 100)); ?> | |
<?php endwhile; endif; wp_reset_query(); ?> |
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 if ( has_post_thumbnail() ) : ?> | |
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"> | |
<?php the_post_thumbnail(); ?> | |
</a> | |
<?php endif; ?> |
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
/* SASS version */ | |
/* Negative indent */ | |
.parent | |
width: 100% | |
height: 100% | |
position: absolute | |
top: 0 | |
left: 0 | |
overflow: auto | |
.block |
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
$.fn.iconHover = function () { | |
return $(this).hover( | |
function(){ | |
$(this).stop().fadeTo("fast", 1) | |
}, | |
function(){ | |
$(this).stop().fadeTo("slow", 0.5) | |
} | |
); | |
} |
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
.class { | |
min-height: 620px; | |
background-image: url(); | |
background-position: center center; | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
-webkit-background-size: cover; | |
background-size: cover; | |
} |
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 menu = [ | |
['Main', ['index.thml']], | |
['Aboute', ['aboute.thml']], | |
['Catalog', [ | |
['phone', 'phone.html'], | |
['computers', 'computers.html'], | |
['WTF', 'WTF.html'] | |
] | |
], | |
['Contact', ['contact.thml']] |
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
// SASS | |
.ripple | |
width: 0 | |
height: 0 | |
border-radius: 50% | |
background: rgba(255, 255, 255, 0.4) | |
transform: scale(0) | |
position: absolute | |
opacity: 1 |
OlderNewer