Changed theme.

This commit is contained in:
Shashank Mehta
2013-05-14 03:35:35 +05:30
parent dae1e41c83
commit c0b836d6ee
74 changed files with 1149 additions and 498 deletions

View File

@ -16,7 +16,7 @@
/* To use the light Solarized highlighting theme uncomment the following line */
$solarized: light;
//$solarized: light;
/* If you want to tweak the Solarized colors you can do that here */
//$base03: #002b36; //darkest blue
@ -41,4 +41,3 @@ $solarized: light;
//$pre-bg: $base03;
//$pre-border: darken($base02, 5);
//$pre-color: $base1;
$greyshade: #258FB8;

View File

@ -2,9 +2,9 @@
// 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;
//$serif: "Baskerville", serif;
//$mono: "Courier", monospace;
//$heading-font-family: "Verdana", sans-serif;
//$header-title-font-family: "Futura", sans-serif;
//$header-subtitle-font-family: "Futura", sans-serif;
// $sans: "Open Sans","Helvetica Neue", Arial, sans-serif !default;
// $serif: "PT Serif", Georgia, Times, "Times New Roman", serif !default;
// $mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default;
// $heading-font-family: "Fjalla One", "Georgia", "Helvetica Neue", Arial, sans-serif !default;
// $header-title-font-family: $heading-font-family !default;
// $header-subtitle-font-family: $serif !default;

View File

@ -1,14 +1,192 @@
// This File is imported last, and will override other styles in the cascade
// Add styles here to make changes without digging in too much
.archives {
.title {
font-size: 1.2em;
$white: #FFFFFF;
html {
background: $white;
}
body {
font-family: $sans !important;
font-size: 1em;
max-width: 850px;
padding-left: 0.5em;
padding-right: 0.5em;
> header {
background: $white;
text-align: center;
padding-left: 0px;
padding-right: 0px;
h1 {
a, a:visited, a:hover {
color: #8C8C8C;
font-family: $heading-font-family;
}
}
}
> nav {
background: $white;
border-bottom: 1px solid #F2F2F2;
padding-left: 0px;
padding-right: 0px;
form .search {
border-radius: 0.2em 0.2em 0.2em 0.2em;
box-shadow: none;
border: 0px;
padding-top: 0.3em;
padding-bottom: 0.3em;
padding-left: 0.5em;
padding-right: 0.5em;
}
a {
font-family: $sans;
font-size: 0.9em;
padding-top: 0.3em;
line-height: 1.5em;
}
li + li {
border-left: 0px;
a {
border-left: 0px;
}
}
}
> div {
background: $white;
border-bottom: 0px;
> div {
background: $white;
border-right-width: 0px;
}
}
> footer {
background: $white;
text-shadow: none;
color: #AAAAAA;
padding-left: 0;
padding-right: 0;
border-top: 0px;
padding-left: 0px;
padding-right: 0px;
}
#content {
> article {
padding-left: 0px;
padding-right: 0px;
}
> div {
> article, > section {
padding-left: 0px;
padding-right: 0px;
}
}
}
}
.internship-page {
margin-top: 50px;
margin-bottom: 30px;
article {
padding-top: 2em;
.entry-content {
h3 {
font-style: italic
}
}
ul, ol {
margin-left: 2em;
}
a, a:visited {
color: #1863A1;
}
header {
h1.entry-title {
font-family: $heading-font-family;
font-weight: 400;
}
}
}
#content {
div.pagination {
background: none repeat scroll 0 0 transparent;
margin: 0 10px;
font-size: 0.95em;
padding-bottom: 1.5em;
margin-top: 4em;
position: relative;
text-align: center;
border-top: dotted 1px #D1D1D1;
border-bottom: dotted 1px #D1D1D1;
}
.blog-index {
article {
padding-top: 4em;
header {
padding-left: 0;
padding-right: 0;
}
}
h1 {
a {
font-family: $heading-font-family;
font-weight: 400;
}
a:hover {
text-decoration: none;
}
}
}
.hentry {
h1.entry-title {
font-family: $heading-font-family;
font-weight: 400;
font-size: 2.2em;
}
}
}
figure.code {
.highlight {
background: #212C3B !important;
.gutter {
display: none;
}
}
}
.pre-code, html .gist .gist-file .gist-syntax .highlight pre, .highlight code {
background: #212C3B !important;
}
aside {
display: none;
}
.authorline {
font-style: italic;
padding-bottom: 10px;
margin-top: -20px;
color: #aaa;
}

8
sass/custom/config.rb Normal file
View File

@ -0,0 +1,8 @@
http_path = "/"
css_dir = "."
sass_dir = "."
images_dir = "img"
javascripts_dir = "js"
output_style = :compressed
relative_assets=true
line_comments = false