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 zigzag = [4, 23, -5, -9, -19, -89]; | |
// should look like [23, -89, 4, -19, -9, -5]; | |
function arrSplit(arr) { | |
var negArr = [], posArr = []; | |
for (var i = 0; i < arr.length; i++) { | |
if(arr[i] > 0) { | |
posArr.push(arr[i]); | |
} else { |
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
<header> | |
<div class="innerContainer"> | |
<h1><?php the_title(); ?></h1> | |
<a class="headerLogo" href="<?php bloginfo( 'url' ); ?>"> | |
<img src="<?php bloginfo( 'stylesheet_directory' ); ?>/images/logo.png" /> | |
</a> | |
<a class="headerSearchIcon fa fa-search" href="#"></a> | |
<php wp_nav_menu( array( | |
'theme_location' => 'primary', | |
'container' => 'nav', |
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
@function starShadow($n) { | |
$val : random(2000) + px random(2000) + px #FFF; | |
@for $i from 2 through $n { | |
$val : $val, random(2000) + px random(2000) + px #FFF; | |
} | |
@return $val; | |
} | |
// number of stars to create | |
$starShadows : starShadow(100); |