From 20a83cfb4a9f7841944b62c914250d8938274585 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 23 Jan 2020 11:54:12 +0400 Subject: Updated site styles Signed-off-by: Valentin Popov --- _scss/components/_avatar.scss | 9 --------- _scss/components/_core.scss | 38 +------------------------------------- 2 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 _scss/components/_avatar.scss (limited to '_scss/components') diff --git a/_scss/components/_avatar.scss b/_scss/components/_avatar.scss deleted file mode 100644 index e4b133f..0000000 --- a/_scss/components/_avatar.scss +++ /dev/null @@ -1,9 +0,0 @@ -.avatar { - margin: auto; - max-width: 148px; - text-align: center; - - img { - border-radius: 10px; - } -} diff --git a/_scss/components/_core.scss b/_scss/components/_core.scss index f3a28f1..46740ac 100644 --- a/_scss/components/_core.scss +++ b/_scss/components/_core.scss @@ -4,47 +4,11 @@ *::after, *::before { @include text-size-adjust(100%); + box-sizing: border-box; } html { background-color: $color-html; - height: 100%; overflow-y: scroll; } - -body { - display: flex; - flex-direction: row; - min-height: 100%; -} - -.container { - flex: 75%; - padding-right: 16px; -} - -.sidebar { - border-left: 1px solid $color-bg-alt; - flex: 25%; - height: 100%; - padding-left: 16px; -} - -@media (max-width: 684px) { - body { - flex-direction: column; - } - - .container { - flex: 100%; - padding-right: 0; - } - - .sidebar { - border: 0; - display: none; - flex: 100%; - padding-left: 0; - } -} -- cgit v1.2.3 From a4251a91b44c44bb9f3586f206b8dabaf03f3fdd Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 23 Jan 2020 19:55:11 +0400 Subject: Updated the header on the posts page Signed-off-by: Valentin Popov --- _layouts/post.html | 27 ++++++++++++++++----------- _scss/base/_main.scss | 1 - _scss/components/_header.scss | 9 --------- 3 files changed, 16 insertions(+), 21 deletions(-) delete mode 100644 _scss/components/_header.scss (limited to '_scss/components') diff --git a/_layouts/post.html b/_layouts/post.html index 8270973..9e0a766 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,20 +2,25 @@ layout: default --- +{% assign date = page.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %} +{% assign title = site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape %} + + +{% assign date = "" %} +{% assign title = "" %} diff --git a/_scss/base/_main.scss b/_scss/base/_main.scss index 8e9bc80..810b2d4 100644 --- a/_scss/base/_main.scss +++ b/_scss/base/_main.scss @@ -1,2 +1 @@ @import 'components/core'; -@import 'components/header'; diff --git a/_scss/components/_header.scss b/_scss/components/_header.scss deleted file mode 100644 index c5b95b8..0000000 --- a/_scss/components/_header.scss +++ /dev/null @@ -1,9 +0,0 @@ -header { - border-bottom: 1px solid $color-bg-alt; -} - -article { - header { - padding-bottom: 16px; - } -} -- cgit v1.2.3