diff options
| author | Ahmed Abdelhalim <[email protected]> | 2024-09-03 15:35:51 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2024-09-03 15:42:54 +0200 |
| commit | 0de8fe808ef8a714a4d1defed21944866068ff59 (patch) | |
| tree | c11e4f86c5d8213e5bd6261cddf23d273a8684d7 /assets/scss/web/_blog.scss | |
| parent | 5718cadcd47ab5f2837b9acdafb6d3d08958e249 (diff) | |
Modification to blog style and date formats
Diffstat (limited to 'assets/scss/web/_blog.scss')
| -rw-r--r-- | assets/scss/web/_blog.scss | 38 |
1 files changed, 34 insertions, 4 deletions
diff --git a/assets/scss/web/_blog.scss b/assets/scss/web/_blog.scss index 89ff691..0b98d8f 100644 --- a/assets/scss/web/_blog.scss +++ b/assets/scss/web/_blog.scss @@ -3,24 +3,54 @@ font-weight: 900; margin-top: 1cm; } -.blog__date { -} .posts { - font-size: 1.2rem; + font-size: 1.1rem; list-style: none; + @media (max-width: 780px) { + font-size: 1rem; + padding-left: 0%; + margin-left: 0%; + } +} + +.post { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .post__link { } +.post__date { + font-weight: bold; + .post__date_short { + display: none; + } + .post__date_long { + display: inline; + } + @media (max-width: 780px) { + .post__date_short { + display: inline; + } + .post__date_long { + display: none; + } + } +} + .post__content { margin-bottom: 2cm; h1, h2, h3, h4, h5, h6 { margin-bottom: 0px; } h1 { - font-size: 2rem; + font-size: 1.6rem; + } + h2 { + font-size: 1.35rem; } blockquote { margin-left: 0; |
