fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor edit
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
2022
/
styles
/
layout
/
_section.scss
diff --git
a/src/wolnelektury/static/2022/styles/layout/_section.scss
b/src/wolnelektury/static/2022/styles/layout/_section.scss
index
ec7193a
..
69c80d8
100644
(file)
--- 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;
.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;
+ }
+ }
}
}
+