diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-07-11 10:59:50 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-07-11 10:59:50 -0400 |
commit | 66e98b7125c87706782b8247b8e0329473dbeb5a (patch) | |
tree | 4d33c71e5462aa991199159f7fa70c1b3acf355b /styles/_sass/elements/container.sass | |
parent | 52daf90e6206a67414b2de2f7b741b9af2cd959a (diff) | |
download | cobalt-site-66e98b7125c87706782b8247b8e0329473dbeb5a.tar.xz cobalt-site-66e98b7125c87706782b8247b8e0329473dbeb5a.zip |
reorganized assets and CSS, added a post
Diffstat (limited to 'styles/_sass/elements/container.sass')
-rw-r--r-- | styles/_sass/elements/container.sass | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/styles/_sass/elements/container.sass b/styles/_sass/elements/container.sass new file mode 100644 index 0000000..2aaf591 --- /dev/null +++ b/styles/_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) |