2013-07-29 15:29:57 +00:00
|
|
|
// Global Foundation Settings
|
|
|
|
@import "foundationSettings";
|
|
|
|
|
|
|
|
// Comment out this import if you don't want to use normalize
|
|
|
|
@import "normalize";
|
|
|
|
|
|
|
|
// Foundation Imports
|
|
|
|
@import "foundation/components/global"; // *always required
|
|
|
|
@import "foundation/components/grid";
|
|
|
|
// @import "foundation/components/visibility";
|
|
|
|
// @import "foundation/components/block-grid";
|
|
|
|
@import "foundation/components/type";
|
2013-07-29 20:57:23 +00:00
|
|
|
// @import "foundation/components/buttons";
|
2013-07-29 15:29:57 +00:00
|
|
|
// @import "foundation/components/forms"; // *requires components/buttons
|
|
|
|
// @import "foundation/components/custom-forms"; // *requires components/buttons, components/forms
|
|
|
|
// @import "foundation/components/button-groups"; // *requires components/buttons
|
2013-07-29 20:57:23 +00:00
|
|
|
// @import "foundation/components/dropdown-buttons"; // *requires components/buttons
|
2013-07-29 15:29:57 +00:00
|
|
|
// @import "foundation/components/split-buttons"; // *requires components/buttons
|
|
|
|
// @import "foundation/components/flex-video";
|
|
|
|
// @import "foundation/components/section";
|
|
|
|
@import "foundation/components/top-bar"; // *requires components/grid
|
|
|
|
// @import "foundation/components/orbit";
|
|
|
|
// @import "foundation/components/reveal";
|
|
|
|
// @import "foundation/components/joyride";
|
|
|
|
// @import "foundation/components/clearing";
|
|
|
|
// @import "foundation/components/alert-boxes";
|
|
|
|
// @import "foundation/components/breadcrumbs";
|
|
|
|
@import "foundation/components/keystrokes";
|
|
|
|
@import "foundation/components/labels";
|
|
|
|
@import "foundation/components/inline-lists";
|
|
|
|
@import "foundation/components/pagination";
|
2013-07-29 20:57:23 +00:00
|
|
|
// @import "foundation/components/panels";
|
2013-07-29 15:29:57 +00:00
|
|
|
// @import "foundation/components/pricing-tables";
|
|
|
|
// @import "foundation/components/progress-bars";
|
|
|
|
// @import "foundation/components/side-nav";
|
|
|
|
// @import "foundation/components/sub-nav";
|
|
|
|
// @import "foundation/components/switch";
|
|
|
|
// @import "foundation/components/magellan";
|
|
|
|
@import "foundation/components/tables";
|
|
|
|
@import "foundation/components/thumbs";
|
|
|
|
// @import "foundation/components/tooltips";
|
|
|
|
// @import "foundation/components/dropdown";
|
|
|
|
|
|
|
|
// VoltaicIdeas Imports
|
|
|
|
$set: 'pelican-red';
|
|
|
|
@import "voltaicideas/pelican-red/icons"; // icon fonts
|
|
|
|
@import "voltaicideas/pelican-red/_pygments.scss"; // pygments css
|
|
|
|
@import "voltaicideas/pelican-red/pygments-github"; // pygments style css
|
|
|
|
|
|
|
|
@import "compass/css3/box-shadow";
|
|
|
|
@import "compass/css3/border-radius";
|
|
|
|
@import "compass/css3/text-shadow";
|
|
|
|
@import "compass/css3/images";
|
|
|
|
|
|
|
|
html{ height: 100%; }
|
|
|
|
body{ height: 100%; }
|
|
|
|
|
|
|
|
//// Topbar fixes and media queries
|
|
|
|
|
|
|
|
.top-bar-section ul li.hover > a { background: $topbar-link-bg-hover; color: $topbar-link-color-hover; }
|
|
|
|
|
|
|
|
@media #{$topbar-media-query} {
|
|
|
|
#nav{
|
|
|
|
@include box-shadow( 0 2px 2px rgba( 50, 50, 50, 0.4 ) );
|
|
|
|
.top-bar-section {
|
|
|
|
.dropdown{
|
|
|
|
@include box-shadow( 0 2px 2px rgba( 50, 50, 50, 0.4 ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//// Area Styles
|
|
|
|
body{ background-color: #fff; }
|
|
|
|
|
|
|
|
#nav {
|
|
|
|
background-color: $topbar-bg;
|
|
|
|
margin-bottom: emCalc(10px);
|
|
|
|
.top-bar{ margin-bottom: 0; }
|
|
|
|
}
|
|
|
|
|
|
|
|
#main section, #mainAside aside {
|
|
|
|
background-color: #fff;
|
|
|
|
@include box-shadow(0 2px 5px rgba(0,0,0,0.2));
|
|
|
|
margin-bottom: emCalc(10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main section {
|
|
|
|
padding: emCalc(10px) emCalc(7px) emCalc(7px) emCalc(12px);
|
|
|
|
header {
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: emCalc(7px);
|
|
|
|
h1, h2, h3 { margin-top: 0; margin-bottom: 0; }
|
|
|
|
border-bottom: 1px solid darken(#fff, 5%);
|
|
|
|
.print_header{ display: none; }
|
2013-07-29 20:57:23 +00:00
|
|
|
a.th{
|
|
|
|
display: block;
|
|
|
|
margin-left: emCalc(10px);
|
|
|
|
margin-right: emCalc(10px);
|
|
|
|
margin-bottom: emCalc(10px);
|
|
|
|
text-align: center;
|
|
|
|
background-color: #000;
|
|
|
|
img {
|
|
|
|
max-height: 250px;
|
|
|
|
}
|
2013-07-30 19:22:49 +00:00
|
|
|
}
|
2013-07-29 20:57:23 +00:00
|
|
|
}
|
|
|
|
article {
|
|
|
|
overflow: auto;
|
|
|
|
a.th {
|
|
|
|
display: block;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2013-07-30 19:22:49 +00:00
|
|
|
margin-top: emCalc(4px);
|
|
|
|
margin-bottom: emCalc(4px);
|
|
|
|
}
|
|
|
|
.article-details {
|
|
|
|
font-size: emCalc(14px);
|
|
|
|
color: darken( $secondary-color, 15%);
|
|
|
|
border-bottom: 1px solid darken( #fff, 5% );
|
|
|
|
margin-bottom: emCalc(7px);
|
|
|
|
padding-bottom: emCalc(5px);
|
|
|
|
.published, .modified, .category{
|
|
|
|
line-height: 2em;
|
|
|
|
margin-left: emCalc(5px);
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
.tag-list {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
li a{ line-height: 1.5em; padding: emCalc(4px) emCalc(7px); }
|
|
|
|
}
|
2013-07-29 20:57:23 +00:00
|
|
|
}
|
2013-07-29 15:29:57 +00:00
|
|
|
}
|
|
|
|
ul.item-list {
|
|
|
|
@extend .no-bullet;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: 0;
|
2013-07-29 20:57:23 +00:00
|
|
|
li .article, li .author {
|
2013-07-29 15:29:57 +00:00
|
|
|
border: 1px solid darken(#fff, 5%);
|
|
|
|
padding: emCalc(7px);
|
|
|
|
margin: emCalc(7px);
|
|
|
|
overflow: hidden;
|
|
|
|
clear: both;
|
|
|
|
&:after { clear: both }
|
|
|
|
@include border-radius($global-radius);
|
2013-07-30 19:22:49 +00:00
|
|
|
@include background-image(linear-gradient(top, #fff, darken(#fff, 2%)));
|
2013-07-29 15:29:57 +00:00
|
|
|
.summary { font-size: 0.9em; padding-bottom: emCalc(7px); }
|
|
|
|
footer{
|
|
|
|
border-top: 1px solid darken(#fff, 5%);
|
|
|
|
ul { margin-left: 0; }
|
|
|
|
font-size: 0.8em;
|
|
|
|
color: darken($secondary-color, 10%);
|
|
|
|
abbr{
|
|
|
|
color: darken($secondary-color, 10%);
|
|
|
|
}
|
|
|
|
a{ color: lighten($primary-color, 5%); }
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
.tag-list{
|
|
|
|
font-size: 0.7em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2013-07-30 19:22:49 +00:00
|
|
|
li a{ line-height: 1.5em; padding: emCalc(4px) emCalc(7px); }
|
2013-07-29 15:29:57 +00:00
|
|
|
}
|
|
|
|
span{ font-size: 0.8em; }
|
|
|
|
}
|
|
|
|
}
|
2013-07-29 20:57:23 +00:00
|
|
|
li .author .vcard {
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid darken(#fff, 5%);
|
|
|
|
display: block;
|
|
|
|
margin-bottom: emCalc(7px);
|
|
|
|
p:last-child { margin-bottom: emCalc(5px); }
|
2013-07-30 19:22:49 +00:00
|
|
|
img.photo{ display: none; }
|
2013-07-29 20:57:23 +00:00
|
|
|
}
|
2013-07-29 15:29:57 +00:00
|
|
|
}
|
2013-07-30 19:22:49 +00:00
|
|
|
ul.item-list.featured li .author {
|
|
|
|
@include box-shadow(none);
|
|
|
|
@include background-image(none);
|
|
|
|
border: none;
|
|
|
|
}
|
2013-07-29 15:29:57 +00:00
|
|
|
dl.item-list {
|
|
|
|
dt{ border-top: 1px solid darken(#fff, 5%); }
|
|
|
|
dt:first-child{ border: none; }
|
|
|
|
dd{ margin-bottom: emCalc(8px); }
|
|
|
|
}
|
|
|
|
.page_footer, .article_footer{
|
2013-07-30 19:22:49 +00:00
|
|
|
font-size: emCalc(14px);
|
2013-07-29 15:29:57 +00:00
|
|
|
border-top: 1px solid darken(#fff, 5%);
|
|
|
|
padding-top: emCalc(5px);
|
2013-07-29 20:57:23 +00:00
|
|
|
margin-top: emCalc(5px);
|
2013-07-29 15:29:57 +00:00
|
|
|
.no-bullet{ margin-left: 0; }
|
2013-07-30 19:22:49 +00:00
|
|
|
ul li {
|
|
|
|
margin-bottom: emCalc(7px);
|
|
|
|
&:last-child{ margin-bottom: (4px); }
|
|
|
|
}
|
|
|
|
.vcard.brief {
|
|
|
|
li { margin-bottom: 0; }
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2013-07-29 15:29:57 +00:00
|
|
|
#disqus_thread {
|
2013-07-29 16:01:38 +00:00
|
|
|
border-top: 1px solid darken(#fff, 5%);
|
|
|
|
padding-top: emCalc(10px);
|
2013-07-29 15:29:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#mainAside {
|
|
|
|
font-size: 0.8em;
|
|
|
|
aside {
|
|
|
|
padding: emCalc(10px) emCalc(7px);
|
|
|
|
}
|
|
|
|
}
|
2013-07-30 19:22:49 +00:00
|
|
|
#blogRoll, .no-margin {
|
2013-07-29 15:29:57 +00:00
|
|
|
margin-left: 0;
|
|
|
|
margin-bottom: 0;
|
2013-07-30 19:22:49 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
#blogRoll{
|
2013-07-29 15:29:57 +00:00
|
|
|
.external {
|
|
|
|
&:after{
|
|
|
|
font-family: 'pelican-red';
|
|
|
|
content: " ";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#mainFooter {
|
|
|
|
text-align: right;
|
|
|
|
margin-right: emCalc(10px);
|
|
|
|
margin-top: emCalc(10px);
|
|
|
|
margin-bottom: emCalc(7px);
|
|
|
|
color: #888;
|
|
|
|
font-size: 0.8em;
|
|
|
|
.print_footer{ display: none; }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// Component Styles
|
|
|
|
.social-area {
|
|
|
|
li a:not(.button) {
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Google Search
|
|
|
|
.gsc-control-cse{ padding: 0 !important;
|
|
|
|
.gsc-input{ padding: 0 !important; }
|
|
|
|
.gsc-search-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-list {
|
|
|
|
@include inline-list;
|
2013-07-30 19:22:49 +00:00
|
|
|
margin-left: 0;
|
2013-07-29 15:29:57 +00:00
|
|
|
li {
|
|
|
|
@include label(0, emCalc(16px), $secondary-color, $global-radius);
|
2013-07-30 19:22:49 +00:00
|
|
|
margin: emCalc(4px);
|
2013-07-29 15:29:57 +00:00
|
|
|
a {
|
|
|
|
padding: emCalc(7px) emCalc(7px);
|
|
|
|
color: #000;
|
|
|
|
span {
|
|
|
|
@include keystroke(lighten($secondary-color, 5%));
|
|
|
|
margin-left: emCalc(7px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover{
|
|
|
|
background-color: $primary-color;
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
span {
|
|
|
|
border-color: darken($primary-color, 4%);
|
|
|
|
background-color: lighten($primary-color, 7%);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-07-30 19:22:49 +00:00
|
|
|
ul.pagination{
|
|
|
|
li.current a{
|
|
|
|
background: desaturate(lighten($primary-color, 5%), 50%);
|
|
|
|
}
|
|
|
|
}
|
2013-07-29 15:29:57 +00:00
|
|
|
|
|
|
|
@media #{$small} {
|
|
|
|
}
|
|
|
|
|
|
|
|
//// Print Visibility styling
|
|
|
|
@media print{
|
|
|
|
body { padding-top: 0 !important; }
|
|
|
|
.top-bar, #mainAside {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#main section header .print_header, #mainFooter .print_footer{ display: block; }
|
|
|
|
#main {
|
|
|
|
.codehilitewrapper{ page-break-inside: avoid; }
|
|
|
|
pre { border: none; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|