Skip to content

Commit

Permalink
fix(style): fix title style
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Mar 10, 2020
1 parent 1e2ac5b commit a4878c3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions assets/css/_page/_single.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/** Single **/
.single {
.single-title {
margin: 0;
font-size: 1.8rem;
line-height: 3rem;
margin: 0.8rem 0;
font-size: 1.6rem;
line-height: 140%;
}

.post-meta {
Expand Down
6 changes: 4 additions & 2 deletions assets/css/_partial/_home/_summary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
}

.single-title {
font-size: 1.6rem;
font-size: 1.4rem;
line-height: 140%;
margin: 0.4rem 0;
}

.content {
Expand Down Expand Up @@ -90,7 +92,7 @@
}

.post-footer {
margin-top: .5rem;
margin-top: .4rem;
display: flex;
justify-content: space-between;
align-items: center;
Expand Down
6 changes: 3 additions & 3 deletions assets/css/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $selection-color-dark: rgba(38, 139, 211, 0.3) !default;
// ========== Header ========== //
// Height of the header
$header-height-desktop: 4rem !default;
$header-height-mobile: 4rem !default;
$header-height-mobile: 3.8rem !default;

// Color of the header background
$header-background-color: #f8f8f8 !default;
Expand All @@ -62,8 +62,8 @@ $header-position-desktop: if($header-normal-mode-desktop, static, fixed) !defaul
$header-position-mobile: if($header-normal-mode-mobile, static, fixed) !default;

// Top of the page padding
$page-padding-top-desktop: if($header-normal-mode-desktop, 1rem, 6rem) !default;
$page-padding-top-mobile: if($header-normal-mode-mobile, 1rem, 6rem) !default;
$page-padding-top-desktop: if($header-normal-mode-desktop, 0, $header-height-desktop) !default;
$page-padding-top-mobile: if($header-normal-mode-mobile, 0, $header-height-mobile) !default;

// Color of the hover header item
$header-hover-color: #161209 !default;
Expand Down

Large diffs are not rendered by default.

0 comments on commit a4878c3

Please sign in to comment.