mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-24 00:49:28 +00:00
SCSS, Image processing, and reorg of content
This commit is contained in:
23
themes/lhs/assets/sass/elements/container.sass
Normal file
23
themes/lhs/assets/sass/elements/container.sass
Normal file
@@ -0,0 +1,23 @@
|
||||
$container-offset: (2 * $gap) !default
|
||||
|
||||
.container
|
||||
flex-grow: 1
|
||||
margin: 0 auto
|
||||
position: relative
|
||||
width: auto
|
||||
+desktop
|
||||
max-width: $desktop - $container-offset
|
||||
&.is-fluid
|
||||
margin-left: $gap
|
||||
margin-right: $gap
|
||||
max-width: none
|
||||
+until-widescreen
|
||||
&.is-widescreen
|
||||
max-width: $widescreen - $container-offset
|
||||
+until-fullhd
|
||||
&.is-fullhd
|
||||
max-width: $fullhd - $container-offset
|
||||
+widescreen
|
||||
max-width: $widescreen - $container-offset
|
||||
+fullhd
|
||||
max-width: $fullhd - $container-offset
|
||||
Reference in New Issue
Block a user