Change_ANNOOOTHERRR_Theme

This commit is contained in:
2016-08-16 14:16:23 -04:00
parent 60ee324bb8
commit d9211cb90c
77 changed files with 4366 additions and 2094 deletions
+5
View File
@@ -0,0 +1,5 @@
@import "base/color";
@import "base/font";
@import "base/layout";
@import "base/typography";
@import "base/utilities";
+331
View File
@@ -0,0 +1,331 @@
//This is the main GREYSHADE css file.
html {
height: 100%;
}
body {
background: #3D4349;
font-family: $font;
background: $color-sidebar;
height: 100%;
color: #333;
font-size: 11px;
}
::selection, ::-moz-selection, ::-webkit-selection {
background-color: $greyshade;
color: $color-background;
}
#header {
height: auto;
border-bottom: none;
.subtitle {
color: #999;
font-style: italic;
}
#sub-nav {
float: none;
position: relative;
.social {
float: none;
}
.search {
float: none;
.alignright {
float: none;
}
}
}
h1 {
float: none;
}
#main-nav {
float: none;
margin-left: 0px;
ul {
li {
margin-left: 0px;
display: block;
a {
padding: 0px 0px;
}
}
}
}
}
.container {
position: relative;
min-height: 100%;
.credit-box {
color: #AAA;
font-size: .8em;
position: fixed;
bottom: 20px;
left: 40px;
a {
color: inherit;
text-decoration: underline;
}
}
.mid-col {
position: absolute;
right: 0;
min-height: 100%;
width: 77%;
background: white;
#banner {
width: 100%;
small {
margin-right: 70px;
}
}
footer.inner {
text-align: center;
margin: 0px 70px 0px 40px;
width: auto;
}
.mid-col-container {
padding: 0px 70px 0px 100px;
max-width: 800px;
#content {
width: 100%;
article {
border-top: none;
padding: 80px 0px;
.title {
margin-left: 0px;
font-size: 3em;
font-weight: 500;
}
&.single-post .title{
text-align: center;
text-decoration: underline;
}
.entry-content {
margin-left: 0px;
line-height: 1.4em;
font-size: 1.5em;
p {
margin-top: 10px;
}
.github-widget p {
margin-top: 0px;
}
.more-link:before {
line-height: 1.2em;
}
.more-link {
padding-left: 0px;
}
.gist .gist-file .gist-data {
.line_numbers {
line-height: inherit;
}
pre {
line-height: inherit;
}
}
h2 {
font-size: 1.3em;
color: #333;
margin-top: 30px;
font-weight: bold;
}
h2::before {
border-bottom: none;
}
blockquote {
border-left: 5px solid $greyshade;
background: #F7F7F7;
p {
margin-top: 0px;
}
}
table {
line-height: 1.2em;
td {
text-align: left;
}
}
}
.meta {
position: relative;
float: right;
top: 0px;
color: #555;
text-align: right;
width: auto;
.date::before {
color: #555;
position: relative;
margin-right: 10px;
}
.tags::before {
color: #999;
position: relative;
margin-right: 10px;
}
}
h1.title{
a {
color: #333;
-webkit-transition: color 0.3s;
-moz-transition: color 0.3s;
-o-transition: color 0.3s;
transition: color 0.3s;
}
a:hover {
color: $greyshade;
-webkit-transition: color 0.3s;
-moz-transition: color 0.3s;
-o-transition: color 0.3s;
transition: color 0.3s;
}
}
}
}
}
footer {
width: 100%;
}
}
.left-col:hover {
opacity: 1;
}
.left-col {
width: 23%;
position: fixed;
color: $color-gray05;
height: 100%;
font-size: 1.3em;
opacity: $opacity-sidebar;
-webkit-transition: all .2s ease-in;
-moz-transition: all .2s ease-in;
-o-transition: all .2s ease-in;
-ms-transition: all .2s ease-in;
transition: all .2s ease-in;
.intrude-less {
width: 80%;
}
#header {
width: 100%;
padding: 20% 0% 0% 15%;
#main-nav {
margin-top: 10px;
p {
line-height: 1.4em;
}
}
.profilepic {
img {
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
}
a {
color: #EFEFEF;
text-shadow: 0 1px #333;
}
a:hover {
color: $greyshade;
}
#sub-nav {
margin-top: 10px;
.search::before {
left: 10px;
}
.social {
margin-bottom: 10px;
a {
margin-right: 5px;
}
}
}
}
}
}
.archives {
.title {
font-size: 1.2em;
}
article {
.meta {
line-height: 1.5em;
margin-top: 0;
span::before {
padding-right: 0;
}
}
}
}
a {
color: $greyshade;
}
a:hover {
color: $greyshade;
}
body {
@media screen and (max-width: 1040px){
margin: 0 0;
}
}
@media screen and (max-width: 830px){
.container {
.credit-box {
display: none;
}
.left-col {
position: relative;
width: 100%;
opacity: 1;
.intrude-less {
margin: auto auto;
}
#header {
padding: 40px 0px;
text-align: center;
#sub-nav{
display: block;
}
#main-nav {
ul {
display: block;
li {
display: inline;
margin-right: 10px;
}
}
}
}
}
.mid-col {
float: none;
width: 100%;
.mid-col-container {
padding: 15px 15px;
#content {
article {
.meta {
float: none;
}
}
}
}
}
}
}
+9
View File
@@ -0,0 +1,9 @@
@import "parts/header";
@import "parts/index";
@import "parts/article";
@import "parts/post";
@import "parts/archive";
@import "parts/comment";
@import "parts/footer";
@import "parts/syntax";
@import "parts/twitter";
+1
View File
@@ -0,0 +1 @@
@import "plugins/fancybox";
+9
View File
@@ -0,0 +1,9 @@
$color-background: #eee;
$color-main: #258fb8;
$color-gray01: #666;
$color-gray02: #999;
$color-gray03: #ccc;
$color-gray04: #ddd;
$color-gray05: #fff;
$color-sidebar: #3D4349;
$opacity-sidebar: .3;
+17
View File
@@ -0,0 +1,17 @@
$font-default: "Nunito", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace;
$font-icon: FontAwesome;
$font-icon-path: "/font/fontawesome-webfont";
@font-face {
font-family: 'FontAwesome';
src: url('#{$font-icon-path}.eot');
src: url('#{$font-icon-path}.eot?#iefix') format('embedded-opentype'),
url('#{$font-icon-path}.woff') format('woff'),
url('#{$font-icon-path}.ttf') format('truetype'),
url('#{$font-icon-path}.svgz#FontAwesomeRegular') format('svg'),
url('#{$font-icon-path}.svg#FontAwesomeRegular') format('svg');
font-weight: normal;
font-style: normal;
}
+57
View File
@@ -0,0 +1,57 @@
$max-width: 1000px;
*{
margin: 0;
padding: 0;
}
body{
font-family: $font-default;
font-weight: 300;
font-size: 13px;
background: $color-background;
color: $color-gray01;
@media screen and (max-width: 1040px){
margin: 0 20px;
}
@media screen and (max-width: 600px){
font-size: 13px;
}
}
h1{
font-size: 1.8em;
}
h2{
font-size: 1.5em;
}
h3{
font-size: 1.3em;
}
a{
text-decoration: none;
outline-width: 0;
color: $color-main;
}
.basic-alignment {
&.left { float: left; margin-right: 1.5em; }
&.right { float: right; margin-left: 1.5em; }
&.center { display:block; margin: 0 auto 1.5em; }
&.left, &.right { margin-bottom: .8em; }
}
.alignleft{
float: left;
}
.alignright{
float: right;
}
.clearfix{
@include pie-clearfix;
}
.inner{
width: $max-width;
margin: 0 auto;
@media screen and (max-width: 1040px){
width: 100%;
}
}
+26
View File
@@ -0,0 +1,26 @@
.pullquote-right:before,
.pullquote-left:before {
/* Reset metrics. */
padding: 0;
border: none;
/* Content */
content: attr(data-pullquote);
/* Pull out to the right, modular scale based margins. */
float: right;
width: 45%;
margin: .5em 0 1em 1.5em;
/* Baseline correction */
position: relative;
top: 7px;
font-size: 1.4em;
line-height: 1.45em;
}
.pullquote-left:before {
/* Make left pullquotes align properly. */
float: left;
margin: .5em 1.5em 1em 0;
}
+24
View File
@@ -0,0 +1,24 @@
@mixin square($property){
width: $property;
height: $property;
}
@mixin user-select($select){
-moz-user-select: $select;
-khtml-user-select: $select;
-webkit-user-select: $select;
-o-user-select: $select;
user-select: $select;
}
@mixin border-shadow($top: $color-gray05, $bottom: $color-gray04){
border-top: 1px solid $top;
border-bottom: 1px solid $bottom;
}
@mixin center($width, $height){
position: absolute;
top: 50%;
left: 50%;
margin-left: $width/(-2);
margin-top: $height/(-2);
width: $width;
height: $height;
}
+1
View File
@@ -0,0 +1 @@
$greyshade: #2571B8;
View File
+12
View File
@@ -0,0 +1,12 @@
// Here you can easily change font faces which are used in your site.
// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works. your sites's.
// If you love to use Web Fonts, you also need to add some lines to source/_includes/custom/head.html
$sans: "Optima", sans-serif, "Microsoft YaHei", "STHeiti" ;
$serif: "Baskerville", serif;
$mono: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace;
$heading-font-family: "Verdana", $sans, sans-serif;
$header-title-font-family: "Futura", $sans, sans-serif;
$header-subtitle-font-family: "Futura", $sans, sans-serif;
$font: $font-default;
View File
View File
+73
View File
@@ -0,0 +1,73 @@
.archives{
position: relative;
&:last-of-type{
&:before{
content: "";
position: absolute;
bottom: 0;
width: 200px;
border-top: 1px solid $color-gray04;
}
}
.year{
line-height: 35px;
width: 200px;
position: absolute;
top: 0;
padding-top: 15px;
border-top: 1px solid #fff;
&:before{
content: "";
position: absolute;
top: -2px;
width: 100%;
border-top: 1px solid $color-gray04;
}
@media screen and (max-width: 600px){
position: relative;
width: 100%;
}
}
article{
margin-left: 200px;
padding: 15px 0;
@media screen and (max-width: 600px){
margin-left: 0;
&:first-of-type{
border-top: none;
padding-top: 30px;
}
}
.title{
margin-bottom: 0;
}
.meta{
color: $color-gray02;
font-size: 0.9em;
line-height: 2;
margin-top: 15px;
@media screen and (max-width: 600px){
display: none;
}
span{
margin-right: 30px;
@include inline-block;
&:before{
color: $color-gray03;
font: 1.3em $font-icon;
padding-right: 10px;
}
}
a{
color: $color-gray02;
@include transition(0.3s);
&:hover{
color: $color-gray01;
}
}
.date:before{content: "\f073";}
.tags:before{content: "\f02c";}
.comments:before{content: "\f075";}
}
}
}
+141
View File
@@ -0,0 +1,141 @@
article{
border-bottom: 1px solid $color-gray04;
border-top: 1px solid $color-gray05;
padding: 30px 0;
position: relative;
@media screen and (max-width: 800px){
padding-bottom: 15px;
}
@media screen and (max-width: 600px){
padding: 15px 0;
}
h1.title{
font-weight: 300;
line-height: 35px;
margin-bottom: 20px;
a{
color: $color-gray01;
}
}
.entry-content{
line-height: 2;
text-align: justify;
a{
&:hover{
text-decoration: underline;
}
}
.more-link{
display: block;
margin-top: 16px;
padding-left: 30px;
position: relative;
&:before{
// content: "\f061";
// font: 1.3em $font-icon;
// line-height: 1.6em;
// position: absolute;
// left: 0;
}
}
p, blockquote, ul, ol, dl, table, iframe, h1, h2, h3, h4, h5, h6, .video-container{
margin-top: 20px;
}
ul, ol, dl{
margin-left: 20px;
ul, ol, dl{
margin-top: 0;
}
}
strong{
font-weight: bold;
}
em{
font-style: italic;
}
p{
margin-top: 10px;
}
h2{
font-weight: 300;
border-bottom: 1px solid $color-gray04;
position: relative;
&:before{
content: "";
position: absolute;
bottom: -2px;
border-bottom: 1px solid $color-gray05;
width: 100%;
}
}
img, video{
max-width: 100%;
height: auto;
@extend .basic-alignment;
}
blockquote{
background: $color-gray04;
border-left: 5px solid $color-gray03;
padding: 15px 20px;
margin-top: 10px;
& > p:first-of-type{
margin-top: 0;
}
}
iframe{
border: none;
}
table{
background: $color-gray04;
border: 1px solid $color-gray03;
border-spacing: 0;
margin-top: 10px;
th{
background: $color-gray03;
padding: 0 15px;
}
td{
text-align: center;
}
tr{
&:nth-of-type(2n){
background: #d5d5d5;
}
}
}
.caption{
display: block;
font-size: 0.9em;
color: $color-gray02;
padding-left: 25px;
position: relative;
&:before{
content: "\f040";
color: $color-gray03;
font: 1.3em $font-icon;
line-height: 1.6em;
position: absolute;
left: 0;
}
}
.video-container{
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
iframe, object, embed{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin-top: 0;
}
}
}
}
.share{
padding: 15px 0;
@include border-shadow();
}
+10
View File
@@ -0,0 +1,10 @@
#comment{
padding: 30px 0;
@include border-shadow();
h1.title{
font-size: 25px;
font-weight: 300;
line-height: 35px;
margin-bottom: 20px;
}
}
+6
View File
@@ -0,0 +1,6 @@
footer{
padding: 15px 0;
border-top: 1px solid $color-gray05;
text-align: center;
font-size: 0.9em;
}
+434
View File
@@ -0,0 +1,434 @@
$header-height: 30px;
#header{
height: $header-height;
padding: 30px 0;
border-bottom: 1px solid $color-gray04;
line-height: $header-height;
@media screen and (max-width: 1040px){
height: auto;
position: relative;
padding-bottom: 10px;
}
a{
color: $color-gray01;
@include transition(color 0.3s);
&:hover{
color: $color-main;
}
}
h1{
float: left;
font-weight: 300;
font-size: 30px;
@media screen and (max-width: 1040px){
float: none;
}
}
}
#main-nav{
float: left;
margin-left: 30px;
@media screen and (max-width: 1040px){
float: none;
margin-left: 0;
margin-top: 15px;
}
>ul{
@media screen and (max-width: 600px){
display: none;
}
>li{
margin-left: 50px;
@include inline-block;
@media screen and (max-width: 1040px){
margin-left: 0;
margin-right: 50px;
&:last-of-type{
margin-right: 0;
}
}
&:hover{
>a{
color: $color-main;
}
}
>a{
padding: 38px 0;
margin-top: -38px;
&:after{
content: "\f078";
color: $color-gray03;
font: 12px $font-icon;
padding-left: 10px;
}
&:only-child{
&:after{
content: "";
}
}
@media screen and (max-width: 1040px){
padding: 18px 0;
}
}
}
ul{
position: absolute;
top: 60px;
left: -15px;
z-index: 10;
white-space: nowrap;
background: $color-gray04;
border: 1px solid $color-gray03;
list-style: none;
display: none;
@media screen and (max-width: 1040px){
top: 40px;
}
@include box-shadow(0 4px 8px rgba(0,0,0,0.1));
@include border-radius(0 0 5px 5px);
ul{
@include border-radius(0 5px 5px 5px);
}
li{
@include border-shadow($color-background, $color-gray03);
&:hover{
background: #d5d5d5;
}
&:first-of-type{
border-top: none;
ul{
@include border-radius(0 0 5px 5px);
}
}
&:last-of-type{
border-bottom: none;
}
>a{
display: block;
padding: 5px 15px;
&:after{
content: "\f054";
color: $color-gray02;
font: 12px $font-icon;
padding-left: 10px;
}
&:hover{
color: $color-gray01;
}
&:only-child{
&:after{
content: "";
}
}
}
}
ul{
top: 0;
left: 100%;
}
}
li{
position: relative;
&:hover{
>ul{
display: block;
}
}
}
}
select{
display: none;
margin-bottom: 10px;
@media screen and (max-width: 600px){
display: block;
}
}
}
#mobile-nav{
display: none;
height: 37px;
position: relative;
@media screen and (max-width: 600px){
display: block;
}
a{
display: block;
}
.button{
cursor: pointer;
}
.container{
display: none;
}
.menu{
position: relative;
width: 100%;
.button{
background: #f2f2f2;
border: 1px solid $color-gray04;
color: #999;
padding: 0 60px 0 10px;
position: relative;
@include border-radius(5px);
&:hover{
color: #999;
}
&.on{
color: #666;
@include border-radius(5px 5px 5px 0);
&:before{
content: "\f077";
}
}
&:before{
content: "\f078";
color: $color-gray04;
font: 16px $font-icon;
line-height: 30px;
position: absolute;
top: 0;
right: 40px;
}
}
.container{
background: #f2f2f2;
border: 1px solid #ddd;
border-top: none;
position: absolute;
top: 31px;
z-index: 1;
@include border-radius(0 0 5px 5px);
ul{
list-style: none;
ul{
margin-left: 20px;
}
}
a{
padding: 0 10px;
}
}
}
.search{
position: absolute;
top: 0;
right: 0;
.button{
background: $color-gray04;
width: 30px;
height: 30px;
position: absolute;
top: 1px;
right: -1px;
@include border-radius(0 5px 5px 0);
&:before{
content: "\f002";
color: #f2f2f2;
font: 20px $font-icon;
line-height: 30px;
position: absolute;
top: 0;
left: 7px;
}
&.on{
background: $color-gray03;
&:before{
content: "\f00d";
}
}
}
.container{
position: absolute;
right: 51px;
z-index: 1;
}
input[type="text"]{
background: #fff;
border: 1px solid $color-gray04;
border-right: none;
color: $color-gray02;
font: 13px $font-default;
height: 30px;
width: 100%;
padding: 0 10px;
@include border-radius(5px 0 0 5px);
}
}
}
#sub-nav{
@media screen and (max-width: 1040px){
position: absolute;
top: 30px;
right: 0;
}
@media screen and (max-width: 600px){
display: none;
}
.search{
float: left;
margin-top: 1px;
position: relative;
@media screen and (max-width: 1040px){
float: none;
margin-top: 15px;
}
&:before{
content: "\f002";
color: $color-gray03;
font: 18px $font-icon;
line-height: 30px;
position: absolute;
top: 0;
right: 125px;
}
input[type="text"]{
background: #f2f2f2;
color: $color-gray02;
border: 1px solid $color-gray04;
font: 13px $font-default;
padding: 6px 15px 6px 35px;
width: 100px;
@include transition(0.3s);
@include border-radius(15px);
&:focus, &:active{
background: #fff;
border-top: 1px solid $color-gray03;
color: $color-gray01;
outline: none;
}
}
}
.social{
float: left;
margin-right: 15px;
@media screen and (max-width: 1040px){
float: none;
margin-right: 0;
a:last-of-type{
margin-right: 0;
}
}
a{
@include border-radius(50%);
@include inline-block;
text-indent: -9999px;
margin: 0 15px 15px 0;
opacity: 0.5;
@include square(28px);
@include transition(0.3s);
&:hover{
opacity: 1;
}
&.email{
background: image-url('social/email.png') center no-repeat #050505;
border: 1px solid #050505;
&:hover{
border: 1px solid darken(#050505, 10%);
}
}
&.facebook{
background: image-url('social/facebook.png') center no-repeat #3B5998;
border: 1px solid #3B5998;
&:hover{
border: 1px solid darken(#3B5998, 10%);
}
}
&.google{
background: image-url('social/google.png') center no-repeat #C83D20;
border: 1px solid #C83D20;
&:hover{
border: 1px solid darken(#C83D20, 10%);
}
}
&.twitter{
background: image-url('social/twitter.png') center no-repeat #55CFF8;
border: 1px solid #55CFF8;
&:hover{
border: 1px solid darken(#55CFF8, 10%);
}
}
&.github{
background: image-url('social/github.png') center no-repeat rgb(175,182,202);
border: 1px solid rgb(175,182,202);
&:hover{
border: 1px solid darken(rgb(175,182,202), 10%);
}
}
&.coderwall{
background: image-url('social/coderwall.png') center no-repeat #3E8DCC;
border: 1px solid #3E8DCC;
&:hover{
border: 1px solid darken(#3E8DCC, 10%);
}
}
&.stackoverflow{
background: image-url('social/stackoverflow.png') center no-repeat #EF7522;
border:1px solid #EF7522;
&:hover{
border:1px solid #CC7A00;
}
}
&.linkedin{
background: image-url('social/linkedin.png') center no-repeat #005A87;
border: 1px solid #005A87;
}
&.pinterest{
background: image-url('social/pinterest.png') center no-repeat rgb(190,64,55);
border: 1px solid rgb(190,64,55);
&:hover{
border: 1px solid darken(rgb(190,64,55), 10%);
}
}
&.delicious{
background: image-url('social/delicious.png') center no-repeat rgb(50,113,203);
border: 1px solid rgb(50,113,203);
&:hover{
border: 1px solid darken(rgb(50,113,203), 10%);
}
}
&.pinboard{
background: image-url('social/pinboard.png') center no-repeat rgb(0,102,200);
border: 1px solid rgb(58,114,159);
&:hover{
border: 1px solid darken(rgb(0,102,255), 10%);
}
}
&.douban{
background: image-url('social/douban.png') center no-repeat rgb(0,128,36);
border: 1px solid rgb(0,128,36);
&:hover{
border: 1px solid darken(rgb(0,128,36), 10%);
}
}
&.quora{
background: image-url('social/quora.png') center no-repeat #a82400;
border: 1px solid #a82400;
&:hover{
border: 1px solid darken(#a82400, 10%);
}
}
&.instagram{
background: image-url('social/instagram.png') center no-repeat #517fa4;
border: 1px solid #517fa4;
&:hover{
border: 1px solid darken(#517fa4, 10%);
}
}
&.behance{
background: image-url('social/behance.png') center no-repeat #1769ff;
border: 1px solid #1769ff;
&:hover{
border: 1px solid darken(#1769ff, 10%);
}
}
&.rss{
background: image-url('social/rss.png') center no-repeat #EF7522;
border: 1px solid #EF7522;
&:hover{
border: 1px solid darken(#EF7522, 10%);
}
}
}
}
}
+43
View File
@@ -0,0 +1,43 @@
#pagenavi{
padding: 20px 0;
height: 20px;
line-height: 20px;
position: relative;
@include border-shadow();
a{
&:hover{
text-decoration: underline;
}
}
.prev, .next{
position: absolute;
}
.prev{
padding-left: 30px;
left: 0;
&:before{
content: "\f060";
font: 1.3em $font-icon;
position: absolute;
left: 0;
}
}
.next{
padding-right: 30px;
right: 0;
&:before{
content: "\f061";
font: 1.3em $font-icon;
position: absolute;
right: 0;
}
}
.center{
text-align: center;
width: 100%;
display: block;
@media screen and (max-width: 400px){
display: none;
}
}
}
+43
View File
@@ -0,0 +1,43 @@
.post{
h1.title, .entry-content{
margin-left: 200px;
@media screen and (max-width: 800px){
margin-left: 0;
}
}
.meta{
position: absolute;
top: 85px;
line-height: 2;
font-size: 0.9em;
color: $color-gray02;
width: 170px;
@media screen and (max-width: 800px){
margin-top: 15px;
position: static;
width: auto;
}
a{
@include link-colors($color-gray02, $color-gray01);
@include transition(0.3s);
}
.date, .tags, .comments{
padding-left: 30px;
position: relative;
&:before{
color: $color-gray03;
font: 1.3em $font-icon;
line-height: 1.6em;
position: absolute;
left: 0;
}
@media screen and (max-width: 800px){
@include inline-block;
margin-right: 30px;
}
}
.date:before{content: "\f073";}
.tags:before{content: "\f02c";}
.comments:before{content: "\f075";}
}
}
+385
View File
@@ -0,0 +1,385 @@
$base03: #002b36 !default; //darkest blue
$base02: #073642 !default; //dark blue
$base01: #586e75 !default; //darkest gray
$base00: #657b83 !default; //dark gray
$base0: #839496 !default; //medium gray
$base1: #93a1a1 !default; //medium light gray
$base2: #eee8d5 !default; //cream
$base3: #fdf6e3 !default; //white
$solar-yellow: #b58900 !default;
$solar-orange: #cb4b16 !default;
$solar-red: #dc322f !default;
$solar-magenta: #d33682 !default;
$solar-violet: #6c71c4 !default;
$solar-blue: #268bd2 !default;
$solar-cyan: #2aa198 !default;
$solar-green: #859900 !default;
$solarized: light !default;
@if $solarized == light {
$_base03: $base03;
$_base02: $base02;
$_base01: $base01;
$_base00: $base00;
$_base0: $base0;
$_base1: $base1;
$_base2: $base2;
$_base3: $base3;
$base03: $_base3;
$base02: $_base2;
$base01: $_base1;
$base00: $_base0;
$base0: $_base00;
$base1: $_base01;
$base2: $_base02;
$base3: $_base03;
}
$pre-bg: $color-gray04;
$pre-border: $color-gray03;
article{
code, pre{
background: $pre-bg;
border: 1px solid $pre-border;
font-family: $font-mono;
}
code{
font-size: 0.9em;
padding: 1px 3px;
margin: 0 3px;
}
pre{
font-size: 1 / 0.9em;
line-height: 1.5;
margin-top: 10px;
padding: 5px 15px;
overflow-x: auto;
code{
background: none;
border: none;
padding: 0;
margin: 0;
}
}
}
figure.code{
border: 1px solid $pre-border;
margin-top: 10px;
padding: 5px 15px;
figcaption{
font-size: 0.9em;
position: relative;
span{
margin: -5px -15px 0;
padding: 5px 15px;
display: block;
background: #ececec;
&:empty{
display: none;
}
}
a{
position: absolute;
top: 5px;
right: 0;
}
}
code, pre{
background: none;
border: none;
padding: 0;
margin: 0;
}
.highlight{
overflow-x: auto;
}
.line-numbers{
border-right: 1px solid $pre-border;
font-family: $font-mono;
padding-right: 15px;
text-align: right;
}
table{
background: white;
border: none;
text-align: left;
margin-top: 0;
td{
text-align: left;
}
}
td.code{
width: 100%;
padding-left: 15px;
}
}
.entry-content .gist{
// background: $pre-bg;
color: $color-gray01;
padding: 15px 15px 5px 0px;
margin-top: 10px;
border: 1px solid $pre-border;
position: relative;
overflow: hidden;
.gist-file{
margin: 0;
border: none;
.gist-data{
background: none;
border: none;
pre{
font: 0.9em $font-mono;
line-height: 1.5;
}
table {
background: white;
border: none;
}
}
.gist-meta{
font: 300 0.9em $font-default;
line-height: 1.5;
margin: 0 -16px -6px;
padding: 5px 15px;
background: #ececec;
a{
color: $color-main;
&:first-of-type{
position: absolute;
top: 5px;
right: 15px;
z-index: 1;
}
&:nth-of-type(2){
position: absolute;
top: 0;
left: 0;
padding: 5px 15px;
width: 100%;
background: #ececec;
}
}
}
}
}
figure.code, .gist-highlight{
.c {
color:$base01 !important;
font-style: italic !important;
}
/* Comment */
.cm {
color:$base01 !important;
font-style: italic !important;
}
/* Comment.Multiline */
.cp {
color:$base01 !important;
font-style: italic !important;
}
/* Comment.Preproc */
.c1 {
color:$base01 !important;
font-style: italic !important;
}
/* Comment.Single */
.cs {
color:$base01 !important;
font-weight:bold !important;
font-style: italic !important;
}
/* Comment.Special */
.err {
color:$solar-red !important;
background: none !important;
}
/* Error */
.k {
color: $solar-orange !important;
}
/* Keyword */
.o {
color:$base1 !important;
font-weight: bold !important;
}
/* Operator */
.p {
color: $base1 !important;
}
/* Operator */
.ow {
color:$solar-cyan !important;
font-weight: bold !important;
}
/* Operator.Word */
.gd {
color:$base1 !important;
background-color:mix($solar-red,$base03,25%) !important;
display: inline-block;
}
/* Generic.Deleted */
.gd .x {
color:$base1 !important;
background-color:mix($solar-red,$base03,35%) !important;
display: inline-block;
}
/* Generic.Deleted.Specific */
.ge {
color:$base1 !important;
font-style: italic !important;
}
/* Generic.Emph */
.gh {
color: $base01 !important;
}
/* Generic.Heading */
.gi {
color:$base1 !important;
background-color:mix($solar-green,$base03,20%) !important;
display: inline-block;
}
/* Generic.Inserted */
.gi .x {
color:$base1 !important;
background-color:mix($solar-green,$base03,40%) !important;
display: inline-block;
}
/* Generic.Inserted.Specific */
.gs {
color:$base1 !important;
font-weight: bold !important;
}
/* Generic.Strong */
.gu {
color: $solar-violet !important;
}
/* Generic.Subheading */
.kc {
color:$solar-green !important;
font-weight: bold !important;
}
/* Keyword.Constant */
.kd {
color: $solar-blue !important;
}
/* Keyword.Declaration */
.kp {
color:$solar-orange !important;
font-weight: bold !important;
}
/* Keyword.Pseudo */
.kr {
color:$solar-magenta !important;
font-weight: bold !important;
}
/* Keyword.Reserved */
.kt {
color: $solar-cyan !important;
}
/* Keyword.Type */
.n {
color:$solar-blue !important;
}
.na {
color: $solar-blue !important;
}
/* Name.Attribute */
.nb {
color: $solar-green !important;
}
/* Name.Builtin */
.nc {
color: $solar-magenta !important;
}
/* Name.Class */
.no {
color: $solar-yellow !important;
}
/* Name.Constant */
.nl {
color:$solar-green !important;
}
.ne {
color:$solar-blue !important;
font-weight: bold !important;
}
/* Name.Exception */
.nf {
color:$solar-blue !important;
font-weight: bold !important;
}
/* Name.Function */
.nn {
color: $solar-yellow !important;
}
/* Name.Namespace */
.nt {
color:$solar-blue !important;
font-weight: bold !important;
}
/* Name.Tag */
.nx {
color:$solar-yellow !Important;
}
.vg {
color: $solar-blue !important;
}
/* Name.Variable.Global */
.vi {
color: $solar-blue !important;
}
/* Name.Variable.Instance */
.nv {
color: $solar-blue !important;
}
/* Name.Variable */
.mf {
color: $solar-cyan !important;
}
/* Literal.Number.Float */
.m {
color: $solar-cyan !important;
}
/* Literal.Number */
.mh {
color: $solar-cyan !important;
}
/* Literal.Number.Hex */
.mi {
color: $solar-cyan !important;
}
/* Literal.Number.Integer */
.s {
color: $solar-cyan !important;
}
/* Literal.String */
.sd {
color: $solar-cyan !important;
}
/* Literal.String.Doc */
.s2 {
color: $solar-cyan !important;
}
/* Literal.String.Double */
.se {
color: $solar-red !important;
}
/* Literal.String.Escape */
.si {
color: $solar-blue !important;
}
/* Literal.String.Interpol */
.sr {
color: $solar-cyan !important;
}
/* Literal.String.Regex */
.s1 {
color: $solar-cyan !important;
}
/* Literal.String.Single */
}
+49
View File
@@ -0,0 +1,49 @@
#banner{
color: $color-gray02;
padding: 30px 0;
line-height: 30px;
text-align: center;
position: relative;
display: none;
@include border-shadow();
&:hover{
a{
color: $color-main;
}
}
a{
color: $color-gray02;
@include transition(0.3s);
&:hover{
text-decoration: underline;
}
}
small{
position: absolute;
right: 0;
bottom: 0;
}
.loading{
background: image-url('loading_pacman.gif') center no-repeat;
text-indent: -9999px;
}
.container{
height: 30px;
overflow: hidden;
position: relative;
display: none;
.feed{
list-style: none;
position: absolute;
top: 0;
width: 100%;
li{
position: relative;
small{
position: absolute;
right: 0;
}
}
}
}
}
+228
View File
@@ -0,0 +1,228 @@
/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-tmp iframe, .fancybox-tmp object {
vertical-align: top;
padding: 0;
margin: 0;
}
.fancybox-wrap {
position: absolute;
top: 0;
left: 0;
z-index: 8020;
}
.fancybox-skin {
position: relative;
padding: 0;
margin: 0;
background: #f9f9f9;
color: #444;
text-shadow: none;
@include border-radius(4px);
}
.fancybox-opened {
z-index: 8030;
}
.fancybox-opened .fancybox-skin {
@include box-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}
.fancybox-outer, .fancybox-inner {
padding: 0;
margin: 0;
position: relative;
outline: none;
}
.fancybox-inner {
overflow: hidden;
}
.fancybox-type-iframe .fancybox-inner {
-webkit-overflow-scrolling: touch;
}
.fancybox-error {
color: #444;
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
margin: 0;
padding: 10px;
}
.fancybox-image, .fancybox-iframe {
display: block;
width: 100%;
height: 100%;
border: 0;
padding: 0;
margin: 0;
vertical-align: top;
}
.fancybox-image {
max-width: 100%;
max-height: 100%;
}
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
background-image: image-url('fancybox/fancybox_sprite.png');
}
#fancybox-loading {
position: fixed;
top: 50%;
left: 50%;
margin-top: -22px;
margin-left: -22px;
background-position: 0 -108px;
opacity: 0.8;
cursor: pointer;
z-index: 8020;
}
#fancybox-loading div {
width: 44px;
height: 44px;
background: image-url('fancybox/fancybox_loading.gif') center center no-repeat;
}
.fancybox-close {
position: absolute;
top: -18px;
right: -18px;
width: 36px;
height: 36px;
cursor: pointer;
z-index: 8040;
}
.fancybox-nav {
position: absolute;
top: 0;
width: 40%;
height: 100%;
cursor: pointer;
background: transparent image-url('fancybox/blank.gif'); /* helps IE */
-webkit-tap-highlight-color: rgba(0,0,0,0);
z-index: 8040;
}
.fancybox-prev {
left: 0;
}
.fancybox-next {
right: 0;
}
.fancybox-nav span {
position: absolute;
top: 50%;
width: 36px;
height: 34px;
margin-top: -18px;
cursor: pointer;
z-index: 8040;
visibility: hidden;
}
.fancybox-prev span {
left: 20px;
background-position: 0 -36px;
}
.fancybox-next span {
right: 20px;
background-position: 0 -72px;
}
.fancybox-nav:hover span {
visibility: visible;
}
.fancybox-tmp {
position: absolute;
top: -9999px;
left: -9999px;
padding: 0;
overflow: visible;
visibility: hidden;
}
/* Overlay helper */
#fancybox-overlay {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
display: none;
z-index: 8010;
background: #000;
}
#fancybox-overlay.overlay-fixed {
position: fixed;
bottom: 0;
right: 0;
}
/* Title helper */
.fancybox-title {
visibility: hidden;
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
position: relative;
text-shadow: none;
z-index: 8050;
}
.fancybox-opened .fancybox-title {
visibility: visible;
}
.fancybox-title-float-wrap {
position: absolute;
bottom: 0;
right: 50%;
margin-bottom: -35px;
z-index: 8030;
text-align: center;
}
.fancybox-title-float-wrap .child {
display: inline-block;
margin-right: -100%;
padding: 2px 20px;
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
background: rgba(0, 0, 0, 0.8);
text-shadow: 0 1px 2px #222;
color: #FFF;
font-weight: bold;
line-height: 24px;
white-space: nowrap;
@include border-radius(15px);
}
.fancybox-title-outside-wrap {
position: relative;
margin-top: 10px;
color: #fff;
}
.fancybox-title-inside-wrap {
margin-top: 10px;
}
.fancybox-title-over-wrap {
position: absolute;
bottom: 0;
left: 0;
color: #fff;
padding: 10px;
background: #000;
background: rgba(0, 0, 0, .8);
}
+12
View File
@@ -0,0 +1,12 @@
@import "compass";
@import "base";
@import "parts";
@import "plugins";
@import "custom/colors";
@import "custom/fonts";
@import "custom/layout";
@import "custom/styles";
@import "greyshade";