diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-05-28 14:45:09 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-05-28 14:45:09 +0530 |
commit | a4a83e4b549e858d4f8c821591bfb74706d846e8 (patch) | |
tree | ff6a149e5be2da768f6fec5c9c5145e44d689f6b /src/web/styles/post/posts.scss | |
parent | 8580139fe065036d4946a5fbd27a1334a0d92ab7 (diff) |
Moved the blog to new repositorymain
Diffstat (limited to 'src/web/styles/post/posts.scss')
-rw-r--r-- | src/web/styles/post/posts.scss | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/src/web/styles/post/posts.scss b/src/web/styles/post/posts.scss new file mode 100644 index 0000000..1272d1d --- /dev/null +++ b/src/web/styles/post/posts.scss @@ -0,0 +1,94 @@ +@import "../theme/global"; +@import "../theme/post"; +@import "../partials/article"; +@import "../partials/tags_menu"; + +article { + @include article-styling; + .options { + width: 100%; + display: flex; + flex-wrap: wrap; + justify-content: space-between; + + .limit-options { + a { + color: $defForegroundColor; + } + .active { + color: $defLinkForeground; + font-weight: 600; + } + } + + .paging-options { + width: 16em; + display: flex; + justify-content: space-evenly; + } + } + + #options-footer { + justify-content: center; + } + + .posts { + .post { + padding: 0.5em 0; + font-size: 1.4em; + + .post-title-tags { + .post-title { + font-size: 1em; + color: $posts_postTitleColor; + } + + .post-title:hover { + color: $posts_postHighlightedTitleColor; + } + + .post-tag { + font-size: 0.8em; + color: $posts_postTagForegroundColor; + } + + .post-tag:hover { + color: $defLinkForeground; + } + } + + .post-info { + font-size: 0.8em; + .post-createdat { + color: $posts_postInfoForegroundColor; + } + } + } + } +} + +@media screen and (max-width: 1200px) { + article { + @include article-styling-1200px; + .post { + a { + font-size: 1.2rem; + text-decoration: none; + } + } + } +} + +@media screen and (max-width: 800px) { + article { + $side-margin: 1em; + @include article-styling-800px($side-margin); + } +} + +@media screen and (max-width: 600px) { + article { + $padding: 1em; + @include article-styling-600px($padding); + } +} |