2013-07-13 07:17:49 +00:00
|
|
|
// Global Foundation Settings
|
|
|
|
@import "foundationSettings";
|
2013-05-28 02:16:02 +00:00
|
|
|
|
2013-07-13 07:17:49 +00:00
|
|
|
// Comment out this import if you don't want to use normalize
|
|
|
|
@import "normalize";
|
2013-05-28 02:16:02 +00:00
|
|
|
|
2013-07-13 07:17:49 +00:00
|
|
|
// Foundation Imports
|
|
|
|
@import "foundation/components/global"; // *always required
|
|
|
|
@import "foundation/components/grid";
|
2013-05-28 02:16:02 +00:00
|
|
|
// @import "foundation/components/visibility";
|
|
|
|
// @import "foundation/components/block-grid";
|
2013-07-13 07:17:49 +00:00
|
|
|
@import "foundation/components/type";
|
2013-07-29 20:09:35 +00:00
|
|
|
// @import "foundation/components/buttons";
|
2013-05-28 02:16:02 +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:09:35 +00:00
|
|
|
// @import "foundation/components/dropdown-buttons"; // *requires components/buttons
|
2013-05-28 02:16:02 +00:00
|
|
|
// @import "foundation/components/split-buttons"; // *requires components/buttons
|
|
|
|
// @import "foundation/components/flex-video";
|
|
|
|
// @import "foundation/components/section";
|
2013-07-13 07:17:49 +00:00
|
|
|
@import "foundation/components/top-bar"; // *requires components/grid
|
2013-05-28 02:16:02 +00:00
|
|
|
// @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";
|
2013-07-28 09:43:18 +00:00
|
|
|
@import "foundation/components/keystrokes";
|
|
|
|
@import "foundation/components/labels";
|
2013-07-13 07:17:49 +00:00
|
|
|
@import "foundation/components/inline-lists";
|
2013-07-29 20:09:35 +00:00
|
|
|
@import "foundation/components/pagination";
|
|
|
|
// @import "foundation/components/panels";
|
2013-05-28 02:16:02 +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";
|
2013-07-13 07:17:49 +00:00
|
|
|
@import "foundation/components/tables";
|
2013-07-29 09:53:34 +00:00
|
|
|
@import "foundation/components/thumbs";
|
2013-05-28 02:16:02 +00:00
|
|
|
// @import "foundation/components/tooltips";
|
|
|
|
// @import "foundation/components/dropdown";
|
|
|
|
|
2013-07-13 07:17:49 +00:00
|
|
|
// VoltaicIdeas Imports
|
|
|
|
$set: 'pelican-red';
|
|
|
|
@import "voltaicideas/pelican-red/icons"; // icon fonts
|
2013-07-29 09:53:34 +00:00
|
|
|
@import "voltaicideas/pelican-red/_pygments.scss"; // pygments css
|
|
|
|
@import "voltaicideas/pelican-red/pygments-github"; // pygments style css
|
2013-05-28 02:16:02 +00:00
|
|
|
|
2013-07-13 07:17:49 +00:00
|
|
|
@import "compass/css3/box-shadow";
|
|
|
|
@import "compass/css3/border-radius";
|
|
|
|
@import "compass/css3/text-shadow";
|
2013-07-29 09:53:34 +00:00
|
|
|
@import "compass/css3/images";
|
2013-07-13 07:17:49 +00:00
|
|
|
|
|
|
|
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; }
|
2013-07-28 09:43:18 +00:00
|
|
|
|
2013-07-13 07:17:49 +00:00
|
|
|
@media #{$topbar-media-query} {
|
2013-07-28 09:43:18 +00:00
|
|
|
#nav{
|
2013-07-13 07:17:49 +00:00
|
|
|
@include box-shadow( 0 2px 2px rgba( 50, 50, 50, 0.4 ) );
|
2013-07-28 09:43:18 +00:00
|
|
|
.top-bar-section {
|
|
|
|
.dropdown{
|
|
|
|
@include box-shadow( 0 2px 2px rgba( 50, 50, 50, 0.4 ) );
|
|
|
|
}
|
2013-07-13 07:17:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-28 09:43:18 +00:00
|
|
|
//// 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));
|
2013-07-29 09:53:34 +00:00
|
|
|
margin-bottom: emCalc(10px);
|
2013-07-28 09:43:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#main section {
|
|
|
|
padding: emCalc(10px) emCalc(7px) emCalc(7px) emCalc(12px);
|
|
|
|
header {
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: emCalc(7px);
|
2013-07-29 09:53:34 +00:00
|
|
|
h1, h2, h3 { margin-top: 0; margin-bottom: 0; }
|
2013-07-28 09:43:18 +00:00
|
|
|
border-bottom: 1px solid darken(#fff, 5%);
|
2013-07-29 20:09:35 +00:00
|
|
|
.print_header{ display: none; }
|
|
|
|
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 18:44:31 +00:00
|
|
|
}
|
2013-07-29 20:09:35 +00:00
|
|
|
}
|
|
|
|
article {
|
|
|
|
overflow: auto;
|
|
|
|
a.th {
|
|
|
|
display: block;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2013-07-30 18:44:31 +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:09:35 +00:00
|
|
|
}
|
2013-07-13 07:17:49 +00:00
|
|
|
}
|
2013-07-29 20:09:35 +00:00
|
|
|
ul.item-list {
|
2013-07-29 09:53:34 +00:00
|
|
|
@extend .no-bullet;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: 0;
|
2013-07-29 20:09:35 +00:00
|
|
|
li .article, li .author {
|
2013-07-29 09:53:34 +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 18:44:31 +00:00
|
|
|
@include background-image(linear-gradient(top, #fff, darken(#fff, 2%)));
|
2013-07-29 09:53:34 +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 18:44:31 +00:00
|
|
|
li a{ line-height: 1.5em; padding: emCalc(4px) emCalc(7px); }
|
2013-07-29 09:53:34 +00:00
|
|
|
}
|
|
|
|
span{ font-size: 0.8em; }
|
|
|
|
}
|
|
|
|
}
|
2013-07-29 20:09:35 +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 18:44:31 +00:00
|
|
|
img.photo{ display: none; }
|
2013-07-29 20:09:35 +00:00
|
|
|
}
|
2013-07-29 09:53:34 +00:00
|
|
|
}
|
2013-07-30 18:44:31 +00:00
|
|
|
ul.item-list.featured li .author {
|
|
|
|
@include box-shadow(none);
|
|
|
|
@include background-image(none);
|
|
|
|
border: none;
|
|
|
|
}
|
2013-07-29 20:09:35 +00:00
|
|
|
dl.item-list {
|
2013-07-29 09:53:34 +00:00
|
|
|
dt{ border-top: 1px solid darken(#fff, 5%); }
|
|
|
|
dt:first-child{ border: none; }
|
|
|
|
dd{ margin-bottom: emCalc(8px); }
|
|
|
|
}
|
2013-07-29 20:09:35 +00:00
|
|
|
.page_footer, .article_footer{
|
2013-07-30 18:44:31 +00:00
|
|
|
font-size: emCalc(14px);
|
2013-07-29 20:09:35 +00:00
|
|
|
border-top: 1px solid darken(#fff, 5%);
|
|
|
|
padding-top: emCalc(5px);
|
|
|
|
margin-top: emCalc(5px);
|
|
|
|
.no-bullet{ margin-left: 0; }
|
2013-07-30 18:44:31 +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 20:09:35 +00:00
|
|
|
#disqus_thread {
|
|
|
|
border-top: 1px solid darken(#fff, 5%);
|
|
|
|
padding-top: emCalc(10px);
|
|
|
|
}
|
|
|
|
}
|
2013-07-13 07:17:49 +00:00
|
|
|
}
|
2013-07-28 09:43:18 +00:00
|
|
|
|
|
|
|
#mainAside {
|
2013-07-13 07:17:49 +00:00
|
|
|
font-size: 0.8em;
|
2013-07-28 09:43:18 +00:00
|
|
|
aside {
|
|
|
|
padding: emCalc(10px) emCalc(7px);
|
2013-07-13 07:17:49 +00:00
|
|
|
}
|
|
|
|
}
|
2013-07-30 18:44:31 +00:00
|
|
|
#blogRoll, .no-margin {
|
2013-07-28 09:43:18 +00:00
|
|
|
margin-left: 0;
|
2013-07-29 20:09:35 +00:00
|
|
|
margin-bottom: 0;
|
2013-07-30 18:44:31 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
#blogRoll{
|
2013-07-29 20:09:35 +00:00
|
|
|
.external {
|
|
|
|
&:after{
|
|
|
|
font-family: 'pelican-red';
|
|
|
|
content: " ";
|
|
|
|
}
|
|
|
|
}
|
2013-07-28 09:43:18 +00:00
|
|
|
}
|
2013-07-13 07:17:49 +00:00
|
|
|
|
2013-07-28 09:43:18 +00:00
|
|
|
#mainFooter {
|
2013-07-29 09:53:34 +00:00
|
|
|
text-align: right;
|
|
|
|
margin-right: emCalc(10px);
|
2013-07-28 09:43:18 +00:00
|
|
|
margin-top: emCalc(10px);
|
2013-07-29 09:53:34 +00:00
|
|
|
margin-bottom: emCalc(7px);
|
2013-07-28 09:43:18 +00:00
|
|
|
color: #888;
|
|
|
|
font-size: 0.8em;
|
2013-07-29 20:09:35 +00:00
|
|
|
.print_footer{ display: none; }
|
2013-07-28 09:43:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//// Component Styles
|
|
|
|
.social-area {
|
|
|
|
li a:not(.button) {
|
|
|
|
padding: 0 10px;
|
2013-07-13 07:17:49 +00:00
|
|
|
}
|
2013-07-28 09:43:18 +00:00
|
|
|
}
|
2013-07-29 09:53:34 +00:00
|
|
|
// Google Search
|
|
|
|
.gsc-control-cse{ padding: 0 !important;
|
|
|
|
.gsc-input{ padding: 0 !important; }
|
|
|
|
.gsc-search-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2013-07-28 09:43:18 +00:00
|
|
|
|
|
|
|
.tag-list {
|
|
|
|
@include inline-list;
|
2013-07-30 18:44:31 +00:00
|
|
|
margin-left: 0;
|
2013-07-28 09:43:18 +00:00
|
|
|
li {
|
|
|
|
@include label(0, emCalc(16px), $secondary-color, $global-radius);
|
2013-07-30 18:44:31 +00:00
|
|
|
margin: emCalc(4px);
|
2013-07-28 09:43:18 +00:00
|
|
|
a {
|
|
|
|
padding: emCalc(7px) emCalc(7px);
|
|
|
|
color: #000;
|
|
|
|
span {
|
|
|
|
@include keystroke(lighten($secondary-color, 5%));
|
|
|
|
margin-left: emCalc(7px);
|
2013-07-13 07:17:49 +00:00
|
|
|
}
|
|
|
|
}
|
2013-07-28 09:43:18 +00:00
|
|
|
&: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-13 07:17:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-07-30 18:44:31 +00:00
|
|
|
ul.pagination{
|
|
|
|
li.current a{
|
|
|
|
background: desaturate(lighten($primary-color, 5%), 50%);
|
|
|
|
}
|
|
|
|
}
|
2013-07-28 09:43:18 +00:00
|
|
|
|
2013-07-13 07:17:49 +00:00
|
|
|
@media #{$small} {
|
|
|
|
}
|
|
|
|
|
|
|
|
//// Print Visibility styling
|
|
|
|
@media print{
|
|
|
|
body { padding-top: 0 !important; }
|
2013-07-29 20:09:35 +00:00
|
|
|
.top-bar, #mainAside {
|
2013-07-13 07:17:49 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2013-07-29 20:09:35 +00:00
|
|
|
#main section header .print_header, #mainFooter .print_footer{ display: block; }
|
|
|
|
#main {
|
|
|
|
.codehilitewrapper{ page-break-inside: avoid; }
|
|
|
|
pre { border: none; }
|
|
|
|
}
|
2013-07-13 07:17:49 +00:00
|
|
|
}
|
2013-07-29 20:09:35 +00:00
|
|
|
|