fix(style): fix title style

This commit is contained in:
Dillon 2020-03-10 20:33:37 +08:00
parent 1e2ac5bc67
commit a4878c3e63
4 changed files with 11 additions and 9 deletions

View file

@ -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 {

View file

@ -27,7 +27,9 @@
}
.single-title {
font-size: 1.6rem;
font-size: 1.4rem;
line-height: 140%;
margin: 0.4rem 0;
}
.content {
@ -90,7 +92,7 @@
}
.post-footer {
margin-top: .5rem;
margin-top: .4rem;
display: flex;
justify-content: space-between;
align-items: center;

View file

@ -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;
@ -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;