X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eb2eb95bfbfe8c777c4192ea434a0e999edf3a51..41c79d87e68ee700db66327131dbbe7947ed2158:/src/wolnelektury/static/2022/styles/layout/_section.scss?ds=inline

diff --git a/src/wolnelektury/static/2022/styles/layout/_section.scss b/src/wolnelektury/static/2022/styles/layout/_section.scss
index ec7193a71..69c80d899 100644
--- a/src/wolnelektury/static/2022/styles/layout/_section.scss
+++ b/src/wolnelektury/static/2022/styles/layout/_section.scss
@@ -1,5 +1,21 @@
 .l-section {
   display: flex;
+  margin-left: auto;
+  margin-right: auto;
+  justify-content: center;
 
-  & > h2 {}
+  padding-left: 16px;
+  padding-right: 16px;
+
+  &.l-section--col {
+    flex-direction: column;
+  }
+
+  &.l-section--row {
+      flex-direction: column;
+      @include rwd($break-flow) {
+          flex-direction: row;
+      }
+  }
 }
+