summaryrefslogtreecommitdiff
path: root/_sass/elements/container.sass
diff options
context:
space:
mode:
author53hornet <53hornet@gmail.com>2019-03-30 18:05:20 -0400
committer53hornet <53hornet@gmail.com>2019-03-30 18:05:20 -0400
commit7f69e616dd181ce6d46d42a7dfde14dfeae7e247 (patch)
tree3324c42ae878b1e68717d56270d81015d7d6de6b /_sass/elements/container.sass
downloadcobalt-site-7f69e616dd181ce6d46d42a7dfde14dfeae7e247.tar.xz
cobalt-site-7f69e616dd181ce6d46d42a7dfde14dfeae7e247.zip
Initial commit.
Diffstat (limited to '_sass/elements/container.sass')
-rw-r--r--_sass/elements/container.sass25
1 files changed, 25 insertions, 0 deletions
diff --git a/_sass/elements/container.sass b/_sass/elements/container.sass
new file mode 100644
index 0000000..2aaf591
--- /dev/null
+++ b/_sass/elements/container.sass
@@ -0,0 +1,25 @@
+.container
+ margin: 0 auto
+ position: relative
+ +desktop
+ max-width: $desktop - (2 * $gap)
+ width: $desktop - (2 * $gap)
+ &.is-fluid
+ margin-left: $gap
+ margin-right: $gap
+ max-width: none
+ width: auto
+ +until-widescreen
+ &.is-widescreen
+ max-width: $widescreen - (2 * $gap)
+ width: auto
+ +until-fullhd
+ &.is-fullhd
+ max-width: $fullhd - (2 * $gap)
+ width: auto
+ +widescreen
+ max-width: $widescreen - (2 * $gap)
+ width: $widescreen - (2 * $gap)
+ +fullhd
+ max-width: $fullhd - (2 * $gap)
+ width: $fullhd - (2 * $gap)