Skip to content

Instantly share code, notes, and snippets.

sassinack

Block or report user

Report or block sassinack

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View states.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="$1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>$2</title>
<link rel="stylesheet" href="css/main.css">
</head>
View style.css
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.075), inset 0 1px 0 rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.1);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
@sassinack
sassinack / style.css
Created Jan 9, 2013
CSS: Border Radius
View style.css
border-radius: 4px;
-moz-border-radius: 4px;
@sassinack
sassinack / style.css
Created Jan 9, 2013
CSS & HTML: Tab styled list
View style.css
.menu {
display: block;
clear: both;
position: absolute;
font-size: 12px;
}
.menu li {
float: left;
border: 1px solid #DDD;
@sassinack
sassinack / functions.php
Created Jan 9, 2013
PHP: Genesis: Custom Page Title
View functions.php
// Custom Page Title Area
// Register Page Title Sidebar
genesis_register_sidebar( array(
'id' => 'page-title',
'name' => __( 'Page Title', 'sf-edd' ),
'description' => __( 'This is the page title section.', 'sf-edd' ),
) );
// Display Custom Page Sidebar
/** Add the page title section */
@sassinack
sassinack / functions.php
Created Jan 8, 2013
PHP: Genesis: Register Genesis Sidebar
View functions.php
genesis_register_sidebar(array(
'name'=>'Home Featured Text',
'description' => 'This is centered below the slider, place your favorite testimonial or mission statement here.',
'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>',
'before_title'=>'<h4 class="widgettitle">','after_title'=>'</h4>'
));
@sassinack
sassinack / functions.php
Created Jan 8, 2013
PHP: functions: register and display sidebar
View functions.php
register_sidebar( array(
'id' => 'fixed-tab',
'name' => 'Fixed Tab',
'description' => 'Place fixed tab code here.',
'before_widget' => '<div id="fixed-chat" class="">',
'after_widget' => '</div>',
) );
@sassinack
sassinack / style.css
Created Dec 27, 2012
CSS: Responsive Chat Tab
View style.css
.fixed-chat-tab {
background: rgba(52, 54, 66, .85);
display: block;
position: fixed;
bottom: 0px;
height: 60px;
width: 100%;
}
#fixed-chat {
@sassinack
sassinack / style.css
Created Dec 27, 2012
Genesis:Genesis Slider: CSS
View style.css
/* Slider Styles for Genesis Responsive Slider
------------------------------------------------------------ */
.slider li {
list-style: none;
}
.slider {
position: relative;
}
@sassinack
sassinack / style.css
Created Dec 27, 2012
Genesis:CSS: inner shadow below nav
View style.css
#inner {
margin: 0 auto;
overflow: hidden;
padding: 20px;
background-image: url(images/shadow-top.png);
background-repeat: no-repeat;
background-position: top center;
border-top: 1px solid #cbcbcb;
}
You can’t perform that action at this time.