mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Changed theme.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
@import "base/color";
|
||||
@import "base/font";
|
||||
@import "base/layout";
|
||||
@import "base/utilities";
|
||||
@import "base/solarized";
|
||||
@import "base/theme";
|
||||
@import "base/typography";
|
||||
@import "base/utilities";
|
||||
@import "base/layout";
|
||||
|
||||
@ -1,8 +1,13 @@
|
||||
//This is the main GREYSHADE css file.
|
||||
//This is the main GREYSHADE css file.
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #3D4349;
|
||||
font-family: "Open Sans", "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
::selection, ::-moz-selection, ::-webkit-selection {
|
||||
@ -39,7 +44,7 @@ body {
|
||||
float: none;
|
||||
margin-left: 0px;
|
||||
|
||||
ul {
|
||||
ul {
|
||||
li {
|
||||
margin-left: 0px;
|
||||
display: block;
|
||||
@ -52,6 +57,9 @@ body {
|
||||
}
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
|
||||
.credit-box {
|
||||
color: #AAA;
|
||||
font-size: .8em;
|
||||
@ -64,9 +72,22 @@ body {
|
||||
}
|
||||
}
|
||||
.mid-col {
|
||||
float: right;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
min-height: 100%;
|
||||
width: 77%;
|
||||
background: whitesmoke;
|
||||
#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 40px;
|
||||
#content {
|
||||
@ -129,14 +150,14 @@ body {
|
||||
-webkit-transition: color 0.3s;
|
||||
-moz-transition: color 0.3s;
|
||||
-o-transition: color 0.3s;
|
||||
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;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -242,7 +263,7 @@ body {
|
||||
display: block;
|
||||
}
|
||||
#main-nav {
|
||||
ul {
|
||||
ul {
|
||||
display: block;
|
||||
li {
|
||||
display: inline;
|
||||
|
||||
@ -1,49 +1,192 @@
|
||||
$max-width: 1000px;
|
||||
$max-width: 1200px !default;
|
||||
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
// Padding used for layout margins
|
||||
$pad-min: 18px !default;
|
||||
$pad-narrow: 25px !default;
|
||||
$pad-medium: 35px !default;
|
||||
$pad-wide: 55px !default;
|
||||
|
||||
// Sidebar widths used in media queries
|
||||
$sidebar-width-medium: 240px !default;
|
||||
$sidebar-pad-medium: 15px !default;
|
||||
$sidebar-pad-wide: 20px !default;
|
||||
$sidebar-width-wide: 300px !default;
|
||||
|
||||
$indented-lists: false !default;
|
||||
|
||||
$header-font-size: 1em !default;
|
||||
$header-padding-top: 1.5em !default;
|
||||
$header-padding-bottom: 1.5em !default;
|
||||
|
||||
.group { @include pie-clearfix; }
|
||||
|
||||
@mixin collapse-sidebar {
|
||||
float: none;
|
||||
width: auto;
|
||||
clear: left;
|
||||
margin: 0;
|
||||
padding: 0 $pad-medium 1px;
|
||||
background-color: lighten($sidebar-bg, 2);
|
||||
border-top: 1px solid lighten($sidebar-border, 4);
|
||||
section {
|
||||
&.odd, &.even { float: left; width: 48%; }
|
||||
&.odd { margin-left: 0; }
|
||||
&.even { margin-left: 4%; }
|
||||
}
|
||||
&.thirds section {
|
||||
width: 30%;
|
||||
margin-left: 5%;
|
||||
&.first {
|
||||
margin-left: 0;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
||||
body{
|
||||
font-family: $font-default;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
background: $color-background;
|
||||
color: $color-gray01;
|
||||
@media screen and (max-width: 1040px){
|
||||
margin: 0 20px;
|
||||
}
|
||||
@media screen and (max-width: 600px){
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-text-size-adjust: none;
|
||||
max-width: $max-width;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
> header, > nav, > footer, #content > article, #content > div > article, #content > div > section {
|
||||
@extend .group;
|
||||
padding-left: $pad-min;
|
||||
padding-right: $pad-min;
|
||||
@media only screen and (min-width: 480px) {
|
||||
padding-left: $pad-narrow;
|
||||
padding-right: $pad-narrow;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
padding-left: $pad-medium;
|
||||
padding-right: $pad-medium;
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
padding-left: $pad-wide;
|
||||
padding-right: $pad-wide;
|
||||
}
|
||||
}
|
||||
div.pagination {
|
||||
@extend .group;
|
||||
margin-left: $pad-min;
|
||||
margin-right: $pad-min;
|
||||
@media only screen and (min-width: 480px) {
|
||||
margin-left: $pad-narrow;
|
||||
margin-right: $pad-narrow;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
margin-left: $pad-medium;
|
||||
margin-right: $pad-medium;
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
margin-left: $pad-wide;
|
||||
margin-right: $pad-wide;
|
||||
}
|
||||
}
|
||||
> header {
|
||||
font-size: $header-font-size;
|
||||
padding-top: $header-padding-top;
|
||||
padding-bottom: $header-padding-bottom;
|
||||
}
|
||||
}
|
||||
h1{
|
||||
font-size: 1.8em;
|
||||
|
||||
#content {
|
||||
overflow: hidden;
|
||||
> div, > article { width: 100%; }
|
||||
}
|
||||
h2{
|
||||
font-size: 1.5em;
|
||||
|
||||
aside.sidebar {
|
||||
float: none;
|
||||
padding: 0 $pad-min 1px;
|
||||
background-color: lighten($sidebar-bg, 2);
|
||||
border-top: 1px solid $sidebar-border;
|
||||
@extend .group;
|
||||
}
|
||||
h3{
|
||||
font-size: 1.3em;
|
||||
|
||||
.flex-content { max-width: 100%; height: auto; }
|
||||
|
||||
.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; }
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
outline-width: 0;
|
||||
color: $color-main;
|
||||
|
||||
.toggle-sidebar { &, .no-sidebar & { display: none; }}
|
||||
|
||||
body.sidebar-footer {
|
||||
@media only screen and (min-width: 750px) {
|
||||
aside.sidebar{ @include collapse-sidebar; }
|
||||
}
|
||||
#content { margin-right: 0px; }
|
||||
.toggle-sidebar { display: none; }
|
||||
}
|
||||
.alignleft{
|
||||
float: left;
|
||||
|
||||
@media only screen and (min-width: 550px) {
|
||||
body > header { font-size: $header-font-size; }
|
||||
}
|
||||
.alignright{
|
||||
float: right;
|
||||
@media only screen and (min-width: 750px) {
|
||||
aside.sidebar { @include collapse-sidebar; }
|
||||
}
|
||||
.clearfix{
|
||||
@include pie-clearfix;
|
||||
#main, #content, .sidebar {
|
||||
@extend .group;
|
||||
}
|
||||
.inner{
|
||||
width: $max-width;
|
||||
margin: 0 auto;
|
||||
@media screen and (max-width: 1040px){
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
body { -webkit-text-size-adjust: auto; }
|
||||
body > header { font-size: $header-font-size * 1.2; }
|
||||
#main {
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
#content {
|
||||
overflow: visible;
|
||||
margin-right: $sidebar-width-medium;
|
||||
position: relative;
|
||||
.no-sidebar & { margin-right: 0; border-right: 0; }
|
||||
.collapse-sidebar & { margin-right: 20px; }
|
||||
> div, > article {
|
||||
padding-top: $pad-medium/2;
|
||||
padding-bottom: $pad-medium/2;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
aside.sidebar {
|
||||
width: $sidebar-width-medium - $sidebar-pad-medium*2;
|
||||
padding: 0 $sidebar-pad-medium $sidebar-pad-medium;
|
||||
background: none;
|
||||
clear: none;
|
||||
float: left;
|
||||
margin: 0 -100% 0 0;
|
||||
section {
|
||||
width: auto; margin-left: 0;
|
||||
&.odd, &.even { float: none; width: auto; margin-left: 0; }
|
||||
}
|
||||
.collapse-sidebar & {
|
||||
@include collapse-sidebar;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) {
|
||||
body > header { font-size: $header-font-size * 1.3; }
|
||||
#content { margin-right: $sidebar-width-wide; }
|
||||
#content {
|
||||
> div, > article {
|
||||
padding-top: $pad-wide/2;
|
||||
padding-bottom: $pad-wide/2;
|
||||
}
|
||||
}
|
||||
aside.sidebar {
|
||||
width: $sidebar-width-wide - $sidebar-pad-wide*2;
|
||||
padding: 1.2em $sidebar-pad-wide $sidebar-pad-wide;
|
||||
.collapse-sidebar & {
|
||||
padding: { left: $pad-wide; right: $pad-wide; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@if $indented-lists == false {
|
||||
@media only screen and (min-width: 768px) {
|
||||
ul, ol { margin-left: 0; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -44,7 +44,6 @@ $sidebar-border: desaturate(darken($sidebar-bg, 7), 10) !default;
|
||||
$sidebar-border-hover: darken($sidebar-bg, 7) !default;
|
||||
$sidebar-link-color-subdued: lighten($sidebar-color, 20) !default;
|
||||
$sidebar-link-color-subdued-hover: $sidebar-link-color-hover !default;
|
||||
$twitter-status-link: lighten($sidebar-link-color-subdued, 15) !default;
|
||||
|
||||
$footer-color: #888 !default;
|
||||
$footer-bg: #ccc !default;
|
||||
|
||||
@ -1,3 +1,132 @@
|
||||
$blockquote: $type-border !default;
|
||||
|
||||
// Fonts
|
||||
$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;
|
||||
|
||||
.heading {
|
||||
font-family: $heading-font-family;
|
||||
}
|
||||
.sans { font-family: $sans; }
|
||||
.serif { font-family: $serif; }
|
||||
.mono { font-family: $mono; }
|
||||
|
||||
body > header h1 {
|
||||
font-size: 2.2em;
|
||||
@extend .heading;
|
||||
font-family: $header-title-font-family;
|
||||
font-weight: normal;
|
||||
line-height: 1.2em;
|
||||
margin-bottom: 0.6667em;
|
||||
}
|
||||
body > header h2 {
|
||||
font-family: $header-subtitle-font-family;
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1.5em;
|
||||
color: $text-color;
|
||||
@extend .serif;
|
||||
}
|
||||
h1 {
|
||||
font-size: 2.2em;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) {
|
||||
body { font-size: 1.15em; }
|
||||
h1 { font-size: 2.6em; line-height: 1.2em; }
|
||||
}
|
||||
|
||||
#{headings()}{
|
||||
@extend .heading;
|
||||
text-rendering: optimizelegibility;
|
||||
margin-bottom: 1em;
|
||||
font-weight: bold;
|
||||
}
|
||||
h2, section h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
h3, section h2, section section h1 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
h4, section h3, section section h2, section section section h1 {
|
||||
font-size: 1em;
|
||||
}
|
||||
h5, section h4, section section h3 {
|
||||
font-size: .9em;
|
||||
}
|
||||
h6, section h5, section section h4, section section section h3 {
|
||||
font-size: .8em;
|
||||
}
|
||||
|
||||
p, article blockquote, ul, ol { margin-bottom: 1.5em; }
|
||||
|
||||
ul { list-style-type: disc;
|
||||
ul { list-style-type: circle; margin-bottom: 0px;
|
||||
ul { list-style-type: square; margin-bottom: 0px; }}}
|
||||
|
||||
ol { list-style-type: decimal;
|
||||
ol { list-style-type: lower-alpha; margin-bottom: 0px;
|
||||
ol { list-style-type: lower-roman; margin-bottom: 0px; }}}
|
||||
|
||||
ul, ol { &, ul, ol { margin-left: 1.3em; }}
|
||||
ul, ol { ul, ol { margin-bottom: 0em; }}
|
||||
|
||||
strong { font-weight: bold; }
|
||||
|
||||
em { font-style: italic; }
|
||||
|
||||
sup, sub { font-size: 0.8em; position: relative; display: inline-block; }
|
||||
sup { top: -.5em; }
|
||||
sub { bottom: -.5em; }
|
||||
|
||||
q { font-style: italic;
|
||||
&:before { content: "\201C"; }
|
||||
&:after { content: "\201D"; }
|
||||
}
|
||||
|
||||
em, dfn { font-style: italic; }
|
||||
|
||||
strong, dfn { font-weight: bold; }
|
||||
|
||||
del, s { text-decoration: line-through; }
|
||||
|
||||
abbr, acronym { border-bottom: 1px dotted; cursor: help; }
|
||||
|
||||
pre, code, tt { @extend .mono; }
|
||||
|
||||
sub, sup { line-height: 0; }
|
||||
|
||||
hr { margin-bottom: 0.2em; }
|
||||
|
||||
small { font-size: .8em; }
|
||||
|
||||
big { font-size: 1.2em; }
|
||||
|
||||
article blockquote {
|
||||
$bq-margin: 1.2em;
|
||||
font-style: italic;
|
||||
position: relative;
|
||||
font-size: 1.2em;
|
||||
line-height: 1.5em;
|
||||
padding-left: 1em;
|
||||
border-left: 4px solid rgba($text-color-light, .5);
|
||||
cite {
|
||||
font-style: italic;
|
||||
a { color: $text-color-light !important; word-wrap: break-word; }
|
||||
&:before { content: '\2014'; padding:{right: .3em; left: .3em;} color: $text-color-light; }
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
padding-left: 1.5em;
|
||||
border-left-width: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.pullquote-right:before,
|
||||
.pullquote-left:before {
|
||||
/* Reset metrics. */
|
||||
@ -23,4 +152,13 @@
|
||||
/* Make left pullquotes align properly. */
|
||||
float: left;
|
||||
margin: .5em 1.5em 1em 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* @extend this to force long lines of continuous text to wrap */
|
||||
.force-wrap {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@ -1,24 +1,28 @@
|
||||
@mixin square($property){
|
||||
width: $property;
|
||||
height: $property;
|
||||
@mixin mask-image($img, $repeat: no-repeat){
|
||||
@include experimental(mask-image, image-url($img), -webkit, -moz, -o, -ms);
|
||||
@include experimental(mask-repeat, $repeat, -webkit, -moz, -o, -ms);
|
||||
width: image-width($img);
|
||||
height: image-height($img);
|
||||
}
|
||||
@mixin user-select($select){
|
||||
-moz-user-select: $select;
|
||||
-khtml-user-select: $select;
|
||||
-webkit-user-select: $select;
|
||||
-o-user-select: $select;
|
||||
user-select: $select;
|
||||
|
||||
@mixin shadow-box($border: #fff .5em solid, $shadow: rgba(#000, .15) 0 1px 4px, $border-radius: .3em) {
|
||||
@include border-radius($border-radius);
|
||||
@include box-shadow($shadow);
|
||||
@include box-sizing(border-box);
|
||||
border: $border;
|
||||
}
|
||||
@mixin border-shadow($top: $color-gray05, $bottom: $color-gray04){
|
||||
border-top: 1px solid $top;
|
||||
border-bottom: 1px solid $bottom;
|
||||
|
||||
@mixin selection($bg, $color: inherit, $text-shadow: none){
|
||||
* {
|
||||
&::-moz-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
||||
&::-webkit-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
||||
&::selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
||||
}
|
||||
}
|
||||
@mixin center($width, $height){
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-left: $width/(-2);
|
||||
margin-top: $height/(-2);
|
||||
width: $width;
|
||||
height: $height;
|
||||
}
|
||||
|
||||
@function text-color($color, $dark: dark, $light: light){
|
||||
$text-color: ( (red($color)*299) + (green($color)*587) + (blue($color)*114) ) / 1000;
|
||||
$text-color: if($text-color >= 150, $dark, $light);
|
||||
@return $text-color;
|
||||
}
|
||||
|
||||
|
||||
8
sass/config.rb
Normal file
8
sass/config.rb
Normal 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
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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
8
sass/custom/config.rb
Normal 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
|
||||
@ -1,5 +1,4 @@
|
||||
@import "sidebar/base";
|
||||
@import "sidebar/twitter";
|
||||
@import "sidebar/googleplus";
|
||||
@import "sidebar/pinboard";
|
||||
@import "sidebar/delicious";
|
||||
|
||||
@ -1,44 +1,52 @@
|
||||
.highlight, html .gist .gist-file .gist-syntax .gist-highlight {
|
||||
table td.code { width: 100%; }
|
||||
.line-numbers {
|
||||
text-align: right;
|
||||
font-size: 13px;
|
||||
line-height: 1.45em;
|
||||
@if $solarized == light {
|
||||
background: lighten($base03, 1) $noise-bg !important;
|
||||
border-right: 1px solid darken($base02, 2) !important;
|
||||
@include box-shadow(lighten($base03, 2) -1px 0 inset);
|
||||
text-shadow: lighten($base02, 2) 0 -1px;
|
||||
} @else {
|
||||
background: $base02 $noise-bg !important;
|
||||
border-right: 1px solid darken($base03, 2) !important;
|
||||
@include box-shadow(lighten($base02, 2) -1px 0 inset);
|
||||
text-shadow: darken($base02, 10) 0 -1px;
|
||||
}
|
||||
span { color: $base01 !important; }
|
||||
padding: .8em !important;
|
||||
@include border-radius(0);
|
||||
}
|
||||
border: 1px solid $pre-border !important;
|
||||
}
|
||||
.highlight .line-numbers, html .gist .gist-file .gist-syntax .highlight .line_numbers {
|
||||
text-align: right;
|
||||
font-size: 13px;
|
||||
line-height: 1.45em;
|
||||
@if $solarized == light {
|
||||
background: lighten($base03, 1) $noise-bg !important;
|
||||
border-right: 1px solid darken($base02, 2) !important;
|
||||
@include box-shadow(lighten($base03, 2) -1px 0 inset);
|
||||
text-shadow: lighten($base02, 2) 0 -1px;
|
||||
} @else {
|
||||
background: $base02 $noise-bg !important;
|
||||
border-right: 1px solid darken($base03, 2) !important;
|
||||
@include box-shadow(lighten($base02, 2) -1px 0 inset);
|
||||
text-shadow: darken($base02, 10) 0 -1px;
|
||||
}
|
||||
span { color: $base01 !important; }
|
||||
padding: .8em !important;
|
||||
@include border-radius(0);
|
||||
}
|
||||
|
||||
figure.code, .gist-file, pre {
|
||||
@include box-shadow(rgba(#000, .06) 0 0 10px);
|
||||
.highlight pre { @include box-shadow(none); }
|
||||
}
|
||||
|
||||
.gist .highlight, figure.code .highlight {
|
||||
@include selection(adjust-color($base03, $lightness: 23%, $saturation: -65%), $text-shadow: $base03 0 1px);
|
||||
}
|
||||
html .gist .gist-file {
|
||||
margin-bottom: 1.8em;
|
||||
position: relative;
|
||||
border: none;
|
||||
padding-top: image-height("code_bg.png") !important;
|
||||
.highlight {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.gist-syntax {
|
||||
border-bottom: 0 !important;
|
||||
background: none !important;
|
||||
.gist-highlight{
|
||||
.gist-highlight {
|
||||
background: $base03 !important;
|
||||
pre {
|
||||
@extend .pre-code;
|
||||
}
|
||||
}
|
||||
.highlight pre {
|
||||
@extend .pre-code;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.gist-meta {
|
||||
@ -107,12 +115,11 @@ p, li {
|
||||
}
|
||||
|
||||
.pre-code {
|
||||
@include selection(adjust-color($base03, $lightness: 23%, $saturation: -65%), $text-shadow: $base03 0 1px);
|
||||
font-family: $mono !important;
|
||||
overflow: scroll;
|
||||
overflow-y: hidden;
|
||||
display: block;
|
||||
padding: .8em !important;
|
||||
padding: .8em;
|
||||
overflow-x: auto;
|
||||
line-height: 1.45em;
|
||||
background: $base03 $noise-bg !important;
|
||||
@ -187,7 +194,7 @@ p, li {
|
||||
}
|
||||
|
||||
.highlight, .gist-highlight {
|
||||
pre { background: none; @include border-radius(none); border: none; padding: 0; margin-bottom: 0; }
|
||||
pre { background: none; @include border-radius(0px); border: none; padding: 0; margin-bottom: 0; }
|
||||
margin-bottom: 1.8em;
|
||||
background: $base03;
|
||||
overflow-y: hidden;
|
||||
@ -206,7 +213,9 @@ pre, .highlight, .gist-highlight {
|
||||
&::-webkit-scrollbar-thumb:horizontal { background: $solar-scroll-thumb; -webkit-border-radius: 4px; border-radius: 4px }
|
||||
}
|
||||
|
||||
.highlight code { @extend .pre-code; background: #000;}
|
||||
.highlight code {
|
||||
@extend .pre-code; background: #000;
|
||||
}
|
||||
figure.code {
|
||||
background: none;
|
||||
padding: 0;
|
||||
@ -232,7 +241,7 @@ figure.code {
|
||||
font-weight: normal;
|
||||
margin-bottom: 0;
|
||||
@include border-top-radius(5px);
|
||||
font-family: "Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;
|
||||
font-family: $sans;
|
||||
background: #aaaaaa image-url("code_bg.png") top repeat-x;
|
||||
border: 1px solid #565656;
|
||||
border-top-color: #cbcbcb;
|
||||
@ -250,4 +259,3 @@ figure.code {
|
||||
text-shadow: #cbcccc 0 1px 0;
|
||||
padding-left: 3em;
|
||||
}
|
||||
|
||||
|
||||
@ -67,7 +67,7 @@
|
||||
}
|
||||
.date:before{content: "\f073";}
|
||||
.tags:before{content: "\f02c";}
|
||||
.comments:before{content: "\f075";}
|
||||
.comments:before{content: "\f075"; padding-right: 10px; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -71,6 +71,7 @@ article{
|
||||
img, video{
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
@extend .basic-alignment;
|
||||
}
|
||||
blockquote{
|
||||
background: $color-gray04;
|
||||
@ -137,4 +138,4 @@ article{
|
||||
.share{
|
||||
padding: 15px 0;
|
||||
@include border-shadow();
|
||||
}
|
||||
}
|
||||
|
||||
@ -369,6 +369,13 @@ $header-height: 30px;
|
||||
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%);
|
||||
}
|
||||
}
|
||||
&.rss{
|
||||
background: image-url('social/rss.png') center no-repeat #EF7522;
|
||||
border: 1px solid #EF7522;
|
||||
|
||||
@ -40,4 +40,13 @@
|
||||
.tags:before{content: "\f02c";}
|
||||
.comments:before{content: "\f075";}
|
||||
}
|
||||
hr{
|
||||
height: 0;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
border-top: 1px solid #DDD;
|
||||
border-bottom: 1px solid #FFF;
|
||||
}
|
||||
}
|
||||
6
sass/plugins/_plugins.scss
Normal file
6
sass/plugins/_plugins.scss
Normal file
@ -0,0 +1,6 @@
|
||||
/*
|
||||
Add plugin stylesheets to this directory and they will be automatically
|
||||
Imported. Load order is alphabetical and styles can be overriden in
|
||||
custom/_style.scss which is loaded after all plugin stylesheets.
|
||||
*/
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
@import "compass";
|
||||
|
||||
@import "base";
|
||||
@import "parts";
|
||||
@import "plugins";
|
||||
@include global-reset;
|
||||
@include reset-html5;
|
||||
|
||||
@import "custom/colors";
|
||||
@import "greyshade";
|
||||
|
||||
@import "custom/fonts";
|
||||
@import "custom/layout";
|
||||
@import "custom/styles";
|
||||
@import "base";
|
||||
@import "partials";
|
||||
@import "plugins";
|
||||
@import "custom/styles";
|
||||
|
||||
Reference in New Issue
Block a user