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
Instructions: | |
Edit the config.xml file to match your site and server. There are clear instructions all the way through the file, but for the basic settings all you need is the server path and domain to your web site and the name of your index file. | |
Upload the files to your server (/sitemap folder) and set up the CRON. | |
Script will create /sitemap.xml file and tell Google, Bing and Yahoo about it. | |
Run from CRON: |
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
/* Overwrites stock transition with CSS3 fade */ | |
.carousel .item { | |
-webkit-transition: opacity 3s; /* Adjust timing */ | |
-moz-transition: opacity 3s; | |
-ms-transition: opacity 3s; | |
-o-transition: opacity 3s; | |
transition: opacity 3s; | |
} | |
.carousel .active.left { | |
left:0;opacity:0;z-index:2; |
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(isset($_GET['submitted']) && $_GET['submitted'] == "y") { | |
// Email the message | |
$head = "MIME-Version: 1.0\r\n"; | |
$head .= "Content-type: text/html; charset=Windows-1251\r\n"; | |
$head .= "From: \r\n"; | |
$to = "somebody@email.com"; | |
$subject =""; | |
$body = $_GET['email_text']; |
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
/// Text Shadow | |
/// @param {Size} $x [2px] - X | |
/// @param {Size} $y [2px] - Y | |
/// @param {Size} $blur [2px] - Blur | |
/// @param {Color} $color [rgba(0,0,0,.4)] - Color | |
@mixin text-shadow($x: 2px, $y: 2px, $blur: 5px, $color: rgba(0,0,0,.4)) { | |
text-shadow: $x $y $blur $color; | |
} |
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
/// Embossing text shadow | |
/// @access public | |
/// @param {Float} $value - Opacity value | |
/// @example scss - Usage | |
/// .foo { | |
/// @include text-shadow(0.5); | |
/// } | |
/// @example css - Result | |
/// .foo { | |
/// text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0; |
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
/// Generates the color white, with, optionally, a set opacity. | |
/// @access public | |
/// @param {Float} $opacity - Opacity | |
/// @example scss - Usage | |
/// .foo { | |
/// border-color: white(0.1); | |
/// } | |
/// @example css - Result | |
/// .foo { | |
/// border-color: rgba(255, 255, 255, 0.1); |
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
/// Generates the color black, with, optionally, a set opacity. | |
/// @access public | |
/// @param {Float} $opacity - Opacity | |
/// @example scss - Usage | |
/// .foo { | |
/// border-color: black(0.1); | |
/// } | |
/// @example css - Result | |
/// .foo { | |
/// border-color: rgba(0, 0, 0, 0.1); |
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
/// Given an opacity value, generates that value as well as a way to display that opacity value in Internet Explorer 8 and 9. | |
/// @access public | |
/// @param {Float} $opacity - Opacity | |
/// @example scss - Usage | |
/// .foo { | |
/// @include opacity(0.5); | |
/// } | |
/// @example css - Result | |
/// .foo { | |
/// opacity: 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
/// Separated border-radius helpers | |
/// @access public | |
/// @param {Length} $top-left-radius - Top left radius | |
/// @param {Length} $top-right-radius - Top right radius | |
/// @param {Length} $bottom-right-radius - Bottom right radius | |
/// @param {Length} $bottom-left-radius - Bottom left radius | |
/// @example scss - Usage | |
/// .foo { | |
/// @include border-radius-separate(1px, 2px, 3px, 4px); | |
/// } |
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 gradient helper | |
/// @access public | |
/// @param {Color} $start-color - Start color | |
/// @param {Color} $end-color - End color | |
/// @param {String} $orientation - Type of gradient, either `vertical`, `horizontal` or `radial` | |
/// @example scss - Usage | |
/// .foo { | |
/// @include background-gradient(red, black, 'vertical'); | |
/// } | |
/// @example css - Result |