Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-03-10 15:33:37 +0300
committerDillon <dillonzq@outlook.com>2020-03-10 15:33:37 +0300
commita4878c3e63e40eaec6029e5eecdf1b49c7b0b6ac (patch)
tree7300fd871d3a6770b958b7af2b616a61479db265 /assets
parent1e2ac5bc6791d3ee51f85e0eec723ee55b51ce39 (diff)
fix(style): fix title style
Diffstat (limited to 'assets')
-rw-r--r--assets/css/_page/_single.scss6
-rw-r--r--assets/css/_partial/_home/_summary.scss6
-rw-r--r--assets/css/_variables.scss6
3 files changed, 10 insertions, 8 deletions
diff --git a/assets/css/_page/_single.scss b/assets/css/_page/_single.scss
index 4c0c464..2df951d 100644
--- a/assets/css/_page/_single.scss
+++ b/assets/css/_page/_single.scss
@@ -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 {
diff --git a/assets/css/_partial/_home/_summary.scss b/assets/css/_partial/_home/_summary.scss
index aada46d..7b0e1c4 100644
--- a/assets/css/_partial/_home/_summary.scss
+++ b/assets/css/_partial/_home/_summary.scss
@@ -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;
diff --git a/assets/css/_variables.scss b/assets/css/_variables.scss
index 539facd..f7365ea 100644
--- a/assets/css/_variables.scss
+++ b/assets/css/_variables.scss
@@ -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;