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/partials/_article.scss | |
parent | 8580139fe065036d4946a5fbd27a1334a0d92ab7 (diff) |
Moved the blog to new repositorymain
Diffstat (limited to 'src/web/styles/partials/_article.scss')
-rw-r--r-- | src/web/styles/partials/_article.scss | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/web/styles/partials/_article.scss b/src/web/styles/partials/_article.scss new file mode 100644 index 0000000..341ff94 --- /dev/null +++ b/src/web/styles/partials/_article.scss @@ -0,0 +1,31 @@ +@import "../theme/post"; + +@mixin article-styling { + background-color: $postDefBackgroundColor; + min-width: 1150px; + width: 60%; + max-width: 1920px; + margin: 3em auto; + padding: 1em 2em; + border: 1px dotted $articleBorderColor; +} + +@mixin article-styling-1200px { + margin: 2em auto; + min-width: 780px; + width: 90%; +} + +@mixin article-styling-800px($val) { + min-width: 560px; + width: auto; + margin: calc($val * 1.5) $val; +} + +@mixin article-styling-600px($val) { + min-width: 0; + width: 100%; + margin: 0; + border: none; + padding: $val; +} |