Skip to content

Commit 6c17f5b

Browse files
committed
Pisces: Set font weight of expaneded posts title to light
1 parent 27eb190 commit 6c17f5b

File tree

4 files changed

+77
-70
lines changed

4 files changed

+77
-70
lines changed

source/css/_common/components/post/post-title.styl

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
font-size: 26px;
33
text-align: center;
44
word-break: break-word;
5+
font-weight: $posts-expand-title-font-weight
56

67
+mobile() {
78
font-size: 22px;

source/css/_variables/Pisces.styl

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
// Header
2+
// --------------------------------------------------
3+
$subtitle-color = $gray-lighter
4+
5+
6+
7+
// Posts Expand
8+
// --------------------------------------------------
9+
$posts-expand-title-font-weight = $font-weight-light
210

3-
$subtitle-color = $gray-lighter
411

512

613
// Sidebar

source/css/_variables/base.styl

+68-65
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ $line-height-code-block = 1.6 // Can't be less than 1.3
114114

115115
// Z-index master list
116116
// --------------------------------------------------
117-
118117
$zindex-bottom = -1
119118
$zindex-1 = 1010
120119
$zindex-2 = 1020
@@ -142,28 +141,28 @@ $table-row-hover-bg-color = $whitesmoke
142141

143142
// Code & Code Blocks
144143
// --------------------------------------------------
145-
$code-font-family = $font-family-monospace
146-
$code-font-size = 13px
147-
$code-background = $gainsboro
148-
$code-foreground = $black-light
149-
$code-border-radius = 4px
144+
$code-font-family = $font-family-monospace
145+
$code-font-size = 13px
146+
$code-background = $gainsboro
147+
$code-foreground = $black-light
148+
$code-border-radius = 4px
150149

151150

152151

153152
// Buttons
154153
// --------------------------------------------------
155154

156-
$btn-font-weight = normal
155+
$btn-font-weight = normal
157156

158-
$btn-default-radius = 0
159-
$btn-default-bg = $black-deep
160-
$btn-default-color = white
161-
$btn-default-font-size = 14px
162-
$btn-default-border-width = 2px
163-
$btn-default-border-color = $black-deep
164-
$btn-default-hover-bg = white
165-
$btn-default-hover-color = $black-deep
166-
$btn-default-hover-border-color = $black-deep
157+
$btn-default-radius = 0
158+
$btn-default-bg = $black-deep
159+
$btn-default-color = white
160+
$btn-default-font-size = 14px
161+
$btn-default-border-width = 2px
162+
$btn-default-border-color = $black-deep
163+
$btn-default-hover-bg = white
164+
$btn-default-hover-color = $black-deep
165+
$btn-default-hover-border-color = $black-deep
167166

168167

169168

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

207206
// Headband
208207
// --------------------------------------------------
209-
$headband-height = 3px
210-
$headband-bg = $black-deep
208+
$headband-height = 3px
209+
$headband-bg = $black-deep
211210

212211

213212

214213
// Section Header
215214
// Variables for header section elements.
216215
// --------------------------------------------------
217216

218-
$head-bg = white
217+
$head-bg = white
219218

220219
// Site Meta
221-
$site-meta-text-align = center
222-
$brand-color = white
223-
$brand-hover-color = white
224-
$brand-bg = $black-deep
220+
$site-meta-text-align = center
221+
$brand-color = white
222+
$brand-hover-color = white
223+
$brand-bg = $black-deep
225224

226-
$logo-font-size = 20px
227-
$logo-font-size = unit(hexo-config('font.logo.size'), px) if hexo-config('font.logo.size') is a 'unit'
225+
$logo-font-size = 20px
226+
$logo-font-size = unit(hexo-config('font.logo.size'), px) if hexo-config('font.logo.size') is a 'unit'
228227

229-
$site-subtitle-color = $grey-dark
230-
$subtitle-font-size = 13px
231-
$subtitle-color = $grey-dark
228+
$site-subtitle-color = $grey-dark
229+
$subtitle-font-size = 13px
230+
$subtitle-color = $grey-dark
232231

233232
// Menu
234-
$menu-link-border = transparent
235-
$menu-link-hover-border = $black-deep
233+
$menu-link-border = transparent
234+
$menu-link-hover-border = $black-deep
235+
236236

237237

238+
// Posts Expand
239+
// --------------------------------------------------
240+
$posts-expand-title-font-weight = $font-weight-normal
238241

239242

240243
// Posts Collpase
241244
// --------------------------------------------------
242-
$posts-collapse-left = 55px
243-
$posts-collapse-left-mobile = 5px
245+
$posts-collapse-left = 55px
246+
$posts-collapse-left-mobile = 5px
244247

245-
$read-more-color = white
246-
$read-more-font-size = 14px
247-
$read-more-bg-color = $black-deep
248-
$read-more-border-radius = 0
248+
$read-more-color = white
249+
$read-more-font-size = 14px
250+
$read-more-bg-color = $black-deep
251+
$read-more-border-radius = 0
249252

250253

251254

252255

253256
// Sidebar
254257
// Variables for sidebar section elements.
255258
// --------------------------------------------------
256-
$sidebar-nav-color = $black-light
257-
$sidebar-nav-hover-color = $whitesmoke
258-
$sidebar-highlight = $blue-bright
259-
260-
$site-author-image-padding = 2px
261-
$site-author-image-width = 96px
262-
$site-author-image-height = auto
263-
$site-author-image-border-width = 2px
264-
$site-author-image-border-color = $black-dim
265-
266-
$site-author-name-margin = 5px 0 0
267-
$site-author-name-color = $whitesmoke
268-
$site-author-name-align = center
269-
$site-author-name-weight = normal
270-
271-
$site-description-font-size = 14px
272-
$site-description-color = $grey-dark
273-
$site-description-margin-top = 5px
274-
$site-description-align = center
275-
276-
$site-state-align = center
277-
$site-state-item-count-font-size = 18px
278-
$site-state-item-count-color = inherit
279-
$site-state-item-name-font-size = 13px
280-
$site-state-item-name-color = inherit
281-
$site-state-item-border-color = $black-dim
259+
$sidebar-nav-color = $black-light
260+
$sidebar-nav-hover-color = $whitesmoke
261+
$sidebar-highlight = $blue-bright
262+
263+
$site-author-image-padding = 2px
264+
$site-author-image-width = 96px
265+
$site-author-image-height = auto
266+
$site-author-image-border-width = 2px
267+
$site-author-image-border-color = $black-dim
268+
269+
$site-author-name-margin = 5px 0 0
270+
$site-author-name-color = $whitesmoke
271+
$site-author-name-align = center
272+
$site-author-name-weight = normal
273+
274+
$site-description-font-size = 14px
275+
$site-description-color = $grey-dark
276+
$site-description-margin-top = 5px
277+
$site-description-align = center
278+
279+
$site-state-align = center
280+
$site-state-item-count-font-size = 18px
281+
$site-state-item-count-color = inherit
282+
$site-state-item-name-font-size = 13px
283+
$site-state-item-name-color = inherit
284+
$site-state-item-border-color = $black-dim
282285

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

305308

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

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

316319
// blockquote-center icon
317-
$center-quote-left = '../images/quote-l.svg'
318-
$center-quote-right = '../images/quote-r.svg'
320+
$center-quote-left = '../images/quote-l.svg'
321+
$center-quote-right = '../images/quote-r.svg'

source/css/_variables/default.styl

-4
This file was deleted.

0 commit comments

Comments
 (0)