diff options
Diffstat (limited to 'themes/classic/sass/default')
20 files changed, 869 insertions, 0 deletions
diff --git a/themes/classic/sass/default/_partials.scss b/themes/classic/sass/default/_partials.scss new file mode 100644 index 00000000..4ca98c0f --- /dev/null +++ b/themes/classic/sass/default/_partials.scss @@ -0,0 +1,12 @@ +//@import "partials/shared"; +//@import "partials/search"; + +/* layout partials */ +@import "partials/header"; +@import "partials/navigation"; +@import "partials/page"; +@import "partials/sidebar"; +@import "partials/blog"; +@import "partials/footer"; + +@import "partials/syntax"; diff --git a/themes/classic/sass/default/_style.scss b/themes/classic/sass/default/_style.scss new file mode 100644 index 00000000..051e003b --- /dev/null +++ b/themes/classic/sass/default/_style.scss @@ -0,0 +1,8 @@ +@include global-reset; +@include reset-html5; + +@import "core/utilities"; +@import "core/theme"; +@import "core/layout"; +@import "core/typography"; +@import "partials"; diff --git a/themes/classic/sass/default/core/_layout.scss b/themes/classic/sass/default/core/_layout.scss new file mode 100644 index 00000000..0fdb235c --- /dev/null +++ b/themes/classic/sass/default/core/_layout.scss @@ -0,0 +1,128 @@ +$default-border-radius: 4px; + +$pad-min: 18px; +$pad-narrow: 18px; +$pad-medium: 24px; +$pad-wide: 30px; +$sidebar-width-medium: 240px; +$sidebar-pad-medium: 15px; +$sidebar-pad-wide: 20px; +$sidebar-width-wide: 300px; + +.group { @include pie-clearfix; } + +//html { } +body { + -webkit-text-size-adjust: none; + max-width: 1400px; + position: relative; + margin: 0 auto; + > header, > nav, > footer, #articles > article { + @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; + } + } + > header { + font-size: .8em; + padding-top: 1.5em; + padding-bottom: 1.5em; + } +} + +.toggle-sidebar { display: none; } +#articles { width: 100%; + aside { display: none; } } + +@media only screen and (min-width: 550px) { + body > header { font-size: 1em; } +} +@media only screen and (min-width: 768px) { + body { -webkit-text-size-adjust: auto; } + body > header { font-size: 1.2em; } + body > nav { + + div { + @extend .group; + padding: 0; + margin: 0 auto; + > div { + @extend .group; + margin-right: $sidebar-width-medium; + } + } + } + #articles { + padding-top: $pad-medium/2; + padding-bottom: $pad-medium/2; + float: left; + + aside { + width: $sidebar-width-medium - $sidebar-pad-medium*2; + padding: 0 $sidebar-pad-medium $sidebar-pad-medium; + display: block; + float: left; + margin: 0 -100% 0 0; + } + } + body > div > div { position: relative; } + + .collapse-sidebar { + > div > div { margin-right: 10px; } + #articles + aside { + display: none; + } + .toggle-sidebar { + right: -1px; + background-color: $sidebar-bg; + border-right-width: 0; + text-indent: 2px; + border-left: 1px solid $sidebar-border; + @include border-bottom-right-radius(0); + @include border-bottom-left-radius(.3em); + @include link-colors(#aaa, #888); + } + } + + .toggle-sidebar { + outline: none; + position: absolute; right: -21px; top: 0; + width: 20px; + font-size: 1.2em; + line-height: 1.1em; + padding-bottom: .1em; + text-indent: -1px; + text-decoration: none; + @include link-colors(#ccc, #999); + @include border-bottom-right-radius(.3em); + text-align: center; + background: $main-bg; + border-bottom: 1px solid $sidebar-border; + border-right: 1px solid $sidebar-border; + display: inline-block; + } +} + +@media only screen and (min-width: 992px) { + body > * { font-size: 1.1em; } + body > header { + font-size: 1.3em; + } + body > nav + div > div { margin-right: $sidebar-width-wide; } + #articles { + padding-top: $pad-wide/2; + padding-bottom: $pad-wide/2; + + aside { + width: $sidebar-width-wide - $sidebar-pad-wide*2; + padding: 0 $sidebar-pad-wide $sidebar-pad-wide; + } + } +} diff --git a/themes/classic/sass/default/core/_theme.scss b/themes/classic/sass/default/core/_theme.scss new file mode 100644 index 00000000..a38f9127 --- /dev/null +++ b/themes/classic/sass/default/core/_theme.scss @@ -0,0 +1,51 @@ +// Link Colors +$link-color: lighten(#165b94, 3); +$link-color-hover: darken(#165b94, 5); + +// Main Section Colors +$body-color: #333333; +$light-text: #999999; +$page-bg: #252525; + +$header-bg: #333; //#0c2e46; //darken(#238bd2, 32); //#263448; //#323232; +$header-border: lighten($header-bg, 15); +$title-color: #f2f2f2; + +$nav-bg: #ccc;//#3a6ea5; +$nav-color: darken($nav-bg, 38); +$nav-color-hover: darken($nav-color, 25); +$nav-border: darken($nav-bg, 10); +$nav-border-top: lighten($nav-bg, 15); +$nav-border-bottom: darken($nav-bg, 25);//darken($nav-bg, 5); +$nav-border-left: darken($nav-bg, 11); +$nav-border-right: lighten($nav-bg, 7); + +$sidebar-bg: #eee; //#f8f8f8; //desaturate(change-color(#e8f4f4, $hue: 207), 100); //mix(#f5f5f5, aqua, 93%); +$sidebar-border: darken($sidebar-bg, 7); + +// Blog +$article-border: #eeeeee; +$main-bg: #f7f7f7; + +$footer-color: #999999; +//$footer-bg: #444444; +$footer-bg: $nav-bg;//$page-bg; +$footer-border: $nav-border-top;//$page-bg; + +// Form Colors +$fieldset-bg: #ececec; +$fieldset-border: #c3c3c3; + +$textinput-color: #333333; +$textinput-bg: #f4f4f4; +$textinput-bg-focus: #fefeee; + +$textinput-border-top: #aaaaaa; +$textinput-border-bottom: #c6c6c6; +$textinput-border-left: #c3c3c3; +$textinput-border-right: #c3c3c3; +$textinput-border-focus: #989898; + +#articles a, #articles + aside a { + @include link-colors($link-color, $hover: saturate(darken($link_color, 15), 20), $focus: saturate(darken($link_color, 15), 20), $visited: darken(adjust_hue($link_color, 70), 10)); +} diff --git a/themes/classic/sass/default/core/_typography.scss b/themes/classic/sass/default/core/_typography.scss new file mode 100644 index 00000000..67cc76ec --- /dev/null +++ b/themes/classic/sass/default/core/_typography.scss @@ -0,0 +1,126 @@ +$type-border: #ddd; +$type-color-light: #555; +$type-color: #000; +$blockquote: $type-border !default; //darken($type-border, 20) !default; +$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; + +// Fonts +//@include font-face("Adelle", font-files("adellebasic_bold-webfont.woff", woff, "adellebasic_bold-webfont.ttf", truetype, "adellebasic_bold-webfont.svg#webfontKykxqSyz", svg), $eot: "adellebasic_bold-webfont.eot" ); +.heading { + font-family: "Georgia", "PT Sans", "Helvetica Neue", Arial, sans-serif; + font-weight: bold; +} +.sans { font-family: "Helvetica Neue", Arial, sans-serif; } +.serif { font-family: Georgia, Times, "Times New Roman", serif; } +.mono { font-family: $mono; } + +body > header h1 { + font-size: 2em; + @extend .heading; + font-weight: normal; + line-height: 1.2em; + margin-bottom: 0.6667em; +} + +body { + line-height: 1.5em; + color: $type-color; + @extend .serif; +} + + +#{headings()}{ + @extend .heading; + text-rendering: optimizelegibility; + margin-bottom: 1em; + font-weight: normal; +} +h1 { + font-size: 2em; + line-height: 1.3334em +} +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, blockquote, ul, ol { margin-bottom: 1.5em; } + +ul{ list-style-type: disc; } + +ol{ list-style-type: decimal; ol { list-style-type: lower-alpha; } } +ul ul, ol ol { margin-left: 1.75em; } + +li { margin-bottom: .5em; } + +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-font; } + +sub, sup { line-height: 0; } + +hr { margin-bottom: 0.2em; } + +small { font-size: .8em; } + +big { font-size: 1.2em; } + +blockquote { + $bq-margin: 1.2em; + font-style: italic; + position: relative; + margin-left: $bq-margin; + > p { + &:first-child:before { + content: "\201C"; + position: absolute; + top: 0.1em; + left: -.5em; + font-size: 3em; + color: $blockquote; + } + &:last-child:after { + content: "\201D"; + position: relative; + top: 0.3em; + line-height: 0; + font-size: 2em; + color: $blockquote; + } + } + + p > cite { + margin-left: $bq-margin; + text-align: right; + &:before { content: '– '; color: $type-color-light; } + a { font-style: italic; } + } +} diff --git a/themes/classic/sass/default/core/_utilities.scss b/themes/classic/sass/default/core/_utilities.scss new file mode 100644 index 00000000..84312b52 --- /dev/null +++ b/themes/classic/sass/default/core/_utilities.scss @@ -0,0 +1,4 @@ +@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); +} diff --git a/themes/classic/sass/default/media/_480.scss b/themes/classic/sass/default/media/_480.scss new file mode 100644 index 00000000..fe1aa64d --- /dev/null +++ b/themes/classic/sass/default/media/_480.scss @@ -0,0 +1,26 @@ +#articles + aside { display: none; } +body > nav { + .site-serch { + width: 10em; + .search { width: 100%; background-color: #f6f6f6; } + } +} + +body > nav, body > footer, body > div > div { + padding-left: .5em; + padding-right: .5em; +} +body > * { font-size: .8em; } +body > header { + font-size: .5em; + padding: .4em .5em; +} +header, #{headings()} { text-align: center; } +.site-search { + margin: .15em 0 0; padding: 0; + .search { + padding: .3em .8em 0; + line-height: 1.5em; + font-size: .85em; + } +} diff --git a/themes/classic/sass/default/media/_768.scss b/themes/classic/sass/default/media/_768.scss new file mode 100644 index 00000000..67e7952d --- /dev/null +++ b/themes/classic/sass/default/media/_768.scss @@ -0,0 +1,8 @@ +//body { + //padding: 0 1em; +//} +//body > header { + //font-size: 1em; + //padding-top: .5em; + //padding-bottom: .5em; +//} diff --git a/themes/classic/sass/default/media/_992.scss b/themes/classic/sass/default/media/_992.scss new file mode 100644 index 00000000..bacd81d2 --- /dev/null +++ b/themes/classic/sass/default/media/_992.scss @@ -0,0 +1,19 @@ +//@include media-layout(1.2em, 20em, 1em); +//body > * { + //margin: 0 auto; + //font-size: 1em; +//} +//body { + //max-width: 1280px; + //margin: 0 auto; + //> header { + //padding-top: 2em; + //padding-bottom: 1em; + //} + //> nav { + //border-left: 1px solid $header-border; + //border-right: 1px solid $header-border; + //@include border-top-radius(.6em); + //} +//} + diff --git a/themes/classic/sass/default/partials/_blog.scss b/themes/classic/sass/default/partials/_blog.scss new file mode 100644 index 00000000..4a3312b5 --- /dev/null +++ b/themes/classic/sass/default/partials/_blog.scss @@ -0,0 +1,54 @@ +#articles { + > article { + padding-bottom: 1em; + &:last-child { margin-bottom: 0; border-bottom: none; } + h2 { + padding-top: 0.8em; + //border-top: 3px double $type-border; + background: inline-image('dotted-border.png') top left repeat-x; + } + .byline + time:before, .byline + time +time:before { + content: "\2022 "; + padding: 0 .3em 0 .2em; + display: inline-block; + @include opacity(.5); + } + header { + padding-top: 2em; + margin-bottom: 1.5em; + padding-bottom: 1.5em; + background: inline-image('dotted-border.png') bottom left repeat-x; + h1 { + margin: 0; + a { text-decoration: none; + &:hover { text-decoration: underline; } } + } + p { + font-size: .9em; + color: $type-color-light; + border: none; + padding-top: 0; + margin: 0; + font-style: italic; + font-family: "Georgia", Palatino, Times, "Times New Roman"; + } + } + .entry-content { + img { max-width: 100%; } + } + #disqus_thread { } + .meta { + border-bottom: 1px dashed #dddddd; + text-transform: uppercase; + color: #777777; + padding: 8px 0 5px; + margin-bottom: 1.5em; + font-size: 75%; + letter-spacing: 1px; + } + + .footer { + padding-top: 15px; + } + } +} diff --git a/themes/classic/sass/default/partials/_delicious.scss b/themes/classic/sass/default/partials/_delicious.scss new file mode 100644 index 00000000..e962702e --- /dev/null +++ b/themes/classic/sass/default/partials/_delicious.scss @@ -0,0 +1,4 @@ +.delicious-posts { + a.delicious-link { margin-bottom: .5em; display: block; } + p { font-size: 1em; } +} diff --git a/themes/classic/sass/default/partials/_footer.scss b/themes/classic/sass/default/partials/_footer.scss new file mode 100644 index 00000000..4ec28b7a --- /dev/null +++ b/themes/classic/sass/default/partials/_footer.scss @@ -0,0 +1,17 @@ +body > footer { + @extend .sans; + font-size: .8em; + color: $nav-color; + text-shadow: lighten($footer-bg, 5) 0 1px; + background-color: $footer-bg; + @include background(linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11))); + border-top: 1px solid $footer-border; + position: relative; + padding-top: 1em; + padding-bottom: 1em; + z-index: 1; + a { + @include link-colors($nav-color, $nav-color-hover); + } + p:last-child { margin-bottom: 0; } +} diff --git a/themes/classic/sass/default/partials/_header.scss b/themes/classic/sass/default/partials/_header.scss new file mode 100644 index 00000000..63a58c6a --- /dev/null +++ b/themes/classic/sass/default/partials/_header.scss @@ -0,0 +1,11 @@ +body > header { + background-color: $header_bg; + h1 { + display: inline-block; + margin: 0; + a, a:visited { + color: $title_color; + text-decoration: none; + } + } +} diff --git a/themes/classic/sass/default/partials/_navigation.scss b/themes/classic/sass/default/partials/_navigation.scss new file mode 100644 index 00000000..ecc29e4e --- /dev/null +++ b/themes/classic/sass/default/partials/_navigation.scss @@ -0,0 +1,116 @@ +body > nav { + position: relative; + background-color: $nav-bg; + @include background(linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11))); + border: { + top: 1px solid $nav-border-top; + bottom: 1px solid $nav-border-bottom; } + padding-top: .35em; + padding-bottom: .35em; + //position: absolute; left: 0; right: 0; top: 0; + form { + @include background-clip(padding-box); + margin: 0; padding: 0; + .search { + padding: .25em .5em 0; + font-size: .85em; + line-height: 1em; + width: 95%; + @include border-radius(.5em); + @include background-clip(padding-box); + @include box-shadow(lighten($nav-bg, 2) 0 1px); + background-color: lighten($nav-bg, 15); + border: 1px solid $nav-border; + color: #888; + &:focus { + color: #444; + border-color: #80b1df; + @include box-shadow(#80b1df 0 0 4px, #80b1df 0 0 3px inset); + background-color: #fff; + outline: none; + } + } + } + fieldset[role=site-search]{ float: right; width: 48%; } + fieldset[role=mobile-nav]{ float: left; width: 48%; + select{ width: 100%; font-size: .8em; border: 1px solid #888;} + } + ul { display: none; } + @media only screen and (min-width: 550px) { + font-size: .9em; + ul { + @include horizontal-list(0); + float: left; + //float: right; + display: block; + padding-top: .25em; + } + ul[role=subscription] { + margin-left: .8em; + float: right; + li:last-child a { padding-right: 0; } + } + ul li { + margin: 0; + } + a { + @include link-colors($nav-color, $nav-color-hover, $visited: $nav-color); + @extend .sans; + text-shadow: lighten($nav-bg, 12) 0 1px; + float: left; + text-decoration: none; + font-size: .9em; + padding: .1em 0; + line-height: 1.5em; + } + li + li { + border-left: 1px solid $nav-border-left; + margin-left: .8em; + a { + padding-left: .8em; + border-left: 1px solid $nav-border-right; + } + } + fieldset[role=mobile-nav] { display: none; } + fieldset[role=site-search]{ width: 100%; } + form { + float: right; + text-align: left; + width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium + 5px; + padding-left: .8em; + .search { + width: 93%; + font-size: .95em; + line-height: 1.2em; + } + } + } + + @media only screen and (min-width: 992px) { + form { + width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 + 5px; + } + } +} +.maskImage { + ul[role=subscription] { li, a { border: 0; padding: 0; }} + a[rel=subscribe-rss]{ + position: relative; top: -2px; + width: image-width('rss.png'); + height: image-height('rss.png'); + @include mask-image('rss.png'); + text-indent: -999999em; + background-color: $nav-border-right; + border: 0; + padding: 0; + &:hover:after { background-color: darken($nav-border-left, 10); } + &:after { + content: ""; + @include mask-image('rss.png'); + width: image-width('rss.png'); + height: image-height('rss.png'); + position: absolute; top: -1px; left: 0; + background-color: $nav-border-left; + } + } +} diff --git a/themes/classic/sass/default/partials/_page.scss b/themes/classic/sass/default/partials/_page.scss new file mode 100644 index 00000000..cb0aa27a --- /dev/null +++ b/themes/classic/sass/default/partials/_page.scss @@ -0,0 +1,18 @@ +html { + background: $page-bg inline-image('line-tile.png') top left; +} +body { + border: 0 0 1px 0 solid darken($page-bg, 5); + > div { + background-color: $sidebar-bg; + border-bottom: 1px solid $nav-border-bottom; + > div { + background-color: $main-bg; + border-right: 1px solid $sidebar-border; + } + } +} + +@media only screen and (min-width: 1400px) { + body { border: 0 1px 0 solid darken($page-bg, 5); } +} diff --git a/themes/classic/sass/default/partials/_pinboard.scss b/themes/classic/sass/default/partials/_pinboard.scss new file mode 100644 index 00000000..9f9ab461 --- /dev/null +++ b/themes/classic/sass/default/partials/_pinboard.scss @@ -0,0 +1,12 @@ +#pinboard_linkroll { + .pin-title, .pin-description { + display: block; + margin-bottom: .5em; + } + .pin-tag { + @include hover-link; + @extend .aside-alt-link; + &:after { content: ','; } + &:last-child:after { content: ''; } + } +} diff --git a/themes/classic/sass/default/partials/_search.scss b/themes/classic/sass/default/partials/_search.scss new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/themes/classic/sass/default/partials/_search.scss diff --git a/themes/classic/sass/default/partials/_sidebar.scss b/themes/classic/sass/default/partials/_sidebar.scss new file mode 100644 index 00000000..046068d1 --- /dev/null +++ b/themes/classic/sass/default/partials/_sidebar.scss @@ -0,0 +1,55 @@ +.side-shadow-border { + @include box-shadow(#fff 0 1px); +} +#articles + aside { + padding-top: 1.2em; + section { + @extend .sans; + font-size: .8em; + line-height: 1.5em; + margin-bottom: 1.5em; + h1 { + margin: 1.5em 0 0; + padding-bottom: .2em; + border-bottom: 1px solid $sidebar-border; + @extend .side-shadow-border; + + p { + padding-top: .4em; + } + } + } + ul { + margin-bottom: 0.5em; + } + li { + list-style: none; + padding: .5em 0; + margin: 0; + border-bottom: 1px solid $sidebar-border; + @extend .side-shadow-border; + p:last-child { + margin-bottom: 0; + } + } + a { + color: inherit; + @include transition(color, .5s); + } + &:hover a, &:hover #tweets a { color: $link-color; } + #recent_posts { + time { + text-transform: uppercase; + font-size: .9em; + color: #666; + } + } + @import "twitter"; + @import "pinboard"; + @import "delicious"; +} +.aside-alt-link { + color: #999; + &:hover { + color: #555; + } +} diff --git a/themes/classic/sass/default/partials/_syntax.scss b/themes/classic/sass/default/partials/_syntax.scss new file mode 100644 index 00000000..5797c28f --- /dev/null +++ b/themes/classic/sass/default/partials/_syntax.scss @@ -0,0 +1,167 @@ +$base03: #002b36; //darkest blue +$base02: #073642; //dark blue +$base01: #586e75; //darkest gray +$base00: #657b83; //dark gray +$base0: #839496; //medium gray +$base1: #93a1a1; //medium light gray +$base2: #eee8d5; //cream +$base3: #fdf6e3; //white +$yellow: #b58900; +$orange: #cb4b16; +$red: #dc322f; +$magenta: #d33682; +$violet: #6c71c4; +$blue: #268bd2; +$cyan: #2aa198; +$green: #859900; + +// If you prefer light colors, uncomment the following block to change themes +//$base03: $base3; +//$base02: $base2; +//$base01: $base1; +//$base00: $base0; +//$base0: $base00; +//$base1: $base01; +//$base2: $base02; +//$base3: $base03; + +.gutter { + .line-numbers { + text-align: right; + background: $base02 !important; + border-right: 1px solid darken($base03, 2); + @include box-shadow(lighten($base02, 2) -1px 0 inset); + text-shadow: darken($base02, 10) 0 -1px; + span { color: $base01 !important; } + } +} +html .gist .gist-file { + margin-bottom: 1.5em; + border: none; + .gist-syntax { + border-bottom: 1px solid #515151 !important; + .gist-highlight{ + background: $base03 !important; + pre { + @extend .pre; + overflow-y: hidden; + overflow-x: auto; + } + } + } + .gist-meta { + @include background(linear-gradient(#b0b0b0, #a7a7a7)); + padding: 0.5em; + background-color: #bababa !important; + border: 1px solid #9c9c9c; + border-top: 1px solid #d0d0d0; + border-bottom: 1px solid #777777; + font-size: .7em !important; + font-family: "Helvetica Neue", Arial, sans-serif !important; + color: #464646 !important; + line-height: 1.4em; + } +} +pre { @extend .pre; } + +.pre { + @extend .mono; + font-size: .8em; + line-height: 1.45em; + padding: 1em 1.2em !important; + background: $base03 !important; + color: $base1 !important; + span { color: $base1 !important; } + span { font-style: normal !important; font-weight: normal !important; } + + .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: $red !important; background: none !important; } /* Error */ + .k { color: $orange !important; } /* Keyword */ + .o { color: $base1 !important; font-weight: bold !important; } /* Operator */ + .p { color: $base1 !important; } /* Operator */ + .ow { color: $cyan !important; font-weight: bold !important; } /* Operator.Word */ + .gd { color: $base1 !important; background-color: mix($red, $base03, 25%) !important; display: block; } /* Generic.Deleted */ + .gd .x { color: $base1 !important; background-color: mix($red, $base03, 35%) !important; display: block; } /* Generic.Deleted.Specific */ + .ge { color: $base1 !important; font-style: italic !important; } /* Generic.Emph */ + //.gr { color: #aa0000 } /* Generic.Error */ + .gh { color: $base01 !important; } /* Generic.Heading */ + .gi { color: $base1 !important; background-color: mix($green, $base03, 20%) !important; display: block; } /* Generic.Inserted */ + .gi .x { color: $base1 !important; background-color: mix($green, $base03, 40%) !important; display: block; } /* Generic.Inserted.Specific */ + //.go { color: #888888 } /* Generic.Output */ + //.gp { color: #555555 } /* Generic.Prompt */ + .gs { color: $base1 !important; font-weight: bold !important; } /* Generic.Strong */ + .gu { color: $violet !important; } /* Generic.Subheading */ + //.gt { color: #aa0000 } /* Generic.Traceback */ + .kc { color: $green !important; font-weight: bold !important; } /* Keyword.Constant */ + .kd { color: $blue !important; } /* Keyword.Declaration */ + .kp { color: $orange !important; font-weight: bold !important; } /* Keyword.Pseudo */ + .kr { color: $magenta !important; font-weight: bold !important; } /* Keyword.Reserved */ + .kt { color: $cyan !important; } /* Keyword.Type */ + .n { color: $blue !important; } + .na { color: $blue !important; } /* Name.Attribute */ + .nb { color: $green !important; } /* Name.Builtin */ + //.nc { color: #445588; font-weight: bold } /* Name.Class */ + .no { color: $yellow !important; } /* Name.Constant */ + //.ni { color: #800080 } /* Name.Entity */ + .ne { color: $blue !important; font-weight: bold !important; } /* Name.Exception */ + .nf { color: $blue !important; font-weight: bold !important; } /* Name.Function */ + .nn { color: $yellow !important; } /* Name.Namespace */ + .nt { color: $blue !important; font-weight: bold !important; } /* Name.Tag */ + .nx { color: $yellow !Important; } + //.bp { color: #999999 } /* Name.Builtin.Pseudo */ + //.vc { color: #008080 } /* Name.Variable.Class */ + .vg { color: $blue !important; } /* Name.Variable.Global */ + .vi { color: $blue !important; } /* Name.Variable.Instance */ + .nv { color: $blue !important; } /* Name.Variable */ + //.w { color: #bbbbbb } /* Text.Whitespace */ + .mf { color: $cyan !important; } /* Literal.Number.Float */ + .m { color: $cyan !important; } /* Literal.Number */ + .mh { color: $cyan !important; } /* Literal.Number.Hex */ + .mi { color: $cyan !important; } /* Literal.Number.Integer */ + //.mo { color: #009999 } /* Literal.Number.Oct */ + .s { color: $cyan !important; } /* Literal.String */ + //.sb { color: #d14 } /* Literal.String.Backtick */ + //.sc { color: #d14 } /* Literal.String.Char */ + .sd { color: $cyan !important; } /* Literal.String.Doc */ + .s2 { color: $cyan !important; } /* Literal.String.Double */ + .se { color: $red !important; } /* Literal.String.Escape */ + //.sh { color: #d14 } /* Literal.String.Heredoc */ + .si { color: $blue !important; } /* Literal.String.Interpol */ + //.sx { color: #d14 } /* Literal.String.Other */ + .sr { color: $cyan !important; } /* Literal.String.Regex */ + .s1 { color: $cyan !important; } /* Literal.String.Single */ + //.ss { color: #990073 } /* Literal.String.Symbol */ + //.il { color: #009999 } /* Literal.Number.Integer.Long */ +} + +.highlight { + margin-bottom: 1.5em; + overflow-y: hidden; + .gutter pre { + padding-left: .8em !important; + padding-right: .8em !important; + } +} + +h3.filename { + font-size: 13px; + line-height: 2em; + text-align: center; + text-shadow: #cbcccc 0 1px 0; + color: #474747; + font-style: normal; + margin-bottom: 0; + + @include border-top-radius(5px); + font-family: "Helvetica Neue",Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif; + background: #aaaaaa image-url("code_bg.png") top repeat-x; + border: 1px solid #565656; + border-top-color: #cbcbcb; + border-left-color: #a5a5a5; + border-right-color: #a5a5a5; + border-bottom: 0; +} diff --git a/themes/classic/sass/default/partials/_twitter.scss b/themes/classic/sass/default/partials/_twitter.scss new file mode 100644 index 00000000..de7a6930 --- /dev/null +++ b/themes/classic/sass/default/partials/_twitter.scss @@ -0,0 +1,33 @@ +#tweets { + .loading { + background: inline-image('bird_32_gray.png') no-repeat center .5em; + color: darken($sidebar-bg, 18); + text-shadow: $main-bg 0 1px; + text-align: center; + padding: 2.5em 0 .5em; + &.error { + background: inline-image('bird_32_gray_fail.png') no-repeat center .5em; + } + } + a { color: #666; @include hover-link; } + p { + position: relative; + padding-right: 1em; + } + a[href*='status']{ + color: #aaa; + float: right; + padding: 0 0 .1em 1em; + position: relative; right: -1.3em; + text-shadow: #fff 0 1px; + font-size: .7em; + span { font-size: 1.5em; } + &:hover { + color: #555; + text-decoration: none; + } + } + a[href*='twitter.com/search']{ + @extend .aside-alt-link; + } +} |