Skip to content

Commit

Permalink
Pisces: Set font weight of expaneded posts title to light
Browse files Browse the repository at this point in the history
  • Loading branch information
iissnan committed May 5, 2016
1 parent 27eb190 commit 6c17f5b
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 70 deletions.
1 change: 1 addition & 0 deletions source/css/_common/components/post/post-title.styl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
font-size: 26px;
text-align: center;
word-break: break-word;
font-weight: $posts-expand-title-font-weight

+mobile() {
font-size: 22px;
Expand Down
9 changes: 8 additions & 1 deletion source/css/_variables/Pisces.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
// Header
// --------------------------------------------------
$subtitle-color = $gray-lighter



// Posts Expand
// --------------------------------------------------
$posts-expand-title-font-weight = $font-weight-light

$subtitle-color = $gray-lighter


// Sidebar
Expand Down
133 changes: 68 additions & 65 deletions source/css/_variables/base.styl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ $line-height-code-block = 1.6 // Can't be less than 1.3

// Z-index master list
// --------------------------------------------------

$zindex-bottom = -1
$zindex-1 = 1010
$zindex-2 = 1020
Expand Down Expand Up @@ -142,28 +141,28 @@ $table-row-hover-bg-color = $whitesmoke

// Code & Code Blocks
// --------------------------------------------------
$code-font-family = $font-family-monospace
$code-font-size = 13px
$code-background = $gainsboro
$code-foreground = $black-light
$code-border-radius = 4px
$code-font-family = $font-family-monospace
$code-font-size = 13px
$code-background = $gainsboro
$code-foreground = $black-light
$code-border-radius = 4px



// Buttons
// --------------------------------------------------

$btn-font-weight = normal
$btn-font-weight = normal

$btn-default-radius = 0
$btn-default-bg = $black-deep
$btn-default-color = white
$btn-default-font-size = 14px
$btn-default-border-width = 2px
$btn-default-border-color = $black-deep
$btn-default-hover-bg = white
$btn-default-hover-color = $black-deep
$btn-default-hover-border-color = $black-deep
$btn-default-radius = 0
$btn-default-bg = $black-deep
$btn-default-color = white
$btn-default-font-size = 14px
$btn-default-border-width = 2px
$btn-default-border-color = $black-deep
$btn-default-hover-bg = white
$btn-default-hover-color = $black-deep
$btn-default-hover-border-color = $black-deep



Expand Down Expand Up @@ -206,79 +205,83 @@ $gap-between-main-and-footer = 100px

// Headband
// --------------------------------------------------
$headband-height = 3px
$headband-bg = $black-deep
$headband-height = 3px
$headband-bg = $black-deep



// Section Header
// Variables for header section elements.
// --------------------------------------------------

$head-bg = white
$head-bg = white

// Site Meta
$site-meta-text-align = center
$brand-color = white
$brand-hover-color = white
$brand-bg = $black-deep
$site-meta-text-align = center
$brand-color = white
$brand-hover-color = white
$brand-bg = $black-deep

$logo-font-size = 20px
$logo-font-size = unit(hexo-config('font.logo.size'), px) if hexo-config('font.logo.size') is a 'unit'
$logo-font-size = 20px
$logo-font-size = unit(hexo-config('font.logo.size'), px) if hexo-config('font.logo.size') is a 'unit'

$site-subtitle-color = $grey-dark
$subtitle-font-size = 13px
$subtitle-color = $grey-dark
$site-subtitle-color = $grey-dark
$subtitle-font-size = 13px
$subtitle-color = $grey-dark

// Menu
$menu-link-border = transparent
$menu-link-hover-border = $black-deep
$menu-link-border = transparent
$menu-link-hover-border = $black-deep



// Posts Expand
// --------------------------------------------------
$posts-expand-title-font-weight = $font-weight-normal


// Posts Collpase
// --------------------------------------------------
$posts-collapse-left = 55px
$posts-collapse-left-mobile = 5px
$posts-collapse-left = 55px
$posts-collapse-left-mobile = 5px

$read-more-color = white
$read-more-font-size = 14px
$read-more-bg-color = $black-deep
$read-more-border-radius = 0
$read-more-color = white
$read-more-font-size = 14px
$read-more-bg-color = $black-deep
$read-more-border-radius = 0




// Sidebar
// Variables for sidebar section elements.
// --------------------------------------------------
$sidebar-nav-color = $black-light
$sidebar-nav-hover-color = $whitesmoke
$sidebar-highlight = $blue-bright

$site-author-image-padding = 2px
$site-author-image-width = 96px
$site-author-image-height = auto
$site-author-image-border-width = 2px
$site-author-image-border-color = $black-dim

$site-author-name-margin = 5px 0 0
$site-author-name-color = $whitesmoke
$site-author-name-align = center
$site-author-name-weight = normal

$site-description-font-size = 14px
$site-description-color = $grey-dark
$site-description-margin-top = 5px
$site-description-align = center

$site-state-align = center
$site-state-item-count-font-size = 18px
$site-state-item-count-color = inherit
$site-state-item-name-font-size = 13px
$site-state-item-name-color = inherit
$site-state-item-border-color = $black-dim
$sidebar-nav-color = $black-light
$sidebar-nav-hover-color = $whitesmoke
$sidebar-highlight = $blue-bright

$site-author-image-padding = 2px
$site-author-image-width = 96px
$site-author-image-height = auto
$site-author-image-border-width = 2px
$site-author-image-border-color = $black-dim

$site-author-name-margin = 5px 0 0
$site-author-name-color = $whitesmoke
$site-author-name-align = center
$site-author-name-weight = normal

$site-description-font-size = 14px
$site-description-color = $grey-dark
$site-description-margin-top = 5px
$site-description-align = center

$site-state-align = center
$site-state-item-count-font-size = 18px
$site-state-item-count-color = inherit
$site-state-item-name-font-size = 13px
$site-state-item-name-color = inherit
$site-state-item-border-color = $black-dim

$toc-link-color = $grey-dark
$toc-link-border-color = $black-light
Expand All @@ -304,7 +307,7 @@ $b2t-bg-color = $black-deep


// .post-expand .post-eof
// In the default (Mist) scheme, margin above and below the post separator
// In Muse scheme, margin above and below the post separator
$post-eof-margin-top = 80px // or 160px for more white space
$post-eof-margin-bottom = 60px // or 120px for less white space

Expand All @@ -314,5 +317,5 @@ $post-eof-margin-bottom = 60px // or 120px for less white space
// --------------------------------------------------

// blockquote-center icon
$center-quote-left = '../images/quote-l.svg'
$center-quote-right = '../images/quote-r.svg'
$center-quote-left = '../images/quote-l.svg'
$center-quote-right = '../images/quote-r.svg'
4 changes: 0 additions & 4 deletions source/css/_variables/default.styl

This file was deleted.

0 comments on commit 6c17f5b

Please sign in to comment.