diff options
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; +} |